File LinuxLibertine.spec of Package LinuxLibertine

#
# spec file for package LinuxLibertine (Version 2.7.9)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           LinuxLibertine
BuildRequires:  dos2unix xorg-x11-devel
%if "%(xft-config --prefix)" == "/usr"
%define	fontdir     /usr/share/fonts/truetype
%else
%define	fontdir     /usr/X11R6/lib/X11/fonts/truetype
%endif
License:        GPL v2 or later
Group:          System/X11/Fonts
AutoReqProv:    on
PreReq:         %suseconfig_fonts_prereq
Version:        2.7.9
Release:        1
Summary:        Free Serif Fonts
Source:         http://surfnet.dl.sourceforge.net/sourceforge/linuxlibertine/LinLibertineFont-2.7.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.



Authors:
--------
    PhilTheLion@users.sourceforge.net

%prep
%setup -n LinLibertineFont
dos2unix OFL.txt
chmod a-x *.txt Bugs Readme LaTex/*.txt

%build

%install
mkdir -p $RPM_BUILD_ROOT%{fontdir}/
# use the .ttf instead of the .otf for the moment because the .otf cannot
# yet be embedded for printing in most applications (for example, embedding
# of .otf works in qt4 but noot yet in qt3, see bug #157630)
install -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir}/

%post
%run_suseconfig_fonts

%postun
%run_suseconfig_fonts

%files
%defattr(-,root,root,755)
%doc Bugs ChangeLog.txt GPL.txt OFL.txt Readme LaTex
%{fontdir}

%changelog
* Mon Mar 03 2008 mfabian@suse.de
- update to 2.7.9. Changes from ChangeLog.txt:
  • new Hinting! Now it is possible to use Libertine with Word on
  Windows properly. The shape on screen should be clearer now
  on every system!
  • new kern pairs for better typography
  • some wrong contour directions corrected
  • many small corrections
  • OT "fina" has been removed from wordend-sigma
  • countless small improvements
  • kerning for Caps variant
  • the conflict (that came up lately with a library update)
  between underlined and regular is diminished
  • Symbols for „page“, „graph“, „picture“ and „table“ added
  • Oldstyle numbers (minuscle numbers) were just contained as
  proportionals. Somebody wanted them also as table numbers.
  Ladder became standard oldstyles now. Some of these glyphs
  look somehow thinner to fit them on the fixed width.
  • bold italic variant had a wrong style entry which seemed
  to confuse Mac's fonthandling, also other style confusions
  should be fixed now
  • bold italic also had wrong metrics which resulted in a
  cutoff of glyph parts and wrong line spacing.
  • großes Eszett hinzugefügt (uni1E9E) entsprechend
  Kapitälchen-Eszett
  • kleines Eszett so verändert, dass es zum großen passt
  (ſz statt  ſs), das vorige Eszett ist als germandbls.alt
  weiterenthalten
  • Im Stilsatz ss03 kann für Schweizer nun automatisch von
  Eszetts auf ss umgestellt werden.
  • die dt. ÄÖÜ sind nun von der Alternativposition an die
  rechte Stelle gerückt. Für die nichtdeutschsprachige Nutzung
  empfehlen sich jetzt die (vormals standart, jetzt aber auf
  die Alternativposition gewechselten Akzentuierten)
  • Due to A. Panovs help hopefully a lot of design
  improvements for the cyrrilic alphabet.
  • Some changes in Small Caps for better spacing.
  • FO-overlap in Small Caps (due to wrong kerning entry) removed
  • Complete revision of the bold version. Should result in a
  clearer shape and better thin-width-contrast
  • Due to better support in the FontForge editor the
  OpenType-tables have been completely redefined.
* Fri May 11 2007 mfabian@suse.de
- update to 2.5.9 (Bugzilla #272050).
* Wed Aug 09 2006 mfabian@suse.de
- move fonts to /usr/share/fonts/truetype
  (openSUSE 10.2 will use X11R7).
* Tue Aug 01 2006 mfabian@suse.de
- updated to 2.1.0:
- use run_suseconfig_fonts macro.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Sep 06 2005 dmueller@suse.de
- update to 1.0.1 (#98882)
* Thu Apr 15 2004 adrian@suse.de
- initial package of version 0.5.9
  * Serif only fonts
openSUSE Build Service is sponsored by