Accepting request 133955 from M17N:fonts

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/133955
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/google-merriweather-fonts?expand=0&rev=4
This commit is contained in:
Ismail Dönmez 2012-09-15 09:52:42 +00:00 committed by Git OBS Bridge
commit 355f0f1113
2 changed files with 18 additions and 7 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 Thu May 17 09:10:12 UTC 2012 - pgajdos@suse.com

View File

@ -16,18 +16,19 @@
# #
%define fontdir %{_datadir}/fonts/truetype
%define fontname merriweather %define fontname merriweather
Name: google-merriweather-fonts Name: google-merriweather-fonts
Version: 1.3 Version: 1.3
Release: 0 Release: 0
License: OFL-1.1
Summary: Readable Text Serif Font for Screen Summary: Readable Text Serif Font for Screen
Url: http://www.google.com/webfonts/specimen/Merriweather License: OFL-1.1
Group: System/X11/Fonts Group: System/X11/Fonts
Url: http://www.google.com/webfonts/specimen/Merriweather
Source0: %{fontname}-%{version}.tar.bz2 Source0: %{fontname}-%{version}.tar.bz2
Source1: OFL.txt Source1: OFL.txt
BuildRequires: fontpackages-devel
%reconfigure_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch BuildArch: noarch
@ -49,6 +50,8 @@ and even fund specific features if if they are outside of the current scope of w
For more information and to stay updated see Eben Sorkin's blog and Flickr stream and For more information and to stay updated see Eben Sorkin's blog and Flickr stream and
the Merriweather Twitter microblog. the Merriweather Twitter microblog.
Designer: Eben Sorkin
%prep %prep
%setup -n %{fontname}-%{version} %setup -n %{fontname}-%{version}
@ -56,14 +59,16 @@ the Merriweather Twitter microblog.
cp %{SOURCE1} . cp %{SOURCE1} .
%install %install
mkdir -p %{buildroot}%{fontdir} mkdir -p %{buildroot}%{_ttfontsdir}
cp *.ttf %{buildroot}%{fontdir} cp *.ttf %{buildroot}%{_ttfontsdir}
%reconfigure_fonts_scriptlets
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%doc METADATA FONTLOG.txt %doc METADATA FONTLOG.txt
%dir %{fontdir} %dir %{_ttfontsdir}
%{fontdir}/*.ttf %{_ttfontsdir}/*.ttf
%doc OFL.txt %doc OFL.txt
%changelog %changelog