- amend spec file to reflect new font packaging scheme
(see openFATE#313536); OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-merriweather-fonts?expand=0&rev=9
This commit is contained in:
parent
72898c397a
commit
ea1d3ddc08
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 4 12:39:06 CEST 2012 - pgajdos@suse.cz
|
||||
|
||||
- amend spec file to reflect new font packaging scheme
|
||||
(see openFATE#313536);
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 17 09:10:12 UTC 2012 - pgajdos@suse.com
|
||||
|
||||
|
@ -16,7 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%define fontdir %{_datadir}/fonts/truetype
|
||||
%define fontname merriweather
|
||||
|
||||
Name: google-merriweather-fonts
|
||||
@ -28,6 +27,8 @@ Group: System/X11/Fonts
|
||||
Url: http://www.google.com/webfonts/specimen/Merriweather
|
||||
Source0: %{fontname}-%{version}.tar.bz2
|
||||
Source1: OFL.txt
|
||||
BuildRequires: fontpackages-devel
|
||||
%reconfigure_fonts_prereq
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
@ -58,14 +59,16 @@ Designer: Eben Sorkin
|
||||
cp %{SOURCE1} .
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{fontdir}
|
||||
cp *.ttf %{buildroot}%{fontdir}
|
||||
mkdir -p %{buildroot}%{_ttfontsdir}
|
||||
cp *.ttf %{buildroot}%{_ttfontsdir}
|
||||
|
||||
%reconfigure_fonts_scriptlets
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc METADATA FONTLOG.txt
|
||||
%dir %{fontdir}
|
||||
%{fontdir}/*.ttf
|
||||
%dir %{_ttfontsdir}
|
||||
%{_ttfontsdir}/*.ttf
|
||||
%doc OFL.txt
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user