Petr Gajdos
a4a3cea4ef
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-noto-fonts?expand=0&rev=1
66 lines
1.9 KiB
RPMSpec
66 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package google-cousine-fonts
|
|
#
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 fontname cousine
|
|
|
|
Name: google-cousine-fonts
|
|
Version: 1.0
|
|
Release: 0
|
|
Summary: Monospace Font, Metrically Compatible with Courier New
|
|
License: OFL-1.1
|
|
Group: System/X11/Fonts
|
|
Url: http://code.google.com/webfonts/family?family=Cousine
|
|
Source0: %{fontname}.zip
|
|
BuildRequires: fontpackages-devel
|
|
BuildRequires: unzip
|
|
%reconfigure_fonts_prereq
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Cousine was designed by Steve Matteson as an innovative, refreshing sans serif
|
|
design that is metrically compatible with Courier New. Cousine offers improved
|
|
on-screen readability characteristics and the pan-European WGL character set
|
|
and solves the needs of developers looking for width-compatible fonts to
|
|
address document portability across platforms.
|
|
|
|
Designer: Steve Matteson
|
|
|
|
%prep
|
|
%setup -T -c %{name} -n %{name}
|
|
unzip %{SOURCE0}
|
|
|
|
|
|
%build
|
|
# -- nothing to do --
|
|
mv "SIL Open Font License 1.1.txt" OFL.txt
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_ttfontsdir}
|
|
cp *.ttf %{buildroot}%{_ttfontsdir}/
|
|
|
|
%reconfigure_fonts_scriptlets
|
|
|
|
%files
|
|
%defattr(0644,root,root,755)
|
|
#%doc OFL.txt
|
|
%dir %{_ttfontsdir}
|
|
%{_ttfontsdir}/*.ttf
|
|
|
|
%changelog
|