/[packages]/cauldron/fonts-ttf-libertine/current/SPECS/fonts-ttf-libertine.spec
ViewVC logotype

Contents of /cauldron/fonts-ttf-libertine/current/SPECS/fonts-ttf-libertine.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3295 - (show annotations) (download)
Sun Jan 9 16:37:39 2011 UTC (13 years, 3 months ago) by eandry
File size: 1309 byte(s)
imported package fonts-ttf-libertine
1 %define archivename LinLibertineFont
2 %define fontdir %{_datadir}/fonts/ttf/libertine
3
4 Name: fonts-ttf-libertine
5 Version: 4.4.1
6 Release: %mkrel 3
7 Summary: Linux Libertine Open Fonts
8 Group: System/Fonts/True type
9 License: GPL+ and OFL
10 URL: http://linuxlibertine.sf.net
11 Source: http://dl.sf.net/linuxlibertine/%{archivename}-%{version}.tgz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
13 BuildArch: noarch
14 BuildRequires: freetype-tools
15 Provides: linux-libertine-fonts
16 Obsoletes: linux-libertine-fonts
17
18 %description
19 The Linux Libertine Open Fonts are a TrueType font family for practical
20 use in documents. They were created to provide a free alternative to
21 proprietary standard fonts.
22
23
24 %prep
25 %setup -q -n %{archivename}
26
27
28 %build
29
30
31 %install
32 rm -rf %{buildroot}
33
34 install -d -m 0755 %{buildroot}%{fontdir}
35 install -p -m 0644 *.ttf %{buildroot}%{fontdir}
36 ttmkfdir -d %{buildroot}%{fontdir} -o %{buildroot}%{fontdir}/fonts.scale
37 cp -f %{buildroot}%{fontdir}/fonts.scale %{buildroot}%{fontdir}/fonts.dir
38 mkdir -p %{buildroot}%{_sysconfdir}/X11/fontpath.d
39 ln -s %{fontdir} %{buildroot}%{_sysconfdir}/X11/fontpath.d/ttf-libertine:pri=50
40
41 %clean
42 rm -rf %{buildroot}
43
44
45 %files
46 %defattr(644,root,root,755)
47 %doc Bugs Readme ChangeLog.txt LICENCE.txt
48 %{fontdir}
49 %{_sysconfdir}/X11/fontpath.d/ttf-libertine:pri=50
50
51
52

  ViewVC Help
Powered by ViewVC 1.1.30