Initial import (#1007615)
This commit is contained in:
parent
4bd9f496a6
commit
54ca6242d4
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
|||||||
|
/SourceCodePro_FontsOnly-1.017.zip
|
||||||
16
adobe-source-code-pro-fonts-fontconfig.conf
Normal file
16
adobe-source-code-pro-fonts-fontconfig.conf
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<?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>
|
||||||
68
adobe-source-code-pro-fonts.spec
Normal file
68
adobe-source-code-pro-fonts.spec
Normal file
@ -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
|
||||||
Loading…
Reference in New Issue
Block a user