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.bz2
8 # Source0-md5: cc1cc6ca1080853ab315ed1783c4f7a8
9 URL: http://abattis.org/cantarell/
10 Requires(post,postun): fontpostinst
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14 %define _otffontsdir %{_fontsdir}/OTF
17 Cantarell is a set of fonts designed by Dave Crossland. It is a
18 sans-serif Humanist typeface family.
21 %setup -q -n cantarell-fonts-%{version}
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_otffontsdir}
30 install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
31 install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
33 cp -a otf/*.otf $RPM_BUILD_ROOT%{_otffontsdir}
34 cp fontconfig/31-cantarell.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
35 ln -s ../conf.avail/31-cantarell.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
38 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
49 %{_sysconfdir}/fonts/conf.avail/31-cantarell.conf
50 %{_sysconfdir}/fonts/conf.d/31-cantarell.conf