- 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
This commit is contained in:
Thomas Schraitle 2012-09-28 11:27:36 +00:00 committed by Git OBS Bridge
commit a9924df085
5 changed files with 107 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8681e3a1b0c32e7c32b03d883a429cd460f4bded8953d67d6e32f499ba3c135c
size 613755

View File

@ -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

View File

@ -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