From cbb6fbc3d0a48ac31a60e9827aa92dd0a76da677 Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Fri, 3 Feb 2012 17:20:09 +0800 Subject: [PATCH] While I'm at it, clean the spec a bit, and bump --- sil-abyssinica-fonts.spec | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/sil-abyssinica-fonts.spec b/sil-abyssinica-fonts.spec index da5cb9c..2934e25 100644 --- a/sil-abyssinica-fonts.spec +++ b/sil-abyssinica-fonts.spec @@ -1,19 +1,19 @@ -%global fontname sil-abyssinica +%global fontname sil-abyssinica %global archive_name AbyssinicaSIL -%global fontconf 66-%{fontname}.conf +%global fontconf 66-%{fontname}.conf + Name: %{fontname}-fonts Version: 1.200 -Release: 1%{?dist} +Release: 2%{?dist} Summary: SIL Abyssinica fonts -Group: User Interface/X License: OFL URL: http://scripts.sil.org/AbyssinicaSIL # download from http://scripts.sil.org/cms/scripts/render_download.php?site_id=nrsi&format=file&media_id=AbyssinicaSIL1.200.zip&filename=AbyssinicaSIL1.200.zip Source0: %{archive_name}%{version}.zip Source1: %{fontconf} -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + BuildArch: noarch Requires: fontpackages-filesystem @@ -45,8 +45,6 @@ dos2unix FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt documentation/DOCUMENTATION. %install -rm -rf %{buildroot} - #fonts install -d -m 0755 %{buildroot}%{_fontdir} install -m 0644 *.ttf %{buildroot}%{_fontdir} @@ -58,9 +56,6 @@ install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf} ln -s %{_fontconfig_templatedir}/%{fontconf} \ %{buildroot}%{_fontconfig_confdir}/%{fontconf} -%clean -rm -rf %{buildroot} - %_font_pkg -f %{fontconf} *.ttf @@ -69,6 +64,8 @@ rm -rf %{buildroot} %changelog +* Fri Feb 03 2012 Mathieu Bridon - 1.200-2 +- Spec file cleanup, remove stuff that is not needed any more. - Fix build with latest release. * Fri Feb 03 2012 Mathieu Bridon - 1.200-1