]>
Commit | Line | Data |
---|---|---|
74651ac1 | 1 | Summary: Cantarell fonts |
6280b2ce | 2 | Summary(pl.UTF-8): Fonty Cantarell |
74651ac1 | 3 | Name: fonts-OTF-Cantarell |
fee5e7fc | 4 | Version: 0.0.9 |
2552432f | 5 | Release: 2 |
3c3f41aa | 6 | License: OFL v1.1 |
74651ac1 | 7 | Group: Fonts |
31b835fa | 8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/cantarell-fonts/0.0/cantarell-fonts-%{version}.tar.xz |
fee5e7fc | 9 | # Source0-md5: 606275190e4c1927ce4b4cfdb55363a2 |
74651ac1 | 10 | URL: http://abattis.org/cantarell/ |
31b835fa MB |
11 | BuildRequires: tar >= 1:1.22 |
12 | BuildRequires: xz | |
74651ac1 MB |
13 | Requires(post,postun): fontpostinst |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %define _otffontsdir %{_fontsdir}/OTF | |
18 | ||
19 | %description | |
20 | Cantarell is a set of fonts designed by Dave Crossland. It is a | |
21 | sans-serif Humanist typeface family. | |
22 | ||
6280b2ce JB |
23 | %description -l pl.UTF-8 |
24 | Cantarell to zbiór fontów zaprojektowanych przez Dave'a Crosslanda. | |
25 | Jest to rodzina krojów bezszeryfowych Humanist. | |
26 | ||
74651ac1 MB |
27 | %prep |
28 | %setup -q -n cantarell-fonts-%{version} | |
29 | ||
30 | %build | |
31 | %configure | |
32 | %{__make} | |
33 | ||
34 | %install | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | install -d $RPM_BUILD_ROOT%{_otffontsdir} | |
37 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail | |
38 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d | |
39 | ||
40 | cp -a otf/*.otf $RPM_BUILD_ROOT%{_otffontsdir} | |
41 | cp fontconfig/31-cantarell.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail | |
42 | ln -s ../conf.avail/31-cantarell.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d | |
43 | ||
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %post | |
48 | fontpostinst OTF | |
49 | ||
50 | %postun | |
51 | fontpostinst OTF | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
3c3f41aa | 55 | %doc COPYING NEWS README |
74651ac1 MB |
56 | %{_sysconfdir}/fonts/conf.avail/31-cantarell.conf |
57 | %{_sysconfdir}/fonts/conf.d/31-cantarell.conf | |
6280b2ce | 58 | %{_otffontsdir}/Cantarell-*.otf |