diff --git a/.gitignore b/.gitignore index e69de29..a153e4d 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/SourceCodePro_FontsOnly-1.017.zip diff --git a/adobe-source-code-pro-fonts-fontconfig.conf b/adobe-source-code-pro-fonts-fontconfig.conf new file mode 100644 index 0000000..f3a55c1 --- /dev/null +++ b/adobe-source-code-pro-fonts-fontconfig.conf @@ -0,0 +1,16 @@ + + + + + monospace + + Source Code Pro + + + + Source Code Pro + + monospace + + + diff --git a/adobe-source-code-pro-fonts.spec b/adobe-source-code-pro-fonts.spec new file mode 100644 index 0000000..7d406f5 --- /dev/null +++ b/adobe-source-code-pro-fonts.spec @@ -0,0 +1,68 @@ +%global fontname adobe-source-code-pro +%global fontconf 61-%{fontname}.conf + +Name: %{fontname}-fonts +Version: 1.017 +Release: 3%{?dist} +Summary: A set of mono-spaced OpenType fonts designed for coding environments + +Group: User Interface/X +License: OFL +URL: http://sourceforge.net/projects/sourcecodepro.adobe +Source0: http://downloads.sourceforge.net/project/sourcecodepro.adobe/SourceCodePro_FontsOnly-%{version}.zip +Source1: %{name}-fontconfig.conf + +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 +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 +characters in the Adobe Latin 4 glyph set. + + +%prep +%setup -q -n SourceCodePro_FontsOnly-%{version} + + +%build +sed -i 's/\r//' LICENSE.txt + +%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} + +%clean + +%_font_pkg -f %{fontconf} *.otf + +%doc SourceCodeProReadMe.html LICENSE.txt + + +%changelog +* 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 +* Tue 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 diff --git a/sources b/sources index e69de29..c0e0f5e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e59ce4be04d44c22e380865142bad0e3 SourceCodePro_FontsOnly-1.017.zip