Petr Gajdos 2012-05-17 09:22:00 +00:00 committed by Git OBS Bridge
parent 60e878c48b
commit cfa98832c4
2 changed files with 28 additions and 17 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu May 17 09:10:13 UTC 2012 - pgajdos@suse.com
- call spec-cleaner
-------------------------------------------------------------------
Thu Apr 19 12:32:50 UTC 2012 - pgajdos@suse.com

View File

@ -2,27 +2,35 @@
# spec file for package google-opensans-fonts
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define fontdir %{_datadir}/fonts/truetype
%define fontname opensans
Name: google-opensans-fonts
BuildRequires: bzip2
License: Apache-2.0
Group: System/X11/Fonts
PreReq: %suseconfig_fonts_prereq
Version: 1.0
Release: 0
URL: http://code.google.com/webfonts/family?family=Open+Sans
Source0: %{fontname}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
License: Apache-2.0
Summary: Humanist Sans Serif Typeface
Url: http://code.google.com/webfonts/family?family=Open+Sans
Group: System/X11/Fonts
Source0: %{fontname}.tar.bz2
BuildRequires: bzip2
Requires(pre): %suseconfig_fonts_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Open Sans is a humanist sans serif typeface designed by
@ -38,13 +46,12 @@ excellent legibility characteristics in its letterforms.
%prep
%setup -q -n %{fontname} -c %{fontname}
%build
# -- nothing to do --
%install
mkdir -p $RPM_BUILD_ROOT%{fontdir}/
install -m 0644 %{fontname}/*.ttf $RPM_BUILD_ROOT%{fontdir}
mkdir -p %{buildroot}%{fontdir}/
install -m 0644 %{fontname}/*.ttf %{buildroot}%{fontdir}
%post
%run_suseconfig_fonts
@ -59,4 +66,3 @@ install -m 0644 %{fontname}/*.ttf $RPM_BUILD_ROOT%{fontdir}
%doc %{fontname}/LICENSE.txt
%changelog