]>
Commit | Line | Data |
---|---|---|
17b56772 JB |
1 | Summary: Free UCS scalable fonts in TrueType format |
2 | Summary(pl.UTF-8): Wolnodostępne skalowalne fonty UCS w formacie TrueType | |
1afd5640 | 3 | Name: fonts-TTF-freefont |
23f65ab8 | 4 | Version: 20120503 |
79ca3f74 | 5 | Release: 3 |
1afd5640 | 6 | License: GPL v2 |
7 | Group: Fonts | |
23f65ab8 ŁK |
8 | Source0: http://ftp.gnu.org/gnu/freefont/freefont-ttf-%{version}.zip |
9 | # Source0-md5: 879b76d2e3c8003d567b555743f39154 | |
79ca3f74 AM |
10 | Source1: %{name}-mono.conf |
11 | Source2: %{name}-sans.conf | |
12 | Source3: %{name}-serif.conf | |
17b56772 | 13 | URL: http://www.gnu.org/software/freefont/ |
23f65ab8 | 14 | BuildRequires: unzip |
1afd5640 | 15 | Requires(post,postun): fontpostinst |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %define ttffontsdir %{_fontsdir}/TTF | |
20 | ||
21 | %description | |
17b56772 JB |
22 | This project aims to provide a set of free scalable fonts covering the |
23 | ISO 10646/Unicode UCS (Universal Character Set). | |
1afd5640 | 24 | |
3949cded | 25 | %description -l pl.UTF-8 |
17b56772 JB |
26 | Celem tego projektu jest udostępnienie zestawu wolnodostępnych fontów |
27 | skalowalnych pokrywających zakres uniwersalnego zestawu znaków ISO | |
28 | 10646/Unicode. | |
1afd5640 | 29 | |
30 | %prep | |
7fd41a98 | 31 | %setup -q -n freefont-%{version} |
1afd5640 | 32 | |
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
79ca3f74 AM |
35 | install -d $RPM_BUILD_ROOT{%{ttffontsdir},%{_sysconfdir}/fonts/conf.d,%{_datadir}/fontconfig/conf.avail} |
36 | ||
37 | cp -p *.ttf $RPM_BUILD_ROOT%{ttffontsdir} | |
38 | ||
39 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/69-freefont-ttf-mono.conf | |
40 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/69-freefont-ttf-sans.conf | |
41 | cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/69-freefont-ttf-serif.conf | |
42 | ||
43 | ln -s %{_datadir}/fontconfig/conf.avail/69-freefont-ttf-mono.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d | |
44 | ln -s %{_datadir}/fontconfig/conf.avail/69-freefont-ttf-sans.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d | |
45 | ln -s %{_datadir}/fontconfig/conf.avail/69-freefont-ttf-serif.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d | |
1afd5640 | 46 | |
1afd5640 | 47 | |
48 | %clean | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %post | |
52 | fontpostinst TTF | |
53 | ||
54 | %postun | |
55 | fontpostinst TTF | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
17b56772 JB |
59 | %doc AUTHORS CREDITS ChangeLog README |
60 | %{ttffontsdir}/FreeMono*.ttf | |
61 | %{ttffontsdir}/FreeSans*.ttf | |
62 | %{ttffontsdir}/FreeSerif*.ttf | |
79ca3f74 AM |
63 | %{_datadir}/fontconfig/conf.avail/69-freefont-ttf-*.conf |
64 | %{_sysconfdir}/fonts/conf.d/69-freefont-ttf-*.conf |