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