File LinuxLibertine.spec of Package LinuxLibertine
#
# spec file for package LinuxLibertine
#
# Copyright (c) 2011 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: LinuxLibertine
%define fontdir /usr/share/fonts/truetype
License: GPLv2+ and OFL
Group: System/X11/Fonts
PreReq: %suseconfig_fonts_prereq
Version: 5.1.3
Release: 1
Summary: Free Serif Fonts
Source: http://surfnet.dl.sourceforge.net/sourceforge/linuxlibertine/LinLibertineOTF_5.1.3_2011_06_21.tar.bz2
Url: http://linuxlibertine.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Free serif fonts from the LinuxLibertine project. These might be useful
when exchanging documents using Times fonts.
%prep
%setup -c -q -n LinLibertine
chmod a-x *.txt
%build
%install
mkdir -p $RPM_BUILD_ROOT%{fontdir}/
install -m 0644 *.otf $RPM_BUILD_ROOT%{fontdir}
%post
%run_suseconfig_fonts
%postun
%run_suseconfig_fonts
%files
%defattr(-,root,root,755)
%doc Bugs.txt ChangeLog.txt GPL.txt LICENCE.txt OFL.txt README
%{fontdir}
%changelog