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: %{fontname}-fonts
Name: linux-libertine-fonts Version: 4.4.1
Version: 4.1.8 Release: 1%{?dist}
Release: 3%{?dist}
Summary: Linux Libertine Open Fonts Summary: Linux Libertine Open Fonts
Group: User Interface/X Group: User Interface/X
License: GPLv2+ with exceptions or OFL License: GPLv2+ with exceptions or OFL
URL: http://linuxlibertine.sf.net URL: http://linuxlibertine.sf.net
Source: http://dl.sf.net/linuxlibertine/%{archivename}-%{version}.tgz Source0: http://download.sourceforge.net/sourceforge/linuxlibertine/LinLibertineSRC-4.4.1.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source1: %{name}-fontconfig.conf
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch BuildArch: noarch
BuildRequires: fontpackages-devel
BuildRequires: fontforge 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}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
%clean install -m 0644 -p %{SOURCE1} \
rm -rf $RPM_BUILD_ROOT %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
%clean
rm -fr %{buildroot}
%post %_font_pkg -f %{fontconf} *.ttf
if [ -x %{_bindir}/fc-cache ]; then %doc OFL.txt GPL.txt ChangeLog.txt LICENCE.txt Readme Readme-TEX.txt
%{_bindir}/fc-cache %{fontdir} || :
fi
%postun
if [ $1 -eq 0 ]; then
if [ -x %{_bindir}/fc-cache ]; then
%{_bindir}/fc-cache %{fontdir} || :
fi
fi
%files
%defattr(644,root,root,755)
%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