Update to roman 2.010 and italic 1.030

This commit is contained in:
Jamie Nguyen 2015-11-06 13:15:03 +00:00
commit 30c3f0258f
3 changed files with 22 additions and 12 deletions

2
.gitignore vendored
View file

@ -1 +1,3 @@
/*.rpm
/SourceCodePro_FontsOnly-1.017.zip
/SourceCodePro-2.010R-ro-1.030R-it.tar.gz

View file

@ -1,15 +1,18 @@
%global fontname adobe-source-code-pro
%global fontconf 61-%{fontname}.conf
%global version_roman 2.010
%global version_italic 1.030
Name: %{fontname}-fonts
Version: 1.017
Release: 6%{?dist}
Summary: A set of mono-spaced OpenType fonts designed for coding environments
Version: %{version_roman}.%{version_italic}
Release: 1%{?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
URL: https://github.com/adobe-fonts/source-code-pro
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
@ -17,7 +20,7 @@ BuildArch: noarch
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
%description
%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
@ -25,11 +28,11 @@ characters in the Adobe Latin 4 glyph set.
%prep
%setup -q -n SourceCodePro_FontsOnly-%{version}
%setup -qn source-code-pro-%{version_roman}R-ro-%{version_italic}R-it
sed -i 's/\r//' LICENSE.txt
chmod 644 LICENSE.txt
%build
sed -i 's/\r//' LICENSE.txt
%install
install -m 0755 -d %{buildroot}%{_fontdir}
@ -52,10 +55,15 @@ install -Dm 0644 -p %{SOURCE2} \
%_font_pkg -f %{fontconf} *.otf
%{_datadir}/appdata/%{fontname}.metainfo.xml
%doc SourceCodeProReadMe.html LICENSE.txt
%doc README.md
%license LICENSE.txt
%changelog
* 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

View file

@ -1 +1 @@
e59ce4be04d44c22e380865142bad0e3 SourceCodePro_FontsOnly-1.017.zip
5d11969eb0a5e243acdbcf046753aa03 SourceCodePro-2.010R-ro-1.030R-it.tar.gz