|
|
deb27c |
%global fontname adobe-source-code-pro
|
|
|
deb27c |
%global fontconf 61-%{fontname}.conf
|
|
|
deb27c |
|
|
|
deb27c |
%global version_roman 2.030
|
|
|
deb27c |
%global version_italic 1.050
|
|
|
deb27c |
|
|
|
deb27c |
Name: %{fontname}-fonts
|
|
|
deb27c |
Version: %{version_roman}.%{version_italic}
|
|
|
deb27c |
Release: 12%{?dist}.1
|
|
|
deb27c |
Summary: A set of mono-spaced OpenType fonts designed for coding environments
|
|
|
deb27c |
|
|
|
deb27c |
License: OFL
|
|
|
deb27c |
URL: https://github.com/adobe-fonts/source-code-pro
|
|
|
deb27c |
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
|
|
|
deb27c |
Source1: %{name}-fontconfig.conf
|
|
|
deb27c |
Source2: %{fontname}.metainfo.xml
|
|
|
deb27c |
|
|
|
deb27c |
BuildArch: noarch
|
|
|
deb27c |
BuildRequires: fontpackages-devel
|
|
|
deb27c |
Requires: fontpackages-filesystem
|
|
|
deb27c |
|
|
|
deb27c |
%description
|
|
|
deb27c |
This font was designed by Paul D. Hunt as a companion to Source Sans. It has
|
|
|
deb27c |
the same weight range as the corresponding Source Sans design. It supports
|
|
|
deb27c |
a wide range of languages using the Latin script, and includes all the
|
|
|
deb27c |
characters in the Adobe Latin 4 glyph set.
|
|
|
deb27c |
|
|
|
deb27c |
|
|
|
deb27c |
%prep
|
|
|
deb27c |
%setup -qn source-code-pro-%{version_roman}R-ro-%{version_italic}R-it
|
|
|
deb27c |
sed -i 's/\r//' LICENSE.txt
|
|
|
deb27c |
chmod 644 LICENSE.txt
|
|
|
deb27c |
|
|
|
deb27c |
%build
|
|
|
deb27c |
|
|
|
deb27c |
%install
|
|
|
deb27c |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
|
deb27c |
install -m 0644 -p OTF/*.otf %{buildroot}%{_fontdir}
|
|
|
deb27c |
|
|
|
deb27c |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
|
deb27c |
%{buildroot}%{_fontconfig_confdir}
|
|
|
deb27c |
|
|
|
deb27c |
install -m 0644 -p %{SOURCE1} \
|
|
|
deb27c |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
|
deb27c |
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
|
deb27c |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
|
deb27c |
|
|
|
deb27c |
# Add AppStream metadata
|
|
|
deb27c |
install -Dm 0644 -p %{SOURCE2} \
|
|
|
deb27c |
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
deb27c |
|
|
|
deb27c |
%_font_pkg -f %{fontconf} *.otf
|
|
|
deb27c |
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
|
deb27c |
|
|
|
deb27c |
%doc README.md
|
|
|
deb27c |
%license LICENSE.txt
|
|
|
deb27c |
|
|
|
deb27c |
%changelog
|
|
|
deb27c |
* Tue Jun 14 2022 Akira TAGOH <tagoh@redhat.com> - 2.030.1.050-12.1
|
|
|
deb27c |
- Rebuilt to make sure moving this package to AppStream.
|
|
|
deb27c |
Resolves: rhbz#2094195
|
|
|
deb27c |
|
|
|
deb27c |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.030.1.050-12
|
|
|
deb27c |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
deb27c |
Related: rhbz#1991688
|
|
|
deb27c |
|
|
|
deb27c |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 2.030.1.050-11
|
|
|
deb27c |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
deb27c |
|
|
|
deb27c |
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-10
|
|
|
deb27c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
deb27c |
|
|
|
deb27c |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-9
|
|
|
deb27c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
deb27c |
|
|
|
deb27c |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-8
|
|
|
deb27c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
deb27c |
|
|
|
deb27c |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-7
|
|
|
deb27c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
deb27c |
|
|
|
deb27c |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-6
|
|
|
deb27c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
deb27c |
|
|
|
deb27c |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-5
|
|
|
deb27c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
deb27c |
|
|
|
deb27c |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-4
|
|
|
deb27c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
deb27c |
|
|
|
deb27c |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-3
|
|
|
deb27c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
deb27c |
|
|
|
deb27c |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.030.1.050-2
|
|
|
deb27c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
deb27c |
|
|
|
deb27c |
* Sat Jul 23 2016 Michael Kuhn <suraia@ikkoku.de> - 2.030.1.050-1
|
|
|
deb27c |
- Update to roman fonts 2.030 and italic fonts 1.050
|
|
|
deb27c |
|
|
|
deb27c |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.010.1.030-2
|
|
|
deb27c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
deb27c |
|
|
|
deb27c |
* Fri Nov 06 2015 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.010.1.030-1
|
|
|
deb27c |
- update to 2.010 (roman) and 1.030 (italic)
|
|
|
deb27c |
- update URL
|
|
|
deb27c |
- use %%license macro
|
|
|
deb27c |
|
|
|
deb27c |
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.017-6
|
|
|
deb27c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
deb27c |
|
|
|
deb27c |
* Wed Oct 15 2014 Richard Hughes <richard@hughsie.com> - 1.017-5
|
|
|
deb27c |
- Add a MetaInfo file for the software center; this is a font we want to show.
|
|
|
deb27c |
|
|
|
deb27c |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.017-4
|
|
|
deb27c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
deb27c |
|
|
|
deb27c |
* Fri Sep 13 2013 Matt Rose mattrose@folkwolf.net - 1.017-3
|
|
|
deb27c |
- rebuilt on fedora 19
|
|
|
deb27c |
|
|
|
deb27c |
* Mon Jan 21 2013 Tobias Florek me@ibotty.net - 1.017-2
|
|
|
deb27c |
- remove now empty clean section
|
|
|
deb27c |
|
|
|
deb27c |
* Thu Jan 17 2013 Tobias Florek me@ibotty.net - 1.017-1
|
|
|
deb27c |
- new upstream release
|
|
|
deb27c |
|
|
|
deb27c |
* Fri Dec 07 2012 Tobias Florek me@ibotty.net - 1.013-1
|
|
|
deb27c |
- new upstream release
|
|
|
deb27c |
|
|
|
deb27c |
* Sun Nov 18 2012 Tobias Florek me@ibotty.net - 1.010-2
|
|
|
deb27c |
- do not clean buildroot on install and clean
|
|
|
deb27c |
|
|
|
deb27c |
* Tue Oct 2 2012 Tobias Florek me@ibotty.net - 1.010-1
|
|
|
deb27c |
- new upstream release
|
|
|
deb27c |
|
|
|
deb27c |
* Tue Sep 25 2012 Tobias Florek me@ibotty.net - 1.009-3
|
|
|
deb27c |
- do not package ttf files
|
|
|
deb27c |
|
|
|
deb27c |
* Tue Sep 25 2012 Tobias Florek me@ibotty.net - 1.009-2
|
|
|
deb27c |
- Initial version
|