From fe8e46ae19b20bc7204313507fa2defa86d09a8d Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Wed, 14 Oct 2020 16:35:15 -0700 Subject: [PATCH] RHEL 9.0.0 Alpha bootstrap The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/pt-sans-fonts#c614883e183e9af316d07cb185cb89ad75c334e1 --- .gitignore | 9 +++ 58-pt-sans-fonts.xml | 27 +++++++++ README.md | 3 + pt-sans-fonts.spec | 130 +++++++++++++++++++++++++++++++++++++++++++ sources | 9 +++ 5 files changed, 178 insertions(+) create mode 100644 58-pt-sans-fonts.xml create mode 100644 README.md create mode 100644 pt-sans-fonts.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..d5d2af2 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,9 @@ +/PTSansOFL.zip +/ptsans55reg.pdf +/ptsans56it.pdf +/ptsans57narrow.pdf +/ptsans75bold.pdf +/ptsans76bit.pdf +/ptsans77narrowbold.pdf +/ptsanscaption55.pdf +/ptsanscaption57bold.pdf diff --git a/58-pt-sans-fonts.xml b/58-pt-sans-fonts.xml new file mode 100644 index 0000000..8782d02 --- /dev/null +++ b/58-pt-sans-fonts.xml @@ -0,0 +1,27 @@ + + + + + + PT Sans + + optical size + + Regular + + PT Sans Narrow + Condensed + + + + Caption + 8 + + + + Myriad Pro + sans-serif + + + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..b68ffc4 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# pt-sans-fonts + +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. \ No newline at end of file diff --git a/pt-sans-fonts.spec b/pt-sans-fonts.spec new file mode 100644 index 0000000..c48a59e --- /dev/null +++ b/pt-sans-fonts.spec @@ -0,0 +1,130 @@ +# SPDX-License-Identifier: MIT +Version: 20141121 +Release: 18%{?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 +* Fri Sep 11 2020 Parag Nemade +- 20141121-18 +- Fix this spec file to build for F33+ + +* Tue Jul 28 2020 Fedora Release Engineering +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Apr 27 2020 Nicolas Mailhot +- 20141121-16 +🐞 Workaround Fedora problems created by rpm commit 93604e2 + +* Thu Apr 02 2020 Nicolas Mailhot +- 20141121-15 +💥 Actually rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are + valid + +* Thu Apr 02 2020 Nicolas Mailhot +- 20141121-14 +👻 Rebuild with fonts-rpm-macros 2.0.4 to make sure fontconfig files are valid + +* Thu Mar 26 2020 Nicolas Mailhot +- 20141121-13 +✅ Add compatibility packages + +* Sat Feb 22 2020 Nicolas Mailhot +- 20141121-12 +✅ Rebuild with fonts-rpm-macros 2.0.2 + +* Sat Feb 15 2020 Nicolas Mailhot +- 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 +- 20100112-1 +✅ Initial packaging diff --git a/sources b/sources new file mode 100644 index 0000000..ee495af --- /dev/null +++ b/sources @@ -0,0 +1,9 @@ +SHA512 (PTSansOFL.zip) = 6cd6fe48fbc4dbebfd2b094f0f46473608c82bd8007d2306c1b84826e3448e61ea8cf475e850beb98f87814e4d3d6c14cd44d9c1ee053a5c52755518d07c359c +SHA512 (ptsans55reg.pdf) = f7d6f0efad99477448eafdbb014813fd81dd278ec39a34ef1683789357e2681d91856052cb2f0f42efe26d2b8e22fb5ba6cade56c2a33c953107240356cb882f +SHA512 (ptsans56it.pdf) = 8c73831ccc1ce0c2b86818022ea332c1c987c6f126b3ea992276deb1a008e3f46318bf7a9aca6735da2c1893abef6d77b47e428c6b05bf5a30dc7ad52f75a68d +SHA512 (ptsans57narrow.pdf) = 9b6ee224a5013e5a406cba16a04cf02c4f8452789b1ee749f17aea08b3820e1d53a989bd29c16b04335351b13ddcc7f9241f234e5eefbaa119255189157661da +SHA512 (ptsans75bold.pdf) = 911b93a1bddcefb5d3bc64c878c6c9837589912b08f6fc9e4f6109fa62d1a3aaac67081a8bf7cbb927998d4d191f47880067e7181479b321a4c4378c099c0023 +SHA512 (ptsans76bit.pdf) = 48491d180c36bce8aed85112e36101848b6619940dfb8037ea7ed3fd13e4419c335c2ef98d855a6f9832c4429ffb4990905c1643caec9175a1eaf83dd7f9c3e8 +SHA512 (ptsans77narrowbold.pdf) = 5317616563a8a6ecfcd4e1f10c14c7f55ff2ca55010260dd93c44edd53cb28730e3ed09afe2e2e5b322977ae30fa42350b4045d5c649c1dd6df48ec0047da403 +SHA512 (ptsanscaption55.pdf) = 1bb5ba6eb0849b3df529d4ff89ab810ef23700e165003a871d48264955a51d5385e7c2a34b737bc0a03d53e19be2f53e2d838bd9ea1c2dd2f7840a9109106131 +SHA512 (ptsanscaption57bold.pdf) = a7451e938a2267465a9c071caccd282b3f628526c854546e27c0c0a1be69b69ad05877125c20fa9e9b9156c78e6556053b8a232c64edb218eb7654e605835f14