]> git.pld-linux.org Git - packages/fonts-OTF-freefont.git/blame - fonts-OTF-freefont.spec
- rel 3; install fontconfig files (from fc)
[packages/fonts-OTF-freefont.git] / fonts-OTF-freefont.spec
CommitLineData
5326b414
JB
1Summary: Free UCS scalable fonts in OpenType format
2Summary(pl.UTF-8): Wolnodostępne skalowalne fonty UCS w formacie OpenType
3Name: fonts-OTF-freefont
75133502 4Version: 20120503
abbdd61b 5Release: 3
5326b414
JB
6License: GPL v2
7Group: Fonts
75133502
ŁK
8Source0: http://ftp.gnu.org/gnu/freefont/freefont-otf-%{version}.tar.gz
9# Source0-md5: e23c149a4cc494ac1f473f13cca16b67
abbdd61b
AM
10Source1: %{name}-mono.conf
11Source2: %{name}-sans.conf
12Source3: %{name}-serif.conf
5326b414 13URL: http://www.gnu.org/software/freefont/
5326b414
JB
14Requires(post,postun): fontpostinst
15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%define otffontsdir %{_fontsdir}/OTF
19
20%description
21This project aims to provide a set of free scalable fonts covering the
22ISO 10646/Unicode UCS (Universal Character Set).
23
24%description -l pl.UTF-8
25Celem tego projektu jest udostępnienie zestawu wolnodostępnych fontów
26skalowalnych pokrywających zakres uniwersalnego zestawu znaków ISO
2710646/Unicode.
28
29%prep
30%setup -q -n freefont-%{version}
31
32%install
33rm -rf $RPM_BUILD_ROOT
abbdd61b 34install -d $RPM_BUILD_ROOT{%{otffontsdir},%{_sysconfdir}/fonts/conf.d,%{_datadir}/fontconfig/conf.avail}
5326b414 35
abbdd61b
AM
36cp -p *.otf $RPM_BUILD_ROOT%{otffontsdir}
37
38cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/69-freefont-otf-mono.conf
39cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/69-freefont-otf-sans.conf
40cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/69-freefont-otf-serif.conf
41
42ln -s %{_datadir}/fontconfig/conf.avail/69-freefont-otf-mono.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
43ln -s %{_datadir}/fontconfig/conf.avail/69-freefont-otf-sans.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
44ln -s %{_datadir}/fontconfig/conf.avail/69-freefont-otf-serif.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
5326b414
JB
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%post
50fontpostinst OTF
51
52%postun
53fontpostinst OTF
54
55%files
56%defattr(644,root,root,755)
57%doc AUTHORS CREDITS ChangeLog README
58%{otffontsdir}/FreeMono*.otf
59%{otffontsdir}/FreeSans*.otf
60%{otffontsdir}/FreeSerif*.otf
abbdd61b
AM
61%{_datadir}/fontconfig/conf.avail/69-freefont-otf-*.conf
62%{_sysconfdir}/fonts/conf.d/69-freefont-otf-*.conf
This page took 0.067797 seconds and 4 git commands to generate.