Compare commits
19 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50c9fe6850 | ||
|
|
f88eadf975 | ||
|
|
245ff404c2 | ||
|
|
40065527eb | ||
|
|
7ffab8139f | ||
|
|
0f740f3a10 | ||
|
|
e7a46941a8 | ||
|
|
cef61d031c | ||
|
|
f197eb70d8 | ||
|
|
184b9ee5d5 | ||
|
|
8602cfb5f3 | ||
|
|
f1411550b6 | ||
|
|
ae1f9d2274 | ||
|
|
9a97a78390 | ||
|
|
e2a4471d84 | ||
|
|
cb709b9487 | ||
|
|
06b68a5a65 | ||
|
|
5526ea5151 | ||
|
|
5937d835aa |
9 changed files with 170 additions and 131 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@
|
||||||
/SourceCodePro_FontsOnly-1.017.zip
|
/SourceCodePro_FontsOnly-1.017.zip
|
||||||
/SourceCodePro-2.010R-ro-1.030R-it.tar.gz
|
/SourceCodePro-2.010R-ro-1.030R-it.tar.gz
|
||||||
/SourceCodePro-2.030R-ro-1.050R-it.tar.gz
|
/SourceCodePro-2.030R-ro-1.050R-it.tar.gz
|
||||||
|
/source-code-pro-2.042R-u-1.062R-i-1.026R-vf.tar.gz
|
||||||
|
|
|
||||||
20
61-adobe-source-code-pro-fonts.conf
Normal file
20
61-adobe-source-code-pro-fonts.conf
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
|
||||||
|
<!-- Aliasing monospace to prefer Source Code Pro -->
|
||||||
|
<alias>
|
||||||
|
<family>monospace</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Source Code Pro</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- Defaults if Source Code Pro isn't available -->
|
||||||
|
<alias>
|
||||||
|
<family>Source Code Pro</family>
|
||||||
|
<default>
|
||||||
|
<family>monospace</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
||||||
19
61-adobe-source-code-vf-fonts.conf
Normal file
19
61-adobe-source-code-vf-fonts.conf
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
|
||||||
|
<fontconfig>
|
||||||
|
<!-- Aliasing monospace to prefer Source Code VF -->
|
||||||
|
<alias>
|
||||||
|
<family>monospace</family>
|
||||||
|
<prefer>
|
||||||
|
<family>Source Code VF</family>
|
||||||
|
</prefer>
|
||||||
|
</alias>
|
||||||
|
|
||||||
|
<!-- Defaults if Source Code VF isn't available -->
|
||||||
|
<alias>
|
||||||
|
<family>Source Code VF</family>
|
||||||
|
<default>
|
||||||
|
<family>monospace</family>
|
||||||
|
</default>
|
||||||
|
</alias>
|
||||||
|
</fontconfig>
|
||||||
Binary file not shown.
|
|
@ -1,16 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
|
||||||
<fontconfig>
|
|
||||||
<alias>
|
|
||||||
<family>monospace</family>
|
|
||||||
<prefer>
|
|
||||||
<family>Source Code Pro</family>
|
|
||||||
</prefer>
|
|
||||||
</alias>
|
|
||||||
<alias>
|
|
||||||
<family>Source Code Pro</family>
|
|
||||||
<default>
|
|
||||||
<family>monospace</family>
|
|
||||||
</default>
|
|
||||||
</alias>
|
|
||||||
</fontconfig>
|
|
||||||
|
|
@ -1,122 +1,60 @@
|
||||||
%global fontname adobe-source-code-pro
|
%global foundry adobe
|
||||||
%global fontconf 61-%{fontname}.conf
|
%global fontlicense OFL-1.1
|
||||||
|
%global fontlicenses LICENSE.md
|
||||||
|
%global fontdocs README.md
|
||||||
|
%global fontdocsex %{fontlicenses}
|
||||||
|
|
||||||
%global version_roman 2.030
|
|
||||||
%global version_italic 1.050
|
|
||||||
|
|
||||||
Name: %{fontname}-fonts
|
%global fontfamily Source Code Pro
|
||||||
Version: %{version_roman}.%{version_italic}
|
%global fontsummary A set of mono-spaced OpenType fonts designed for coding environments
|
||||||
Release: 8%{?dist}
|
%global fontpkgheader %{expand:
|
||||||
Summary: A set of mono-spaced OpenType fonts designed for coding environments
|
Suggests: font(sourcecodevf)}
|
||||||
|
%global fonts OTF/*.otf
|
||||||
License: OFL
|
%global fontconfs %{SOURCE10}
|
||||||
URL: https://github.com/adobe-fonts/source-code-pro
|
%global fontdescription %{expand:
|
||||||
Source0: https://github.com/adobe-fonts/source-code-pro/archive/%{version_roman}R-ro%2f%{version_italic}R-it.tar.gz#/SourceCodePro-%{version_roman}R-ro-%{version_italic}R-it.tar.gz
|
|
||||||
Source1: %{name}-fontconfig.conf
|
|
||||||
Source2: %{fontname}.metainfo.xml
|
|
||||||
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: fontpackages-devel
|
|
||||||
Requires: fontpackages-filesystem
|
|
||||||
|
|
||||||
%description
|
|
||||||
This font was designed by Paul D. Hunt as a companion to Source Sans. It has
|
This font was designed by Paul D. Hunt as a companion to Source Sans. It has
|
||||||
the same weight range as the corresponding Source Sans design. It supports
|
the same weight range as the corresponding Source Sans design. It supports
|
||||||
a wide range of languages using the Latin script, and includes all the
|
a wide range of languages using the Latin script, and includes all the
|
||||||
characters in the Adobe Latin 4 glyph set.
|
characters in the Adobe Latin 4 glyph set.}
|
||||||
|
|
||||||
|
%global fontfamily2 Source Code VF
|
||||||
|
%global fontsummary2 OpenType fonts designed for coding environments, variable versions
|
||||||
|
%global fontpkgheader1 %{expand:
|
||||||
|
Suggests: font(sourcecodepro)}
|
||||||
|
%global fonts2 VF/*.otf
|
||||||
|
%global fontconfs2 %{SOURCE11}
|
||||||
|
%global fontdescription2 %{expand:
|
||||||
|
%{fontdescription}
|
||||||
|
|
||||||
|
This is the variable versions of the font Source Code Pro.}}
|
||||||
|
|
||||||
|
%global version_roman 2.042
|
||||||
|
%global version_italic 1.062
|
||||||
|
%global version_vf 1.026
|
||||||
|
|
||||||
|
Version: %{version_roman}.%{version_italic}.%{version_vf}
|
||||||
|
Release: %autorelease
|
||||||
|
URL: https://github.com/adobe-fonts/source-code-pro
|
||||||
|
|
||||||
|
Source: https://github.com/adobe-fonts/source-code-pro/archive/%{version_roman}R-u/%{version_italic}R-i/%{version_vf}R-vf.tar.gz#/source-code-pro-%{version_roman}R-u-%{version_italic}R-i-%{version_vf}R-vf.tar.gz
|
||||||
|
Source10: 61-%{name}.conf
|
||||||
|
Source11: 61-%{fontpkgname2}.conf
|
||||||
|
|
||||||
|
%fontpkg -a
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn source-code-pro-%{version_roman}R-ro-%{version_italic}R-it
|
%autosetup -n source-code-pro-%{version_roman}R-u-%{version_italic}R-i-%{version_vf}R-vf
|
||||||
sed -i 's/\r//' LICENSE.txt
|
|
||||||
chmod 644 LICENSE.txt
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%fontbuild -a
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
%fontinstall -a
|
||||||
install -m 0644 -p OTF/*.otf %{buildroot}%{_fontdir}
|
|
||||||
|
|
||||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
%check
|
||||||
%{buildroot}%{_fontconfig_confdir}
|
%fontcheck -a
|
||||||
|
|
||||||
install -m 0644 -p %{SOURCE1} \
|
%fontfiles -a
|
||||||
%{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
|
|
||||||
|
|
||||||
%_font_pkg -f %{fontconf} *.otf
|
|
||||||
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
||||||
|
|
||||||
%doc README.md
|
|
||||||
%license LICENSE.txt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-8
|
%autochangelog
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 23 2016 Michael Kuhn <suraia@ikkoku.de> - 2.030.1.050-1
|
|
||||||
- Update to roman fonts 2.030 and italic fonts 1.050
|
|
||||||
|
|
||||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.010.1.030-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Nov 06 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.010.1.030-1
|
|
||||||
- update to 2.010 (roman) and 1.030 (italic)
|
|
||||||
- update URL
|
|
||||||
- use %%license macro
|
|
||||||
|
|
||||||
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.017-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Oct 15 2014 Richard Hughes <richard@hughsie.com> - 1.017-5
|
|
||||||
- Add a MetaInfo file for the software center; this is a font we want to show.
|
|
||||||
|
|
||||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.017-4
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Sep 13 2013 Matt Rose mattrose@folkwolf.net - 1.017-3
|
|
||||||
- rebuilt on fedora 19
|
|
||||||
|
|
||||||
* Mon Jan 21 2013 Tobias Florek me@ibotty.net - 1.017-2
|
|
||||||
- remove now empty clean section
|
|
||||||
|
|
||||||
* Thu Jan 17 2013 Tobias Florek me@ibotty.net - 1.017-1
|
|
||||||
- new upstream release
|
|
||||||
|
|
||||||
* Fri Dec 07 2012 Tobias Florek me@ibotty.net - 1.013-1
|
|
||||||
- new upstream release
|
|
||||||
|
|
||||||
* Sun Nov 18 2012 Tobias Florek me@ibotty.net - 1.010-2
|
|
||||||
- do not clean buildroot on install and clean
|
|
||||||
|
|
||||||
* Tue Oct 2 2012 Tobias Florek me@ibotty.net - 1.010-1
|
|
||||||
- new upstream release
|
|
||||||
|
|
||||||
* Tue Sep 25 2012 Tobias Florek me@ibotty.net - 1.009-3
|
|
||||||
- do not package ttf files
|
|
||||||
|
|
||||||
* Tue Sep 25 2012 Tobias Florek me@ibotty.net - 1.009-2
|
|
||||||
- Initial version
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
|
|
||||||
<component type="font">
|
|
||||||
<id>adobe-source-code-pro</id>
|
|
||||||
<metadata_license>CC0-1.0</metadata_license>
|
|
||||||
<name>Source Code</name>
|
|
||||||
<summary>A set of mono-spaced fonts designed for coding environments</summary>
|
|
||||||
</component>
|
|
||||||
85
changelog
Normal file
85
changelog
Normal file
|
|
@ -0,0 +1,85 @@
|
||||||
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-15
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-14
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-13
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-12
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-8
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 23 2016 Michael Kuhn <suraia@ikkoku.de> - 2.030.1.050-1
|
||||||
|
- Update to roman fonts 2.030 and italic fonts 1.050
|
||||||
|
|
||||||
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.010.1.030-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Nov 06 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.010.1.030-1
|
||||||
|
- update to 2.010 (roman) and 1.030 (italic)
|
||||||
|
- update URL
|
||||||
|
- use %%license macro
|
||||||
|
|
||||||
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.017-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Oct 15 2014 Richard Hughes <richard@hughsie.com> - 1.017-5
|
||||||
|
- Add a MetaInfo file for the software center; this is a font we want to show.
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.017-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Sep 13 2013 Matt Rose mattrose@folkwolf.net - 1.017-3
|
||||||
|
- rebuilt on fedora 19
|
||||||
|
|
||||||
|
* Mon Jan 21 2013 Tobias Florek me@ibotty.net - 1.017-2
|
||||||
|
- remove now empty clean section
|
||||||
|
|
||||||
|
* Thu Jan 17 2013 Tobias Florek me@ibotty.net - 1.017-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Fri Dec 07 2012 Tobias Florek me@ibotty.net - 1.013-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Sun Nov 18 2012 Tobias Florek me@ibotty.net - 1.010-2
|
||||||
|
- do not clean buildroot on install and clean
|
||||||
|
|
||||||
|
* Tue Oct 2 2012 Tobias Florek me@ibotty.net - 1.010-1
|
||||||
|
- new upstream release
|
||||||
|
|
||||||
|
* Tue Sep 25 2012 Tobias Florek me@ibotty.net - 1.009-3
|
||||||
|
- do not package ttf files
|
||||||
|
|
||||||
|
* Tue Sep 25 2012 Tobias Florek me@ibotty.net - 1.009-2
|
||||||
|
- Initial version
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
8120607f75da3b25cb8e34b64f02af9c SourceCodePro-2.030R-ro-1.050R-it.tar.gz
|
SHA512 (source-code-pro-2.042R-u-1.062R-i-1.026R-vf.tar.gz) = 2cc2373c8f5ec817ee44e2c754735a4d21d989fd581bf1cdb764ba98a26b186574d7f583ebe0da905c4db029d12fd4df54ace43a191e274f76995940a618a91c
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue