From a9924df0856b4a424f8fe4a684e19abd23fdf2981c393ca66af82191319d9661 Mon Sep 17 00:00:00 2001 From: Thomas Schraitle Date: Fri, 28 Sep 2012 11:27:36 +0000 Subject: [PATCH] - Renamed from SourceCodePro package, fixed .changes and .spec file OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/adobe-sourcecodepro-fonts?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ .gitignore | 1 + SourceCodePro_FontsOnly-1.009.zip | 3 ++ adobe-sourcecodepro-fonts.changes | 21 +++++++++++ adobe-sourcecodepro-fonts.spec | 59 +++++++++++++++++++++++++++++++ 5 files changed, 107 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 SourceCodePro_FontsOnly-1.009.zip create mode 100644 adobe-sourcecodepro-fonts.changes create mode 100644 adobe-sourcecodepro-fonts.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/SourceCodePro_FontsOnly-1.009.zip b/SourceCodePro_FontsOnly-1.009.zip new file mode 100644 index 0000000..e4031f3 --- /dev/null +++ b/SourceCodePro_FontsOnly-1.009.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8681e3a1b0c32e7c32b03d883a429cd460f4bded8953d67d6e32f499ba3c135c +size 613755 diff --git a/adobe-sourcecodepro-fonts.changes b/adobe-sourcecodepro-fonts.changes new file mode 100644 index 0000000..dbf092a --- /dev/null +++ b/adobe-sourcecodepro-fonts.changes @@ -0,0 +1,21 @@ +------------------------------------------------------------------- +Fri Sep 28 11:19:59 UTC 2012 - toms@opensuse.org + +- Renamed from SourceCodePro package, fixed .changes and .spec file + +------------------------------------------------------------------- +Tue Sep 25 20:41:28 UTC 2012 - robert.munteanu@gmail.com + +- Fixed copyright header + +------------------------------------------------------------------- +Tue Sep 25 10:49:01 UTC 2012 - toms@opensuse.org + +- Spec: Use %{_ttfontsdir} macro instead of %{_datadir} +- Fixed URL + +------------------------------------------------------------------- +Tue Sep 25 09:23:43 UTC 2012 - robert.munteanu@gmail.com + +- Initial release based on version 1.009 + diff --git a/adobe-sourcecodepro-fonts.spec b/adobe-sourcecodepro-fonts.spec new file mode 100644 index 0000000..687c438 --- /dev/null +++ b/adobe-sourcecodepro-fonts.spec @@ -0,0 +1,59 @@ +# +# spec file for package SourceCodePro-fonts +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + +Name: adobe-sourcecodepro-fonts +%define _name SourceCodePro +# Thre is no real version number, so we use the zip files release date. +Version: 1.009 +Release: 0 +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: %{_name}_FontsOnly-%{version}.zip +BuildRequires: fontpackages-devel +BuildRequires: unzip +%reconfigure_fonts_prereq +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +Source Code is a set of monospaced OpenType fonts that have been designed to +work well with coding environments. This family of fonts is a complementary +design to the Source Sans family. + +%prep +%setup -q -n %{_name}_FontsOnly-%{version} +# Fix line endings +sed -i 's/\r$//g' LICENSE.txt +chmod a-x LICENSE.txt *.html + +%build + +%install +install -d %{buildroot}%{_ttfontsdir} +install *.otf *.ttf %{buildroot}%{_ttfontsdir} + +%reconfigure_fonts_scriptlets + +%files +%defattr(-,root,root) +%doc LICENSE.txt *.html +%dir %{_ttfontsdir} +%{_ttfontsdir}/* + +%changelog