Fix build with latest release
This commit is contained in:
parent
8d8b35496f
commit
ba5da488bb
@ -1,4 +1,5 @@
|
|||||||
%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
|
Name: %{fontname}-fonts
|
||||||
@ -10,7 +11,7 @@ Group: User Interface/X
|
|||||||
License: OFL
|
License: OFL
|
||||||
URL: http://scripts.sil.org/AbyssinicaSIL
|
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
|
# 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: AbyssinicaSIL%{version}.zip
|
Source0: %{archive_name}%{version}.zip
|
||||||
Source1: %{fontconf}
|
Source1: %{fontconf}
|
||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -36,11 +37,11 @@ a regular typeface, with no bold or italic version available or planned.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c
|
%setup -q -n %{archive_name}-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
dos2unix FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt
|
dos2unix FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt documentation/DOCUMENTATION.txt
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -64,9 +65,12 @@ rm -rf %{buildroot}
|
|||||||
%_font_pkg -f %{fontconf} *.ttf
|
%_font_pkg -f %{fontconf} *.ttf
|
||||||
|
|
||||||
%doc FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt
|
%doc FONTLOG.txt OFL.txt OFL-FAQ.txt README.txt
|
||||||
|
%doc documentation/*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
- Fix build with latest release.
|
||||||
|
|
||||||
* Fri Feb 03 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 1.200-1
|
* Fri Feb 03 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 1.200-1
|
||||||
- New upstream release.
|
- New upstream release.
|
||||||
- Remove Obsoletes/Provides from package rename.
|
- Remove Obsoletes/Provides from package rename.
|
||||||
|
Loading…
Reference in New Issue
Block a user