Petr Gajdos
e145c2a64f
- packaged License.txt OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-opensans-fonts?expand=0&rev=2
63 lines
1.6 KiB
RPMSpec
63 lines
1.6 KiB
RPMSpec
#
|
|
# 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.
|
|
#
|
|
# 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
|
|
Summary: Humanist Sans Serif Typeface
|
|
|
|
%description
|
|
Open Sans is a humanist sans serif typeface designed by
|
|
Steve Matteson, Type Director of Ascender Corp.
|
|
|
|
This version contains the complete 897 character set, which
|
|
includes the standard ISO Latin 1, Latin CE, Greek and Cyrillic
|
|
character sets. Open Sans was designed with an upright stress,
|
|
open forms and a neutral, yet friendly appearance. It was
|
|
optimized for print, web, and mobile interfaces, and has
|
|
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}
|
|
|
|
%post
|
|
%run_suseconfig_fonts
|
|
|
|
%postun
|
|
%run_suseconfig_fonts
|
|
|
|
%files
|
|
%defattr(-, root,root)
|
|
%dir %{fontdir}/
|
|
%{fontdir}/*
|
|
%doc %{fontname}/License.txt
|
|
|
|
%changelog
|
|
|