- Updated to 4.1.8

- Modified build procedure according to GENERATING.txt
f38
Frank Arnold 16 years ago
parent 818d1f7088
commit fd837aceb0

@ -1 +1 @@
LinLibertineSRC-2.7.tgz
LinLibertineSRC-4.1.8.tgz

@ -1,18 +1,20 @@
%define archivename LinLibertineSRC
%define fontdir %{_datadir}/fonts/linux-libertine
Name: linux-libertine-fonts
Version: 2.7.9
Release: 2%{?dist}
Version: 4.1.8
Release: 1%{?dist}
Summary: Linux Libertine Open Fonts
Group: User Interface/X
License: GPLv2+ with exceptions or OFL
URL: http://linuxlibertine.sf.net
Source: http://dl.sf.net/linuxlibertine/%{archivename}-2.7.tgz
Source: http://dl.sf.net/linuxlibertine/%{archivename}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: fontforge
%description
The Linux Libertine Open Fonts are a TrueType font family for practical
use in documents. They were created to provide a free alternative to
@ -29,6 +31,15 @@ fontforge -script "-" *.sfd <<EOF
i = 1
while (i < \$argc)
Open(\$argv[i], 1)
fontname = StrJoin(StrSplit(\$fontname, "O"), "")
familyname = StrJoin(StrSplit(\$familyname, " O"), "")
fullname = StrJoin(StrSplit(\$fullname, " O"), "")
SetFontNames(fontname, familyname, fullname)
ScaleToEm(2048)
RoundToInt()
SetFontOrder(2)
SelectAll()
AutoInstr()
Generate(\$fontname + ".ttf")
Close()
i++
@ -38,7 +49,6 @@ EOF
%install
rm -rf $RPM_BUILD_ROOT
install -d -m 0755 $RPM_BUILD_ROOT%{fontdir}
install -p -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir}
@ -49,26 +59,30 @@ rm -rf $RPM_BUILD_ROOT
%post
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_datadir}/fonts
%{_bindir}/fc-cache %{fontdir} || :
fi
%postun
if [ "$1" = "0" ]; then
if [ $1 -eq 0 ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{_datadir}/fonts
%{_bindir}/fc-cache %{fontdir} || :
fi
fi
%files
%defattr(644,root,root,755)
%doc Bugs Readme *.txt
%doc Readme *.txt
%dir %{fontdir}
%{fontdir}/*.ttf
%changelog
* Fri Nov 21 2008 Frank Arnold <frank@scirocco-5v-turbo.de> 4.1.8-1
- Updated to 4.1.8
- Modified build procedure according to GENERATING.txt
* Wed Sep 3 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
- 2.7.9-2
⚙ Rebuild with pre-F10-freeze fontforge

@ -1 +1 @@
9a34ee20358d3c5aae7d46ed15e43d73 LinLibertineSRC-2.7.tgz
e7357378dc803cf6a2823cae032caf24 LinLibertineSRC-4.1.8.tgz

Loading…
Cancel
Save