File LinuxLibertine.spec of Package LinuxLibertine

# spec file for package LinuxLibertine (Version 4.7.5)
# Copyright (c) 2010 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

# norootforbuild

Name:           LinuxLibertine
%define	fontdir     /usr/share/fonts/truetype
License:        GPLv2+
Group:          System/X11/Fonts
AutoReqProv:    on
PreReq:         %suseconfig_fonts_prereq
Version:        4.7.5
Release:        1
Summary:        Free Serif Fonts
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

Free serif fonts from the LinuxLibertine project. These might be useful
when exchanging documents using Times fonts.


%setup -q -n LinLibertine
chmod a-x *.txt


mkdir -p $RPM_BUILD_ROOT%{fontdir}/
for font in Fonts/*.otf; do
  mv -v $font $(basename $font | sed -e "{s/-[0-9].\+$//gi}").otf
install -m 0644 *.otf $RPM_BUILD_ROOT%{fontdir}

rm -rf %{buildroot}



%doc Bugs.txt ChangeLog.txt GPL.txt LICENCE.txt OFL.txt Readme.txt Readme-TEX.txt

openSUSE Build Service is sponsored by