diff --git a/.gitignore b/.gitignore index 02f9a35..5cba489 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,8 @@ /adobe-source-sans-pro-fonts-2.045.tar.gz /adobe-source-sans-pro-fonts-3.006.tar.gz /source-sans-pro-3.006R.zip +/source-sans-3v028R.zip +/source-sans-3.042R.zip +/OTF-source-sans-3.046R.zip +/OTF-source-sans-3.052R.zip +/adobe-source-sans-pro-fonts-3.052.tar.gz diff --git a/63-adobe-source-sans-pro-fonts.conf b/63-adobe-source-sans-pro-fonts.conf new file mode 100644 index 0000000..77e91eb --- /dev/null +++ b/63-adobe-source-sans-pro-fonts.conf @@ -0,0 +1,48 @@ + + + + + + Source Sans 3 + + sans-serif + + + + sans-serif + + Source Sans 3 + + + + + Source Sans Pro + + Source Sans 3 + + + + Source Sans Pro ExtraLight + + Source Sans 3 ExtraLight + + + + Source Sans Pro Light + + Source Sans 3 Light + + + + Source Sans Pro SemiBold + + Source Sans 3 SemiBold + + + + Source Sans Pro Black + + Source Sans 3 Black + + + diff --git a/adobe-source-sans-pro-fonts-fontconfig.conf b/adobe-source-sans-pro-fonts-fontconfig.conf deleted file mode 100644 index 0432c78..0000000 --- a/adobe-source-sans-pro-fonts-fontconfig.conf +++ /dev/null @@ -1,16 +0,0 @@ - - - - - Source Sans Pro - - sans-serif - - - - sans-serif - - Source Sans Pro - - - diff --git a/adobe-source-sans-pro-fonts.spec b/adobe-source-sans-pro-fonts.spec index 7b9098f..63ef8d7 100644 --- a/adobe-source-sans-pro-fonts.spec +++ b/adobe-source-sans-pro-fonts.spec @@ -1,54 +1,108 @@ -%global fontname source-sans-pro -%global fontconf 63-%{fontname}.conf +Version: 3.052 +Release: 8%{?dist} +URL: https://github.com/adobe-fonts/source-sans -Name: adobe-source-sans-pro-fonts -Version: 3.006 -Release: 1%{?dist} -Summary: A set of OpenType fonts designed for user interfaces +%global foundry adobe +%global fontlicense OFL-1.1 +%global fontlicenses LICENSE.md +%global fontdocs README.md +%global fontdocsex %{fontlicenses} -License: OFL -URL: https://github.com/adobe-fonts/%{fontname}/ -# Can't build fonts without nonfree softwares -Source0: %{url}/releases/download/%{version}R/%{fontname}-%{version}R.zip -Source1: %{name}-fontconfig.conf -Source2: %{fontname}.metainfo.xml - -BuildRequires: fontpackages-devel -Requires: fontpackages-filesystem -BuildArch: noarch - -%description -Source Sans is a set of OpenType fonts that have been designed to work well in +%global fontfamily Source Sans Pro +%global fontsummary A set of OpenType fonts designed for user interfaces +%global fonts OTF/*.otf +%global fontconfs %{SOURCE10} +%global fontdescription %{expand:Source Sans is a set of OpenType fonts that have been designed to work well in user interface (UI) environments, as well as in text setting for screen and -print. +print.} + +Source0: %{url}/archive/%{version}R/%{fontpkgname}-%{version}.tar.gz +# Adjust as necessary. Keeping the filename in sync with the package name is a good idea. +# See the fontconfig templates in fonts-rpm-templates for information on how to +# write good fontconfig files and choose the correct priority [number]. +Source10: 63-%{fontpkgname}.conf + +%fontpkg %prep -%autosetup -n %{fontname}-%{version}R +%autosetup -n source-sans-%{version}R %build +%fontbuild %install -install -dm 0755 $RPM_BUILD_ROOT%{_fontdir} -install -pm 0644 OTF/*.otf $RPM_BUILD_ROOT%{_fontdir} - -install -dm 0755 $RPM_BUILD_ROOT%{_fontconfig_templatedir} $RPM_BUILD_ROOT%{_fontconfig_confdir} -install -m 0644 -p %{SOURCE1} $RPM_BUILD_ROOT%{_fontconfig_templatedir}/%{fontconf} -ln -s %{_fontconfig_templatedir}/%{fontconf} $RPM_BUILD_ROOT%{_fontconfig_confdir}/%{fontconf} - -# Add AppStream metadata -install -Dpm 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata/%{fontname}.metainfo.xml +%fontinstall -%_font_pkg -f %{fontconf} *.otf -%doc README.md -%license LICENSE.md -%{_datadir}/appdata/%{fontname}.metainfo.xml +%check +%fontcheck + + +%fontfiles %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 3.052-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Wed Jul 23 2025 Fedora Release Engineering - 3.052-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Sat Jan 25 2025 Mohamed El Morabity - 3.052-6 +- Fix FTBFS thanks to @mavit (RHBZ #2339874) + +* Thu Jan 16 2025 Fedora Release Engineering - 3.052-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Jul 17 2024 Fedora Release Engineering - 3.052-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 3.052-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 3.052-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Sep 24 2023 Mohamed El Morabity - 3.052-1 +- Update to 3.052 + +* Wed Jul 19 2023 Fedora Release Engineering - 3.046-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Wed Jan 18 2023 Fedora Release Engineering - 3.046-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Jul 20 2022 Fedora Release Engineering - 3.046-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jan 19 2022 Fedora Release Engineering - 3.046-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jul 21 2021 Fedora Release Engineering - 3.046-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jul 15 2021 Mohamed El Morabity - 3.046-1 +- Update to 3.046 + +* Thu Jul 01 2021 Mohamed El Morabity - 3.042-1 +- Update to 3.042 + +* Mon Jan 25 2021 Fedora Release Engineering - 3.028-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Sep 08 2020 Mohamed El Morabity - 3.028-1 +- Migrate to new font packaging scheme +- Update to 3.028 + +* Mon Jul 27 2020 Fedora Release Engineering - 3.006-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jan 28 2020 Fedora Release Engineering - 3.006-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Wed Dec 18 2019 Mohamed El Morabity - 3.006-1 - Update to 3.006 @@ -110,4 +164,3 @@ install -Dpm 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata/%{fontname}.meta * Fri Aug 03 2012 Alexis Lameire - 1.033-1 - initial release - diff --git a/source-sans-pro.metainfo.xml b/source-sans-pro.metainfo.xml deleted file mode 100644 index 0a6b0dd..0000000 --- a/source-sans-pro.metainfo.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - source-sans-pro - CC0-1.0 - Source Sans - A set of fonts designed for user interfaces - diff --git a/sources b/sources index a1f75e3..ff5d643 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (source-sans-pro-3.006R.zip) = f6351e7b842204ff07bbbf0c6ea1e7767d5adc4e0102435c3efab5ee1f14f7c6a6efe8c475fa286e1c82399e13bad11d75430a10338f41e6ffb9b52939cb9d25 +SHA512 (adobe-source-sans-pro-fonts-3.052.tar.gz) = 8e5a67cfebf6b7cea6505dc2d8e7600909719ec88b4553d1926b644ee2494304e60c75fd6e4bdb0450846985f442a1f7b4c1c147d428edf960b37a3d216c0b62