google-noto-fonts/google-noto-fonts.spec.in
Marguerite Su a931008cb4 Accepting request 461022 from home:frispete:fonts
Here's a RFC SR

The changelog isn't complete, but I haven't found a real changelog 
apart from git, and the zip doesn't tell, which git branch/tag/date 
it is generated from... I filed an issue because of this.

I also noticed, that some fonts are gone:

  noto-sans-hans                     20140716-1.4
  noto-sans-hant                     20140716-1.4
  noto-sans-jp                       20140716-1.4
  noto-sans-kr                       20140716-1.4
  noto-sans-pahlavi                  20140716-1.4
  noto-sans-parthian                 20140716-1.4
  noto-sans-sumeroakkadiancuneiform  20140716-1.4

Don't know, if this is to be expected?

The generate-specfile.sh had to be adjusted due to some new fonts.
The serif variable naming/handling is questionable still..

Anyway, here it is:

- update to version 20161025
  - new: Mono Font
  - new: Naskh Arabic Font
  - new: Bengali Sans Serif Font
  - new: Devanagari Sans Serif Font
  - new: Gujarati Sans Serif Font
  - new: Gurmukhi Sans Serif Font
  - new: Kannada Sans Serif Font
  - new: Khmer Sans Serif Font
  - new: Lao Sans Serif Font
  - new: Malayalam Sans Serif Font
  - new: Myanmar Sans Serif Font
  - new: Oriya Sans Serif Font
  - new: Tamil Sans Serif Font
  - new: Telugu Sans Serif Font
  - new: Thai Sans Serif Font
  - new: Sans UI Font
  - new: Bengali Font
  - new: Devanagari Font
  - new: Gujarati Font
  - new: Kannada Font
  - new: Malayalam Font
  - new: Tamil Font
  - new: Telugu Font
- fix generate-specfile.sh:
  - handle UI fonts, that do not start with Sans ot Serif
  - fix description of fonts, that do not start with Sans ot Serif
  - flag sans fonts only, that really deserve it

OBS-URL: https://build.opensuse.org/request/show/461022
OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/google-noto-fonts?expand=0&rev=30
2017-03-02 01:35:55 +00:00

77 lines
2.2 KiB
RPMSpec

#
# spec file for package google-noto-fonts
#
# Copyright (c) 2016 SUSE LINUX 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 2016
%define hmonth 10
%define hday 25
%define src_name NotoFonts
# DO NOT EDIT THIS SPECFILE DIRECTLY, edit google-noto-fonts.spec.in and run generate-specfile.sh scriptZZ
Name: google-noto-fonts
Version: %{hyear}%{hmonth}%{hday}
Release: 0
Summary: Noto Font Families
License: OFL-1.1
Group: System/X11/Fonts
Url: https://github.com/googlei18n/noto-fonts
Source0: https://noto-website-2.storage.googleapis.com/pkgs/Noto-hinted.zip
Source1: https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJK.ttc.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.
%package doc
Summary: Noto Font Families License
Group: Documentation/Other
%description doc
License for Google's Noto fonts.
@SUBPACKAGE_HEADERS@
%prep
%setup -q -c -n %{name}-%{version}
rm -f *Draft.*tf
# use otc file for CJK
rm -f NotoSans*CJK*.otf
unzip -o %{S:1}
%build
%install
mkdir -p %{buildroot}%{_ttfontsdir}
cp *.ttf %{buildroot}%{_ttfontsdir}/
cp *.ttc %{buildroot}%{_ttfontsdir}/
@SUBPACKAGE_SCRIPTLETS@
%files doc
%defattr(0644,root,root,755)
%doc LICENSE*.txt
@SUBPACKAGE_FILELISTS@
%changelog