Blame SPECS/pt-sans-fonts.spec

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