While I'm at it, clean the spec a bit, and bump

This commit is contained in:
Mathieu Bridon 2012-02-03 17:20:09 +08:00
parent ba5da488bb
commit cbb6fbc3d0

View File

@ -2,18 +2,18 @@
%global archive_name AbyssinicaSIL
%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 <bochecha@fedoraproject.org> - 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 <bochecha@fedoraproject.org> - 1.200-1