1 Summary: Cantarell fonts
2 Name: fonts-OTF-Cantarell
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
12 Requires(post,postun): fontpostinst
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 %define _otffontsdir %{_fontsdir}/OTF
19 Cantarell is a set of fonts designed by Dave Crossland. It is a
20 sans-serif Humanist typeface family.
23 %setup -q -n cantarell-fonts-%{version}
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
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
40 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %{_sysconfdir}/fonts/conf.avail/31-cantarell.conf
52 %{_sysconfdir}/fonts/conf.d/31-cantarell.conf