From 2116043bc6b169c049a7130a99aa0296563de6a0 Mon Sep 17 00:00:00 2001 From: Bernhard M. Wiedemann Date: Aug 12 2020 08:58:14 +0000 Subject: Update adobe-sourcecodepro-fonts to rev 12 via SR 825254 https://build.opensuse.org/request/show/825254 by user ftake + dimstar_suse --- diff --git a/.files b/.files index 9856df3..e798ef1 100644 Binary files a/.files and b/.files differ diff --git a/.rev b/.rev index 27a6b08..68a6807 100644 --- a/.rev +++ b/.rev @@ -84,4 +84,12 @@ 703169 + + 7d91382831d0bda58edac442b9ee2ac1 + 2.030 + + dimstar_suse + + 825254 + diff --git a/1.050R-it.tar.gz b/1.050R-it.tar.gz deleted file mode 120000 index 023b727..0000000 --- a/1.050R-it.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeib3wfuo34e56vps2tigpm6dk6ps4rvvmx34epu4axvwfuf7wdgwaa \ No newline at end of file diff --git a/adobe-sourcecodepro-fonts.changes b/adobe-sourcecodepro-fonts.changes index 633fc3d..2bf2d0d 100644 --- a/adobe-sourcecodepro-fonts.changes +++ b/adobe-sourcecodepro-fonts.changes @@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Mon Aug 3 09:04:59 UTC 2020 - Yunhe Guo + +- Add GitHub source URL +- Remove README.md because it isn't useful for users +- Change deprecated /usr/share/appdata to /usr/share/metainfo +- Use dos2unix to fix DOS/Windows encoding + +------------------------------------------------------------------- Tue May 7 13:27:27 UTC 2019 - Yunhe Guo - Remove TTF files because better OTF files have been installed diff --git a/adobe-sourcecodepro-fonts.spec b/adobe-sourcecodepro-fonts.spec index 6a5e68b..24fa33a 100644 --- a/adobe-sourcecodepro-fonts.spec +++ b/adobe-sourcecodepro-fonts.spec @@ -1,7 +1,7 @@ # # spec file for package adobe-sourcecodepro-fonts # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,27 +12,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define roman_version 2.030 -%define italic_version 1.050 - Name: adobe-sourcecodepro-fonts -%define _name SourceCodePro -Version: %{roman_version} +Version: 2.030 Release: 0 +%define italic_version 1.050 Summary: A set of OpenType fonts designed for coding environments License: OFL-1.1 Group: System/X11/Fonts -Url: http://sourceforge.net/projects/sourcecodepro.adobe -Source: %{italic_version}R-it.tar.gz +URL: https://adobe-fonts.github.io/source-code-pro/ +Source: https://github.com/adobe-fonts/source-code-pro/archive/%{version}R-ro/%{italic_version}R-it.tar.gz#/source-code-pro-%{version}R-ro-%{italic_version}R-it.tar.gz Source1: adobe-sourcecodepro-fonts.metainfo.xml Obsoletes: SourceCodePro-fonts < %version-%release Provides: SourceCodePro-fonts = %version-%release +BuildRequires: dos2unix BuildRequires: fontpackages-devel -BuildRequires: unzip %reconfigure_fonts_prereq BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch @@ -43,27 +40,26 @@ work well with coding environments. This family of fonts is a complementary design to the Source Sans family. %prep -%setup -q -n source-code-pro-%{roman_version}R-ro-%{italic_version}R-it -# Fix line endings -sed -i 's/\r$//g' LICENSE.txt -chmod a-x LICENSE.txt README.md +%setup -q -n source-code-pro-%{version}R-ro-%{italic_version}R-it %build +chmod -x+X -R * +dos2unix * %install install -d %{buildroot}%{_ttfontsdir} # by default install command uses 755 umask install -m 644 OTF/*.otf %{buildroot}%{_ttfontsdir} -install -d -m0755 %{buildroot}%{_datadir}/appdata -install -D -m0644 %{S:1} %{buildroot}%{_datadir}/appdata/ +install -d -m0755 %{buildroot}%{_datadir}/metainfo +install -D -m0644 %{S:1} %{buildroot}%{_datadir}/metainfo/ %reconfigure_fonts_scriptlets %files %defattr(-,root,root) -%doc LICENSE.txt README.md -%dir %{_datadir}/appdata -%{_datadir}/appdata/adobe-sourcecodepro-fonts.metainfo.xml +%license LICENSE.txt +%dir %{_datadir}/metainfo +%{_datadir}/metainfo/adobe-sourcecodepro-fonts.metainfo.xml %dir %{_ttfontsdir} %{_ttfontsdir}/* diff --git a/source-code-pro-2.030R-ro-1.050R-it.tar.gz b/source-code-pro-2.030R-ro-1.050R-it.tar.gz new file mode 120000 index 0000000..023b727 --- /dev/null +++ b/source-code-pro-2.030R-ro-1.050R-it.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeib3wfuo34e56vps2tigpm6dk6ps4rvvmx34epu4axvwfuf7wdgwaa \ No newline at end of file