2012-09-28 13:27:36 +02:00
|
|
|
#
|
2012-12-07 09:36:14 +01:00
|
|
|
# spec file for package adobe-sourcecodepro-fonts
|
2012-09-28 13:27:36 +02:00
|
|
|
#
|
2013-01-17 07:55:21 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2012-09-28 13:27:36 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2012-12-07 09:36:14 +01:00
|
|
|
|
2012-09-28 13:27:36 +02:00
|
|
|
Name: adobe-sourcecodepro-fonts
|
|
|
|
%define _name SourceCodePro
|
2013-01-17 07:55:21 +01:00
|
|
|
Version: 1.017
|
2012-09-28 13:27:36 +02:00
|
|
|
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
|
2012-09-28 14:22:50 +02:00
|
|
|
Obsoletes: SourceCodePro-fonts < %version-%release
|
|
|
|
Provides: SourceCodePro-fonts = %version-%release
|
2012-09-28 13:27:36 +02:00
|
|
|
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}
|
2012-10-02 08:41:29 +02:00
|
|
|
install OTF/*.otf TTF/*.ttf %{buildroot}%{_ttfontsdir}
|
2012-09-28 13:27:36 +02:00
|
|
|
|
|
|
|
%reconfigure_fonts_scriptlets
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc LICENSE.txt *.html
|
|
|
|
%dir %{_ttfontsdir}
|
|
|
|
%{_ttfontsdir}/*
|
|
|
|
|
|
|
|
%changelog
|