Blame SPECS/pt-sans-fonts.spec

5c2882
# SPDX-License-Identifier: MIT
5c2882
Version: 20141121
5c2882
Release: 23%{?dist}
5c2882
# https://company.paratype.com/pt-sans-pt-serif
5c2882
URL:     http://www.paratype.com/public/
5c2882
5c2882
%global foundry           PT
5c2882
%global fontlicense       OFL
5c2882
%global fontlicenses      PTSSM_OFL.txt
5c2882
5c2882
%global fontfamily        PT Sans
5c2882
%global fontsummary       PT Sans, a grotesque pan-Cyrillic font family
5c2882
%global fontpkgheader     %{expand:
5c2882
Obsoletes: paratype-pt-sans-fonts         <= %{version}-%{release}
5c2882
Obsoletes: paratype-pt-sans-caption-fonts <= %{version}-%{release}
5c2882
}
5c2882
%global fonts             PTS*.ttf PTN*.ttf PTC*.ttf
5c2882
%global fontconfngs       %{SOURCE10}
5c2882
%global fontdescription   %{expand:
5c2882
The PT Sans family was developed as part of the “Public Types of Russian
5c2882
Federation” project. This project aims at enabling the peoples of Russia to
5c2882
read and write their native languages, using free/libre fonts. It is
5c2882
dedicated to the 300-year anniversary of the Russian civil type invented by
5c2882
Peter the Great from 1708 to 1710, and was realized with financial support
5c2882
from the Russian Federal Agency for Press and Mass Communications.
5c2882
5c2882
The fonts include support for all 54 ethnic languages of the Russian
5c2882
Federation as well as more common Western, Central European and Cyrillic
5c2882
blocks making them unique and a very important tool for modern digital
5c2882
communications.
5c2882
5c2882
PT Sans is a grotesque font family based on Russian type designs of the second
5c2882
part of the 20th century. However, it also includes very distinctive features
5c2882
of modern humanistic design, fulfilling present day aesthetic and functional
5c2882
requirements.
5c2882
5c2882
It was designed by Alexandra Korolkova, Olga Umpeleva and Vladimir Yefimov
5c2882
and released by ParaType.}
5c2882
5c2882
# This is now dead and ParaType still publishes an older version on its website
5c2882
Source0:  http://www.fontstock.com/public/PTSansOFL.zip
5c2882
Source10: 58-%{fontpkgname}.xml
5c2882
Source20: http://rus.paratype.ru/system/attachments/647/original/ptsans55reg.pdf
5c2882
Source21: http://rus.paratype.ru/system/attachments/650/original/ptsans75bold.pdf
5c2882
Source22: http://rus.paratype.ru/system/attachments/648/original/ptsans56it.pdf
5c2882
Source23: http://rus.paratype.ru/system/attachments/651/original/ptsans76bit.pdf
5c2882
Source24: http://rus.paratype.ru/system/attachments/652/original/ptsanscaption55.pdf
5c2882
Source25: http://rus.paratype.ru/system/attachments/653/original/ptsanscaption57bold.pdf
5c2882
Source26: http://rus.paratype.ru/system/attachments/649/original/ptsans57narrow.pdf
5c2882
Source27: http://rus.paratype.ru/system/attachments/655/original/ptsans77narrowbold.pdf
5c2882
5c2882
%fontpkg
5c2882
5c2882
%package doc
5c2882
Summary:   Optional documentation files of %{source_name}
5c2882
BuildArch: noarch
5c2882
%description doc
5c2882
This package provides optional documentation files shipped with
5c2882
%{source_name}.
5c2882
5c2882
%package -n compat-paratype-pt-sans-fonts-f33-f34
5c2882
Summary: Fedora-33 & 34 compatibility package
5c2882
Provides: paratype-pt-sans-fonts = %{version}-%{release}
5c2882
Provides: paratype-pt-sans-caption-fonts = %{version}-%{release}
5c2882
Requires: font(ptsans) = %{version}-%{release}
5c2882
%description -n compat-paratype-pt-sans-fonts-f33-f34
5c2882
Fedora-33 & 34 compatibility package.
5c2882
5c2882
%files -n compat-paratype-pt-sans-fonts-f33-f34
5c2882
5c2882
%prep
5c2882
%setup -q -c
5c2882
%linuxtext *.txt
5c2882
install -m 0644 -vp %{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} \
5c2882
                    %{SOURCE24} %{SOURCE25} %{SOURCE26} %{SOURCE27} .
5c2882
5c2882
%build
5c2882
%fontbuild
5c2882
5c2882
%install
5c2882
%fontinstall
5c2882
5c2882
%check
5c2882
%fontcheck
5c2882
5c2882
%fontfiles
5c2882
5c2882
%files doc
5c2882
%defattr(644, root, root, 0755)
5c2882
%license PTSSM_OFL.txt
5c2882
%doc *.pdf
5c2882
5c2882
%changelog
5c2882
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com>
5c2882
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
5c2882
  Related: rhbz#1991688
5c2882
5c2882
* Sat May 22 2021 Parag Nemade <pnemade AT redhat DOT com> - 20141121-22
5c2882
- Resolves:rhbz#1962000 - Add missing gating tests
5c2882
5c2882
* Sat May 22 2021 Parag Nemade <pnemade AT redhat DOT com> - 20141121-21
5c2882
- Resolves:rhbz#1962000 - Add gating tests from rhel-8
5c2882
5c2882
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com>
5c2882
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
5c2882
5c2882
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 20141121-19
5c2882
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
5c2882
5c2882
* Fri Sep 11 2020 Parag Nemade <pnemade AT redhat DOT com>
5c2882
- 20141121-18
5c2882
- Fix this spec file to build for F33+
5c2882
5c2882
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org>
5c2882
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
5c2882
5c2882
* Mon Apr 27 2020 Nicolas Mailhot <nim@fedoraproject.org>
5c2882
- 20141121-16
5c2882
🐞 Workaround Fedora problems created by rpm commit 93604e2
5c2882
5c2882
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
5c2882
- 20141121-15
5c2882
💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are
5c2882
  valid
5c2882
5c2882
* Thu Apr 02 2020 Nicolas Mailhot <nim@fedoraproject.org>
5c2882
- 20141121-14
5c2882
👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid
5c2882
5c2882
* Thu Mar 26 2020 Nicolas Mailhot <nim@fedoraproject.org>
5c2882
- 20141121-13
5c2882
✅ Add compatibility packages
5c2882
5c2882
* Sat Feb 22 2020 Nicolas Mailhot <nim@fedoraproject.org>
5c2882
- 20141121-12
5c2882
✅ Rebuild with fonts-rpm-macros 2.0.2
5c2882
5c2882
* Sat Feb 15 2020 Nicolas Mailhot <nim@fedoraproject.org>
5c2882
- 20141121-11
5c2882
✅ Convert to fonts-rpm-macros use
5c2882
✅ Include caption in sans: it's an optical sizing variant
5c2882
✅ PT is the foundry identifier; drop it
5c2882
5c2882
* Sun Jan 17 2010 Nicolas Mailhot <nim@fedoraproject.org>
5c2882
- 20100112-1
5c2882
✅ Initial packaging