Compare commits
28 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7046e39592 | ||
|
|
cde997f8e5 | ||
|
|
1134888c69 | ||
|
|
8224b87516 | ||
|
|
defb574088 | ||
|
|
15fec4f369 | ||
|
|
870bf0893e | ||
|
|
04f9e54d71 | ||
|
|
a17bf67243 | ||
|
|
c7ff1bf821 | ||
|
|
22d5986154 | ||
|
|
fae9047692 | ||
|
|
53d75ee0a2 | ||
|
|
04455872a3 | ||
|
|
6ffca02dc5 | ||
|
|
2f7920d279 | ||
|
|
7fcb2306a1 | ||
|
|
d4c456eb80 | ||
|
|
26254a236c | ||
|
|
2503576813 | ||
|
|
8772510bc8 | ||
|
|
a08604d3b4 | ||
|
|
de81e2586b | ||
|
|
9e9242c0c5 | ||
|
|
75c1af5c5b | ||
|
|
6dfcf68aae | ||
|
|
a484e75adb | ||
|
|
4b54e1a981 |
6 changed files with 157 additions and 78 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
|
@ -2,3 +2,11 @@
|
|||
/SourceSansPro_FontsOnly-1.034.zip
|
||||
/SourceSansPro_FontsOnly-1.050.zip
|
||||
/adobe-source-sans-pro-fonts-2.020.tar.gz
|
||||
/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
|
||||
|
|
|
|||
48
63-adobe-source-sans-pro-fonts.conf
Normal file
48
63-adobe-source-sans-pro-fonts.conf
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||
<!-- SPDX-License-Identifier: MIT -->
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>Source Sans 3</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Source Sans 3</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
<!-- Manage font family renaming (Source Sans Pro -> Source Sans 3) -->
|
||||
<alias binding="same">
|
||||
<family>Source Sans Pro</family>
|
||||
<accept>
|
||||
<family>Source Sans 3</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>Source Sans Pro ExtraLight</family>
|
||||
<accept>
|
||||
<family>Source Sans 3 ExtraLight</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>Source Sans Pro Light</family>
|
||||
<accept>
|
||||
<family>Source Sans 3 Light</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>Source Sans Pro SemiBold</family>
|
||||
<accept>
|
||||
<family>Source Sans 3 SemiBold</family>
|
||||
</accept>
|
||||
</alias>
|
||||
<alias binding="same">
|
||||
<family>Source Sans Pro Black</family>
|
||||
<accept>
|
||||
<family>Source Sans 3 Black</family>
|
||||
</accept>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
|
||||
<fontconfig>
|
||||
<alias>
|
||||
<family>Source Sans Pro</family>
|
||||
<default>
|
||||
<family>sans-serif</family>
|
||||
</default>
|
||||
</alias>
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Source Sans Pro</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
</fontconfig>
|
||||
|
|
@ -1,72 +1,120 @@
|
|||
%global fontname source-sans-pro
|
||||
%global fontconf 63-%{fontname}.conf
|
||||
Version: 3.052
|
||||
Release: 8%{?dist}
|
||||
URL: https://github.com/adobe-fonts/source-sans
|
||||
|
||||
%global roman_version 2.020
|
||||
%global italic_version 1.075
|
||||
%global github_tag %{roman_version}R-ro/%{italic_version}R-it
|
||||
%global source_dir %{fontname}-%(tr "/" "-" <<<%{github_tag})
|
||||
%global foundry adobe
|
||||
%global fontlicense OFL-1.1
|
||||
%global fontlicenses LICENSE.md
|
||||
%global fontdocs README.md
|
||||
%global fontdocsex %{fontlicenses}
|
||||
|
||||
Name: adobe-source-sans-pro-fonts
|
||||
Version: %{roman_version}
|
||||
Release: 3%{?dist}
|
||||
Summary: A set of OpenType fonts designed for user interfaces
|
||||
|
||||
License: OFL
|
||||
URL: https://github.com/adobe-fonts/source-sans-pro
|
||||
#unable to build from source: source format is unbuildable with free software
|
||||
Source0: https://github.com/adobe-fonts/source-sans-pro/archive/%{github_tag}/%{name}-%{version}.tar.gz
|
||||
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 %{source_dir}
|
||||
|
||||
# Fix permissions
|
||||
chmod 0644 LICENSE.txt README.md
|
||||
|
||||
# Fix wrong EOLs
|
||||
sed -i.orig "s/\r//" LICENSE.txt && \
|
||||
touch -r LICENSE.txt.orig LICENSE.txt && \
|
||||
rm LICENSE.txt.orig
|
||||
%autosetup -n source-sans-%{version}R
|
||||
|
||||
|
||||
%build
|
||||
%fontbuild
|
||||
|
||||
|
||||
%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 %{SOURCE1} \
|
||||
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
||||
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
||||
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
||||
|
||||
# Add AppStream metadata
|
||||
install -Dm 0644 -p %{SOURCE2} \
|
||||
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
%fontinstall
|
||||
|
||||
|
||||
%_font_pkg -f %{fontconf} *.otf
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
||||
%check
|
||||
%fontcheck
|
||||
|
||||
|
||||
%fontfiles
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.052-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.052-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sat Jan 25 2025 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.052-6
|
||||
- Fix FTBFS thanks to @mavit (RHBZ #2339874)
|
||||
|
||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.052-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.052-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.052-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.052-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Sep 24 2023 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.052-1
|
||||
- Update to 3.052
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.046-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.046-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.046-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.046-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.046-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Thu Jul 15 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.046-1
|
||||
- Update to 3.046
|
||||
|
||||
* Thu Jul 01 2021 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.042-1
|
||||
- Update to 3.042
|
||||
|
||||
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.028-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Tue Sep 08 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.028-1
|
||||
- Migrate to new font packaging scheme
|
||||
- Update to 3.028
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.006-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.006-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Dec 18 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 3.006-1
|
||||
- Update to 3.006
|
||||
|
||||
* Fri Aug 09 2019 Mohamed El Morabity <melmorabity@fedoraproject.org> - 2.045-1
|
||||
- Update to 2.0.45
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.020-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.020-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.020-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
|
|
@ -116,4 +164,3 @@ install -Dm 0644 -p %{SOURCE2} \
|
|||
|
||||
* Fri Aug 03 2012 Alexis Lameire <alexisis-pristontale@hotmail.com> - 1.033-1
|
||||
- initial release
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
||||
<component type="font">
|
||||
<id>source-sans-pro</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<name>Source Sans</name>
|
||||
<summary>A set of fonts designed for user interfaces</summary>
|
||||
</component>
|
||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (adobe-source-sans-pro-fonts-2.020.tar.gz) = 877b47b203d6f8ee71e60ba612a25b5a1b707205b0a4aaf02cfe2c806466acc6d393c93ad2fd6e76d761150b2594fcd6abce7b3c0415b5b915b06c6c143b6b53
|
||||
SHA512 (adobe-source-sans-pro-fonts-3.052.tar.gz) = 8e5a67cfebf6b7cea6505dc2d8e7600909719ec88b4553d1926b644ee2494304e60c75fd6e4bdb0450846985f442a1f7b4c1c147d428edf960b37a3d216c0b62
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue