From 30c3f0258ff4da59532ed91de0147f36c5ed22c3 Mon Sep 17 00:00:00 2001 From: Jamie Nguyen Date: Nov 06 2015 13:21:55 +0000 Subject: Update to roman 2.010 and italic 1.030 --- diff --git a/.gitignore b/.gitignore index a153e4d..9acf279 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ +/*.rpm /SourceCodePro_FontsOnly-1.017.zip +/SourceCodePro-2.010R-ro-1.030R-it.tar.gz diff --git a/adobe-source-code-pro-fonts.spec b/adobe-source-code-pro-fonts.spec index ee66d73..2bc1d67 100644 --- a/adobe-source-code-pro-fonts.spec +++ b/adobe-source-code-pro-fonts.spec @@ -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 - 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 - 1.017-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild diff --git a/sources b/sources index c0e0f5e..40b7a64 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e59ce4be04d44c22e380865142bad0e3 SourceCodePro_FontsOnly-1.017.zip +5d11969eb0a5e243acdbcf046753aa03 SourceCodePro-2.010R-ro-1.030R-it.tar.gz