- 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:
Petr Gajdos 2012-07-10 15:16:12 +00:00 committed by Git OBS Bridge
parent 72898c397a
commit ea1d3ddc08
2 changed files with 14 additions and 5 deletions

View File

@ -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

View File

@ -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