]> git.pld-linux.org Git - packages/fonts-OTF-Cantarell.git/blob - fonts-OTF-Cantarell.spec
- include COPYING (SIL Open Font License v1.1, not included in common-licenses)
[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.9
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:  606275190e4c1927ce4b4cfdb55363a2
10 URL:            http://abattis.org/cantarell/
11 BuildRequires:  tar >= 1:1.22
12 BuildRequires:  xz
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
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
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)
55 %doc COPYING NEWS README
56 %{_sysconfdir}/fonts/conf.avail/31-cantarell.conf
57 %{_sysconfdir}/fonts/conf.d/31-cantarell.conf
58 %{_otffontsdir}/Cantarell-*.otf
This page took 0.078124 seconds and 3 git commands to generate.