|
 |
54ca624 |
%global fontname adobe-source-code-pro
|
|
 |
54ca624 |
%global fontconf 61-%{fontname}.conf
|
|
 |
54ca624 |
|
|
 |
54ca624 |
Name: %{fontname}-fonts
|
|
 |
54ca624 |
Version: 1.017
|
|
Richard Hughes |
0079e42 |
Release: 5%{?dist}
|
|
 |
54ca624 |
Summary: A set of mono-spaced OpenType fonts designed for coding environments
|
|
 |
54ca624 |
|
|
 |
54ca624 |
Group: User Interface/X
|
|
 |
54ca624 |
License: OFL
|
|
 |
54ca624 |
URL: http://sourceforge.net/projects/sourcecodepro.adobe
|
|
 |
54ca624 |
Source0: http://downloads.sourceforge.net/project/sourcecodepro.adobe/SourceCodePro_FontsOnly-%{version}.zip
|
|
 |
54ca624 |
Source1: %{name}-fontconfig.conf
|
|
Richard Hughes |
0079e42 |
Source2: %{fontname}.metainfo.xml
|
|
 |
54ca624 |
|
|
 |
54ca624 |
BuildArch: noarch
|
|
 |
54ca624 |
BuildRequires: fontpackages-devel
|
|
 |
54ca624 |
Requires: fontpackages-filesystem
|
|
 |
54ca624 |
|
|
 |
54ca624 |
%description
|
|
 |
54ca624 |
This font was designed by Paul D. Hunt as a companion to Source Sans. It has
|
|
 |
54ca624 |
the same weight range as the corresponding Source Sans design. It supports
|
|
 |
54ca624 |
a wide range of languages using the Latin script, and includes all the
|
|
 |
54ca624 |
characters in the Adobe Latin 4 glyph set.
|
|
 |
54ca624 |
|
|
 |
54ca624 |
|
|
 |
54ca624 |
%prep
|
|
 |
54ca624 |
%setup -q -n SourceCodePro_FontsOnly-%{version}
|
|
 |
54ca624 |
|
|
 |
54ca624 |
|
|
 |
54ca624 |
%build
|
|
 |
54ca624 |
sed -i 's/\r//' LICENSE.txt
|
|
 |
54ca624 |
|
|
 |
54ca624 |
%install
|
|
 |
54ca624 |
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
 |
54ca624 |
install -m 0644 -p OTF/*.otf %{buildroot}%{_fontdir}
|
|
 |
54ca624 |
|
|
 |
54ca624 |
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
 |
54ca624 |
%{buildroot}%{_fontconfig_confdir}
|
|
 |
54ca624 |
|
|
 |
54ca624 |
install -m 0644 -p %{SOURCE1} \
|
|
 |
54ca624 |
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
|
|
 |
54ca624 |
ln -s %{_fontconfig_templatedir}/%{fontconf} \
|
|
 |
54ca624 |
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
|
|
 |
54ca624 |
|
|
Richard Hughes |
0079e42 |
# Add AppStream metadata
|
|
Richard Hughes |
0079e42 |
install -Dm 0644 -p %{SOURCE2} \
|
|
Richard Hughes |
0079e42 |
%{buildroot}%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
Richard Hughes |
0079e42 |
|
|
 |
54ca624 |
%clean
|
|
 |
54ca624 |
|
|
 |
54ca624 |
%_font_pkg -f %{fontconf} *.otf
|
|
Richard Hughes |
0079e42 |
%{_datadir}/appdata/%{fontname}.metainfo.xml
|
|
 |
54ca624 |
|
|
 |
54ca624 |
%doc SourceCodeProReadMe.html LICENSE.txt
|
|
 |
54ca624 |
|
|
 |
54ca624 |
|
|
 |
54ca624 |
%changelog
|
|
Richard Hughes |
0079e42 |
* Wed Oct 15 2014 Richard Hughes <richard@hughsie.com> - 1.017-5
|
|
Richard Hughes |
0079e42 |
- Add a MetaInfo file for the software center; this is a font we want to show.
|
|
Richard Hughes |
0079e42 |
|
|
 |
7407736 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.017-4
|
|
 |
7407736 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
 |
7407736 |
|
|
 |
54ca624 |
* Fri Sep 13 2013 Matt Rose mattrose@folkwolf.net - 1.017-3
|
|
 |
54ca624 |
- rebuilt on fedora 19
|
|
 |
54ca624 |
* Mon Jan 21 2013 Tobias Florek me@ibotty.net - 1.017-2
|
|
 |
54ca624 |
- remove now empty clean section
|
|
 |
54ca624 |
* Thu Jan 17 2013 Tobias Florek me@ibotty.net - 1.017-1
|
|
 |
54ca624 |
- new upstream release
|
|
 |
54ca624 |
* Fri Dec 07 2012 Tobias Florek me@ibotty.net - 1.013-1
|
|
 |
54ca624 |
- new upstream release
|
|
 |
54ca624 |
* Tue Nov 18 2012 Tobias Florek me@ibotty.net - 1.010-2
|
|
 |
54ca624 |
- do not clean buildroot on install and clean
|
|
 |
54ca624 |
* Tue Oct 2 2012 Tobias Florek me@ibotty.net - 1.010-1
|
|
 |
54ca624 |
- new upstream release
|
|
 |
54ca624 |
* Tue Sep 25 2012 Tobias Florek me@ibotty.net - 1.009-3
|
|
 |
54ca624 |
- do not package ttf files
|
|
 |
54ca624 |
* Tue Sep 25 2012 Tobias Florek me@ibotty.net - 1.009-2
|
|
 |
54ca624 |
- Initial version
|