Petr Gajdos
b7a22e1193
upstream update. some fonts seems to be removed. please check it. OBS-URL: https://build.opensuse.org/request/show/247060 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-noto-fonts?expand=0&rev=6
64 lines
1.8 KiB
RPMSpec
64 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package google-noto-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 hyear 2014
|
|
%define hmonth 07
|
|
%define hday 16
|
|
%define src_name NotoFonts
|
|
|
|
Name: google-noto-fonts
|
|
Version: %{hyear}%{hmonth}%{hday}
|
|
Release: 0
|
|
Summary: Noto Font Families
|
|
License: Apache-2.0
|
|
Group: System/X11/Fonts
|
|
Url: https://code.google.com/p/noto/
|
|
Source0: http://www.google.com/get/noto/pkgs/Noto-hinted.zip
|
|
Source2: generate-specfile.sh
|
|
BuildRequires: fontpackages-devel
|
|
BuildRequires: unzip
|
|
%reconfigure_fonts_prereq
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Noto's design goal is to achieve visual harmonization (e.g., compatible heights and stroke
|
|
thicknesses) across languages.
|
|
|
|
@SUBPACKAGE_HEADERS@
|
|
|
|
%prep
|
|
%setup -q -c -n %{name}-%{version}
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_ttfontsdir}
|
|
cp *.ttf %{buildroot}%{_ttfontsdir}/
|
|
cp *.otf %{buildroot}%{_ttfontsdir}/
|
|
|
|
@SUBPACKAGE_SCRIPTLETS@
|
|
|
|
%files
|
|
%defattr(0644,root,root,755)
|
|
%doc LICENSE
|
|
%dir %{_ttfontsdir}
|
|
|
|
@SUBPACKAGE_FILELISTS@
|
|
|
|
%changelog
|