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