You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
176 lines
5.7 KiB
176 lines
5.7 KiB
%global fontname linux-libertine
|
|
%global prio_libertine 60
|
|
%global prio_biolinum 61
|
|
%global fontconf_libertine %{prio_libertine}-%{fontname}-libertine.conf
|
|
%global fontconf_biolinum %{prio_biolinum}-%{fontname}-biolinum.conf
|
|
%global archivename LinLibertine
|
|
%define posttag 2
|
|
|
|
%define common_desc \
|
|
The Linux Libertine Open Fonts are a TrueType font family for practical \
|
|
use in documents. They were created to provide a free alternative to \
|
|
proprietary standard fonts.
|
|
|
|
Name: %{fontname}-fonts
|
|
Version: 4.7.5
|
|
Release: 2.%{posttag}%{?dist}
|
|
Summary: Linux Libertine Open Fonts
|
|
|
|
Group: User Interface/X
|
|
License: GPLv2+ with exceptions or OFL
|
|
URL: http://linuxlibertine.sf.net
|
|
Source0: http://download.sourceforge.net/sourceforge/linuxlibertine/LinLibertineSRC-%{version}-%{posttag}.tgz
|
|
Source1: %{name}-libertine-fontconfig.conf
|
|
Source2: %{name}-biolinum-fontconfig.conf
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: fontpackages-devel
|
|
BuildRequires: fontforge
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
|
|
%description
|
|
%common_desc
|
|
|
|
This package contains Serif fonts.
|
|
|
|
%package -n %{fontname}-biolinum-fonts
|
|
Summary: Sans-serif fonts from Linux Libertine Open Fonts
|
|
Requires: %{name}-common = %{version}-%{release}
|
|
Group: User Interface/X
|
|
|
|
%description -n %{fontname}-biolinum-fonts
|
|
%common_desc
|
|
|
|
This package contains Sans fonts.
|
|
|
|
%package common
|
|
Summary: Common files for Linux Libertine Open Fonts
|
|
Requires: fontpackages-filesystem
|
|
Group: User Interface/X
|
|
|
|
%description common
|
|
%common_desc
|
|
|
|
This package consists of files used by other %{name} packages.
|
|
|
|
%prep
|
|
%setup -q -n %{archivename}
|
|
sed -i -e 's/\r//' OFL.txt
|
|
|
|
%build
|
|
for i in $(find -name '*.sfd'); do
|
|
(cd scripts;
|
|
./bailly-2.sh "../$i" ttf
|
|
)
|
|
done
|
|
mv scripts/*.ttf .
|
|
|
|
%install
|
|
rm -fr %{buildroot}
|
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
|
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
|
|
|
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
|
%{buildroot}%{_fontconfig_confdir}
|
|
|
|
install -m 0644 -p %{SOURCE1} \
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf_libertine}
|
|
install -m 0644 -p %{SOURCE1} \
|
|
%{buildroot}%{_fontconfig_templatedir}/%{fontconf_biolinum}
|
|
|
|
for fconf in %{fontconf_libertine} %{fontconf_biolinum}; do
|
|
ln -s %{_fontconfig_templatedir}/$fconf \
|
|
%{buildroot}%{_fontconfig_confdir}/$fconf
|
|
done
|
|
|
|
%clean
|
|
rm -fr %{buildroot}
|
|
|
|
%files common
|
|
%defattr(0644, root, root, 0755)
|
|
%doc Bugs.txt ChangeLog.txt GPL.txt LICENCE.txt OFL.txt Readme-TEX.txt Readme.txt
|
|
|
|
%_font_pkg -f %{fontconf_libertine} LinLibertine*.ttf
|
|
|
|
%_font_pkg -n biolinum -f %{fontconf_biolinum} LinBiolinum*.ttf
|
|
|
|
%changelog
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7.5-2.2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Thu Feb 17 2011 Akira TAGOH <tagoh@redhat.com> - 4.7.5-1.2
|
|
- Improve the spec file to meet the packaging guidelines. (#477418)
|
|
- Updates to 4.7.5-2 (#628540)
|
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* 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
|
|
— Make sure F11 font packages have been built with F11 fontforge
|
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.8-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
* 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
|
|
|
|
* Sun Feb 03 2008 Frank Arnold <frank@scirocco-5v-turbo.de> 2.7.9-1
|
|
- Updated to 2.7.9
|
|
- Drop generated PDF files to save space
|
|
|
|
* Sun Sep 16 2007 Kevin Fenzi <kevin@tummy.com> - 2.6.9-1
|
|
- Updated to 2.6.9
|
|
- Update License tag
|
|
|
|
* Sat Mar 17 2007 Frank Arnold <frank@scirocco-5v-turbo.de> 2.4.9-1
|
|
- Updated to 2.4.9
|
|
- Reenabled generation of PDF files
|
|
|
|
* Tue Oct 01 2006 Frank Arnold <frank@scirocco-5v-turbo.de> 2.2.0-1
|
|
- Updated to 2.2.0
|
|
- Removed ghosted cache file as it's no longer stored in tree
|
|
- Disabled generation of PDF files because fontforge will segfault
|
|
- Added OFL to License field
|
|
|
|
* Tue Sep 19 2006 Kevin Fenzi <kevin@tummy.com> 2.1.9-2
|
|
- Upload proper 2.1.9 sources and rebuild
|
|
|
|
* Tue Sep 19 2006 Kevin Fenzi <kevin@tummy.com> 2.1.9-1
|
|
- Update to 2.1.9
|
|
|
|
* Tue Aug 29 2006 Frank Arnold <frank@scirocco-5v-turbo.de> 2.1.0-1
|
|
- Updated to 2.1.0
|
|
|
|
* Tue Feb 28 2006 Frank Arnold <frank@scirocco-5v-turbo.de> 2.0.4-2
|
|
- Named back to linux-libertine-fonts
|
|
|
|
* Wed Feb 13 2006 Frank Arnold <frank@scirocco-5v-turbo.de> 2.0.4-1
|
|
- Updated to 2.0.4
|
|
- Removed handling of fonts.cache-2
|
|
|
|
* Wed Feb 01 2006 Frank Arnold <frank@scirocco-5v-turbo.de> 2.0.1-3
|
|
- Nuked separate fontforge build script, now in %%build section
|
|
|
|
* Tue Jan 31 2006 Frank Arnold <frank@scirocco-5v-turbo.de> 2.0.1-2
|
|
- Fixed the following issues addressed by Ignacio Vazquez-Abrams
|
|
- Package renaming to font-linux-libertine
|
|
- Generate fonts from sources
|
|
- Sample sheets for each font in PDF format
|
|
|
|
* Mon Jan 30 2006 Frank Arnold <frank@scirocco-5v-turbo.de> 2.0.1-1
|
|
- Initial RPM release
|
|
- Spec derived from other font packages
|