import pt-sans-fonts-20141121-23.el9

This commit is contained in:
CentOS Sources 2021-11-03 17:09:16 -04:00 committed by Stepan Oksanichenko
commit 53e1d15cde
4 changed files with 191 additions and 0 deletions

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
SOURCES/PTSansOFL.zip
SOURCES/ptsans55reg.pdf
SOURCES/ptsans56it.pdf
SOURCES/ptsans57narrow.pdf
SOURCES/ptsans75bold.pdf
SOURCES/ptsans76bit.pdf
SOURCES/ptsans77narrowbold.pdf
SOURCES/ptsanscaption55.pdf
SOURCES/ptsanscaption57bold.pdf

9
.pt-sans-fonts.metadata Normal file
View File

@ -0,0 +1,9 @@
9c1bb3aec939fa776c218fa5c80aa948e4e8d023 SOURCES/PTSansOFL.zip
92f125a431c80ea84cf2fa2c9d84926e9ea516fa SOURCES/ptsans55reg.pdf
bc63c67082cefd4fa436b51d70a13bdaae60229d SOURCES/ptsans56it.pdf
f3c11f80f9daff86e4f51d26bf3de53b34892cc4 SOURCES/ptsans57narrow.pdf
ea2704b65cf20f41ac27a88109bbaa2b33d846cc SOURCES/ptsans75bold.pdf
fe86a11a589fe15f175609243f129d7960915230 SOURCES/ptsans76bit.pdf
2c6ba87c5ef4e2c9c58c90fa02aaa4ec0a4f10ee SOURCES/ptsans77narrowbold.pdf
b6abfa1521e22fb2a2d38beedf708a0a35b08e8d SOURCES/ptsanscaption55.pdf
5673dba06618b6d3181f17c1d95af0453a886ccc SOURCES/ptsanscaption57bold.pdf

View File

@ -0,0 +1,27 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- SPDX-License-Identifier: MIT -->
<fontconfig>
<group>
<target>PT Sans</target>
<axis>
<name>optical size</name>
<step>
<name>Regular</name>
<match>
<family>PT Sans Narrow</family>
<prepend-keyword>Condensed</prepend-keyword>
</match>
</step>
<step>
<name>Caption</name>
<value>8</value>
</step>
</axis>
<like>
<family>Myriad Pro</family>
<family>sans-serif</family>
</like>
</group>
</fontconfig>

146
SPECS/pt-sans-fonts.spec Normal file
View File

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