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