commit 3c3aad928efe6634a8003d9fbbf9a853eeb8faa9 Author: tigro Date: Mon Jun 26 10:38:40 2023 +0300 import changed/i9/passion-one-fonts-1.001-1.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..97aecb7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/passion-one.zip diff --git a/.passion-one-fonts.metadata b/.passion-one-fonts.metadata new file mode 100644 index 0000000..2b15cb1 --- /dev/null +++ b/.passion-one-fonts.metadata @@ -0,0 +1 @@ +134cb7bf819a3ae04e4c50d6801754cacf34f3dd SOURCES/passion-one.zip diff --git a/SOURCES/passion-one-fontconfig.conf b/SOURCES/passion-one-fontconfig.conf new file mode 100644 index 0000000..f411f2f --- /dev/null +++ b/SOURCES/passion-one-fontconfig.conf @@ -0,0 +1,12 @@ + + + + + + Passion One + + fantasy + + + + diff --git a/SPECS/passion-one-fonts.spec b/SPECS/passion-one-fonts.spec new file mode 100644 index 0000000..a467272 --- /dev/null +++ b/SPECS/passion-one-fonts.spec @@ -0,0 +1,48 @@ +%global fontname passion-one +%global fontconf 61-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 1.001 +Release: 1%{?dist} +Summary: Passion One is a set of 3 display fonts aimed to composing titles in big sizes. + +Group: User Interface/X +License: OFL +URL: https://fonts.google.com/specimen/Passion+One +Source0: https://www.fontsquirrel.com/fonts/download/passion-one.zip +Source1: %{fontname}-fontconfig.conf + +BuildArch: noarch +BuildRequires: fontpackages-devel +Requires: fontpackages-filesystem + +%description +Passion One is a set of 3 display fonts aimed to composing titles in +big sizes. Its counterforms decrease as the passion increases! Please +use them only for your most passionate thoughts and ideas. + +%prep +%setup -q -c + +%build + +%install +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p *.otf %{buildroot}%{_fontdir} + +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} + +install -m 0644 -p %{SOURCE1} \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf} +ln -s %{_fontconfig_templatedir}/%{fontconf} \ + %{buildroot}%{_fontconfig_confdir}/%{fontconf} + +mv "SIL Open Font License.txt" LICENSE + +%_font_pkg -f %{fontconf} *.otf +%license LICENSE + +%changelog +* Thu Apr 12 2018 Dawid Zych - 1.001-1 +- Initial packaging.