[packages/fonts-OTF-Adobe-SourceCodePro] up to 2.030.1.050
atler
atler at pld-linux.org
Sun Oct 18 12:44:51 CEST 2020
commit 575e18d78339bf8b4249351ac2ee36482a587146
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Oct 18 12:43:59 2020 +0200
up to 2.030.1.050
fonts-OTF-Adobe-SourceCodePro.spec | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/fonts-OTF-Adobe-SourceCodePro.spec b/fonts-OTF-Adobe-SourceCodePro.spec
index b1ae866..7b34f28 100644
--- a/fonts-OTF-Adobe-SourceCodePro.spec
+++ b/fonts-OTF-Adobe-SourceCodePro.spec
@@ -1,13 +1,16 @@
# NOTE: there are also TTF fonts in tarball
+%define version_roman 2.030
+%define version_italic 1.050
+
Summary: Adobe Source Code Pro - A set of OpenType fonts for coders
Summary(pl.UTF-8): Adobe Source Code Pro - zbiór fontów OpenType dla programistów
Name: fonts-OTF-Adobe-SourceCodePro
-Version: 1.017
+Version: %{version_roman}.%{version_italic}
Release: 1
License: OFL v1.1
Group: Fonts
-Source0: https://github.com/adobe-fonts/source-code-pro/archive/%{version}R.tar.gz
-# Source0-md5: 6f8609cb05afbafc01a5b4d5b7c99cc7
+Source0: https://github.com/adobe-fonts/source-code-pro/archive/%{version_roman}R-ro%2f%{version_italic}R-it.tar.gz
+# Source0-md5: 8120607f75da3b25cb8e34b64f02af9c
Source1: %{name}-fontconfig.conf
URL: http://adobe-fonts.github.io/source-code-pro/
BuildRequires: unzip
@@ -26,7 +29,7 @@ Source Sans to zbiór fontów OpenType o stałej szerokości znaku,
zaprojektowany z myślą o środowiskach programistycznych.
%prep
-%setup -q -n source-code-pro-%{version}R
+%setup -q -n source-code-pro-%{version_roman}R-ro-%{version_italic}R-it
%install
rm -rf $RPM_BUILD_ROOT
@@ -47,7 +50,7 @@ fontpostinst OTF
%files
%defattr(644,root,root,755)
-%doc LICENSE.txt ReadMe.html SourceCodeProReadMe.html
+%doc LICENSE.txt README.md
%{otffontsdir}/SourceCodePro-*.otf
%{_sysconfdir}/fonts/conf.d/%{name}.conf
%{_datadir}/fontconfig/conf.avail/%{name}.conf
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/fonts-OTF-Adobe-SourceCodePro.git/commitdiff/575e18d78339bf8b4249351ac2ee36482a587146
More information about the pld-cvs-commit
mailing list