Upgrade to 4.4.1 Fix to match current font guidelines

f38
Kevin Fenzi 16 years ago
parent d62747a171
commit f157565de3

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

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
<fontconfig>
<alias>
<family>Linux Libertine</family>
<accept>
<family>Linux Libertine O</family>
</accept>
</alias>
</fontconfig>

@ -1,33 +1,35 @@
%define archivename LinLibertineSRC %global fontname linux-libertine
%define fontdir %{_datadir}/fonts/linux-libertine %global fontconf 75-%{fontname}.conf
%global archivename LinLibertineSRC
Name: linux-libertine-fonts Name: %{fontname}-fonts
Version: 4.1.8 Version: 4.4.1
Release: 3%{?dist} Release: 1%{?dist}
Summary: Linux Libertine Open Fonts Summary: Linux Libertine Open Fonts
Group: User Interface/X
License: GPLv2+ with exceptions or OFL Group: User Interface/X
URL: http://linuxlibertine.sf.net License: GPLv2+ with exceptions or OFL
Source: http://dl.sf.net/linuxlibertine/%{archivename}-%{version}.tgz URL: http://linuxlibertine.sf.net
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: http://download.sourceforge.net/sourceforge/linuxlibertine/LinLibertineSRC-4.4.1.tgz
BuildArch: noarch Source1: %{name}-fontconfig.conf
BuildRequires: fontforge BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: fontpackages-devel
BuildRequires: fontforge
Requires: fontpackages-filesystem
%description %description
The Linux Libertine Open Fonts are a TrueType font family for practical The Linux Libertine Open Fonts are a TrueType font family for practical
use in documents. They were created to provide a free alternative to use in documents. They were created to provide a free alternative to
proprietary standard fonts. proprietary standard fonts.
%prep %prep
%setup -q -n %{archivename} %setup -q -n %{archivename}
sed -i -e 's/\r//' OFL.txt sed -i -e 's/\r//' OFL.txt
%build %build
fontforge -script "-" *.sfd <<EOF fontforge -lang=ff -script "-" *.sfd <<EOF
i = 1 i = 1
while (i < \$argc) while (i < \$argc)
Open(\$argv[i], 1) Open(\$argv[i], 1)
@ -46,39 +48,30 @@ while (i < \$argc)
endloop endloop
EOF EOF
%install %install
rm -rf $RPM_BUILD_ROOT rm -fr %{buildroot}
install -d -m 0755 $RPM_BUILD_ROOT%{fontdir} install -m 0755 -d %{buildroot}%{_fontdir}
install -p -m 0644 *.ttf $RPM_BUILD_ROOT%{fontdir} install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
%clean
rm -rf $RPM_BUILD_ROOT
%post
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{fontdir} || :
fi
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
%postun install -m 0644 -p %{SOURCE1} \
if [ $1 -eq 0 ]; then %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
if [ -x %{_bindir}/fc-cache ]; then ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{_bindir}/fc-cache %{fontdir} || : %{buildroot}%{_fontconfig_confdir}/%{fontconf}
fi
fi
%clean
rm -fr %{buildroot}
%files %_font_pkg -f %{fontconf} *.ttf
%defattr(644,root,root,755) %doc OFL.txt GPL.txt ChangeLog.txt LICENCE.txt Readme Readme-TEX.txt
%doc Readme *.txt
%dir %{fontdir}
%{fontdir}/*.ttf
%changelog %changelog
* Tue Jul 14 2009 Kevin Fenzi <kevin@tummy.com> - 4.4.1-1
- Upgrade to 4.4.1
- Fix to match current font guidelines
* Sun Mar 15 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net> - 4.1.8-3 * Sun Mar 15 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net> - 4.1.8-3
— Make sure F11 font packages have been built with F11 fontforge — Make sure F11 font packages have been built with F11 fontforge

@ -1 +1 @@
e7357378dc803cf6a2823cae032caf24 LinLibertineSRC-4.1.8.tgz a0fc3c60fcfdc6b7261f746043efe980 LinLibertineSRC-4.4.1.tgz

Loading…
Cancel
Save