File SourceSansPro-fonts.spec of Package SourceSansPro-fonts
#
# spec file for package
#
# Copyright (c) 2012 Dominique Leuenberger, Amsterdam, Netherlands
#
# 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: SourceSansPro-fonts
%define _name SourceSansPro
# Thre is no real version number, so we use the zip files release date.
Version: 1.033
Release: 0
License: OFL-1.1
Summary: A set of OpenType fonts designed for user interfaces
Url: http://sourceforge.net/projects/sourcesans.adobe/
Group: System/X11/Fonts
Source: %{_name}-%{version}.zip
BuildRequires: unzip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Source Sans is a set of OpenType fonts that have been designed to work well in user interface (UI) environments, as well as in text setting for screen and print.
%prep
%setup -q -n %{_name}_FontsOnly-%{version}
%build
%install
install -d %{buildroot}%{_datadir}/fonts/truetype/
install OTF/*.otf %{buildroot}%{_datadir}/fonts/truetype/
%files
%defattr(-,root,root)
%doc LICENSE.txt
%dir %{_datadir}/fonts/truetype/
%{_datadir}/fonts/truetype/SourceSansPro*.otf
%changelog