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