From af1bdc87615b6be93c6ced212a1ee4d3854a2dcc Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Wed, 8 May 2024 01:23:33 +0300 Subject: [PATCH] import mozilla-fira-fonts-4.202-19.el9 --- .gitignore | 1 + .mozilla-fira-fonts.metadata | 1 + SOURCES/mozilla-fira-mono.conf | 16 +++ SOURCES/mozilla-fira-sans.conf | 16 +++ SPECS/mozilla-fira-fonts.spec | 173 +++++++++++++++++++++++++++++++++ 5 files changed, 207 insertions(+) create mode 100644 .gitignore create mode 100644 .mozilla-fira-fonts.metadata create mode 100644 SOURCES/mozilla-fira-mono.conf create mode 100644 SOURCES/mozilla-fira-sans.conf create mode 100644 SPECS/mozilla-fira-fonts.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d4eb507 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/4.202.tar.gz diff --git a/.mozilla-fira-fonts.metadata b/.mozilla-fira-fonts.metadata new file mode 100644 index 0000000..71a23c0 --- /dev/null +++ b/.mozilla-fira-fonts.metadata @@ -0,0 +1 @@ +f2dda180b58f669c7b2f6c5df207871c40bcb278 SOURCES/4.202.tar.gz diff --git a/SOURCES/mozilla-fira-mono.conf b/SOURCES/mozilla-fira-mono.conf new file mode 100644 index 0000000..92bb213 --- /dev/null +++ b/SOURCES/mozilla-fira-mono.conf @@ -0,0 +1,16 @@ + + + + + Fira + + monospace + + + + monospace + + Fira + + + diff --git a/SOURCES/mozilla-fira-sans.conf b/SOURCES/mozilla-fira-sans.conf new file mode 100644 index 0000000..ac7a83b --- /dev/null +++ b/SOURCES/mozilla-fira-sans.conf @@ -0,0 +1,16 @@ + + + + + Fira + + sans-serif + + + + sans-serif + + Fira + + + diff --git a/SPECS/mozilla-fira-fonts.spec b/SPECS/mozilla-fira-fonts.spec new file mode 100644 index 0000000..464057a --- /dev/null +++ b/SPECS/mozilla-fira-fonts.spec @@ -0,0 +1,173 @@ +%global fontname mozilla-fira +%global fontconf 60-%{fontname} +%global archivename fira + +# Common description +%global common_desc \ +Originally designed to integrate with the character of Firefox OS, Fira is a \ +new set of sans-serif fonts which focuses on legibility. + +Name: %{fontname}-fonts +Version: 4.202 +Release: 19%{?dist} +Summary: Mozilla's Fira fonts +License: OFL-1.1 +URL: https://www.mozilla.org/en-US/styleguide/products/firefox-os/typeface/ +Source0: https://github.com/mozilla/Fira/archive/%{version}.tar.gz +Source1: %{fontname}-mono.conf +Source2: %{fontname}-sans.conf +BuildArch: noarch +BuildRequires: fontpackages-devel + +%description +%common_desc + + + +%package common +Summary: Common files for Mozilla's Fira font set +Requires: fontpackages-filesystem +%description common +%common_desc +This package consists of files used by other %{name} packages. + + + +%package -n %{fontname}-mono-fonts +Summary: Monospaced version of Mozilla's Fira font +Requires: %{name}-common = %{version}-%{release} +%description -n %{fontname}-mono-fonts +%common_desc +This package contains the monospaced version of Mozilla's Fira font. + +%_font_pkg -n mono -f %{fontconf}-mono.conf *Mono*.otf + + +%package -n %{fontname}-sans-fonts +Summary: Sans-serif version of Mozilla's Fira font +Requires: %{name}-common = %{version}-%{release} +%description -n %{fontname}-sans-fonts +%common_desc +This package contains the sans-serif version of Mozilla's Fira font. + +%_font_pkg -n sans -f %{fontconf}-sans.conf *Sans*.otf + +%prep +%setup -q -n Fira-%{version} +cp -p %{SOURCE1} %{SOURCE2} . + +%build + +%install +install -m 0755 -d %{buildroot}%{_fontdir} +install -m 0644 -p otf/*.otf %{buildroot}%{_fontdir} + +install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \ + %{buildroot}%{_fontconfig_confdir} + +install -m 0644 -p %{fontname}-mono.conf \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-mono.conf +install -m 0644 -p %{fontname}-sans.conf \ + %{buildroot}%{_fontconfig_templatedir}/%{fontconf}-sans.conf + +for fconf in %{fontconf}-mono.conf \ + %{fontconf}-sans.conf ; do + ln -s %{_fontconfig_templatedir}/$fconf \ + %{buildroot}%{_fontconfig_confdir}/$fontconf +done + + +%files common +%license LICENSE +%dir %{_fontdir} + + +%changelog +* Wed May 08 2024 MSVSphere Packaging Team - 4.202-19 +- Rebuilt for MSVSphere 9.4 + +* Tue May 07 2024 Artem Polishchuk - 4.202-19 +- build: Use canonical RPM macros for catch LICENSE file + +* Tue May 07 2024 Artem Polishchuk - 4.202-18 +- license: Convert to SPDX + +* Thu Jan 25 2024 Fedora Release Engineering - 4.202-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 4.202-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jul 20 2023 Fedora Release Engineering - 4.202-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 4.202-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 4.202-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 4.202-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 4.202-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 4.202-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 4.202-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jan 29 2020 Fedora Release Engineering - 4.202-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 4.202-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 4.202-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 4.202-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Thu Feb 08 2018 Fedora Release Engineering - 4.202-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 4.202-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 4.202-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jun 07 2016 Matěj Cepl - 4.202-1 +- New upstream release. + +* Thu Feb 04 2016 Fedora Release Engineering - 3.111-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 3.111-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Thu Mar 26 2015 Ricky Elrod - 3.111-2 +- Rebuild + +* Fri Nov 07 2014 Ricky Elrod - 3.111-1 +- Bump to latest zip. + +* Sat Jun 07 2014 Fedora Release Engineering - 2.001-0.3.20130925 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Oct 22 2013 Ricky Elrod - 2.001-0.2.20130925 +- Change N-V-R to be correct. +- Remove group tag. +- Better document license and source. + +* Tue Oct 22 2013 Ricky Elrod - 2.001-0.1.20130925 +- Change N-V-R to be correct. + +* Wed Sep 25 2013 Ricky Elrod - 0.20130925-2 +- Use %%global instead of %%define. + +* Wed Sep 25 2013 Ricky Elrod - 0.20130925-1 +- Initial build.