]> git.pld-linux.org Git - packages/fonts-OTF-Adobe-SourceCodePro.git/blobdiff - fonts-OTF-Adobe-SourceCodePro.spec
up to 2.042.1.062
[packages/fonts-OTF-Adobe-SourceCodePro.git] / fonts-OTF-Adobe-SourceCodePro.spec
index eae80a9f012f85050d33d98787628d13e0d8e88d..6cdbfa632993254e9e3b65a0703e8e0f50a6f893 100644 (file)
@@ -1,16 +1,19 @@
 # NOTE: there are also TTF fonts in tarball
+%define                version_upright         2.042
+%define                version_italic          1.062
+%define                version_variable        1.026
+
 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.010
+Version:       %{version_upright}.%{version_italic}
 Release:       1
 License:       OFL v1.1
 Group:         Fonts
-Source0:       http://downloads.sourceforge.net/sourcecodepro.adobe/SourceCodePro_FontsOnly-%{version}.zip
-# Source0-md5: b13521e8ff303f6940509f3dde96aec3
+Source0:       https://github.com/adobe-fonts/source-code-pro/archive/%{version_upright}R-u%2f%{version_italic}R-i%2f%{version_variable}R-vf.tar.gz?/SourceCodePro-%{version_upright}R-u-%{version_italic}R-i-%{version_variable}R-vf.tar.gz
+# Source0-md5: 91fcd818b22d26b4401058f3c4244936
 Source1:       %{name}-fontconfig.conf
-URL:           http://sourceforge.net/projects/sourcecodepro.adobe/
-BuildRequires: unzip
+URL:           http://adobe-fonts.github.io/source-code-pro/
 Requires(post,postun): fontpostinst
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -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 SourceCodePro_FontsOnly-%{version}
+%setup -q -n source-code-pro-%{version_upright}R-u-%{version_italic}R-i-%{version_variable}R-vf
 
 %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.md README.md
 %{otffontsdir}/SourceCodePro-*.otf
 %{_sysconfdir}/fonts/conf.d/%{name}.conf
 %{_datadir}/fontconfig/conf.avail/%{name}.conf
This page took 0.109054 seconds and 4 git commands to generate.