]> git.pld-linux.org Git - packages/fonts-OTF-Cantarell.git/blame - fonts-OTF-Cantarell.spec
- include COPYING (SIL Open Font License v1.1, not included in common-licenses)
[packages/fonts-OTF-Cantarell.git] / fonts-OTF-Cantarell.spec
CommitLineData
74651ac1 1Summary: Cantarell fonts
6280b2ce 2Summary(pl.UTF-8): Fonty Cantarell
74651ac1 3Name: fonts-OTF-Cantarell
fee5e7fc 4Version: 0.0.9
74651ac1 5Release: 1
3c3f41aa 6License: OFL v1.1
74651ac1 7Group: Fonts
31b835fa 8Source0: http://ftp.gnome.org/pub/GNOME/sources/cantarell-fonts/0.0/cantarell-fonts-%{version}.tar.xz
fee5e7fc 9# Source0-md5: 606275190e4c1927ce4b4cfdb55363a2
74651ac1 10URL: http://abattis.org/cantarell/
31b835fa
MB
11BuildRequires: tar >= 1:1.22
12BuildRequires: xz
74651ac1
MB
13Requires(post,postun): fontpostinst
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define _otffontsdir %{_fontsdir}/OTF
18
19%description
20Cantarell is a set of fonts designed by Dave Crossland. It is a
21sans-serif Humanist typeface family.
22
6280b2ce
JB
23%description -l pl.UTF-8
24Cantarell to zbiór fontów zaprojektowanych przez Dave'a Crosslanda.
25Jest to rodzina krojów bezszeryfowych Humanist.
26
74651ac1
MB
27%prep
28%setup -q -n cantarell-fonts-%{version}
29
30%build
31%configure
32%{__make}
33
34%install
35rm -rf $RPM_BUILD_ROOT
36install -d $RPM_BUILD_ROOT%{_otffontsdir}
37install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
38install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
39
40cp -a otf/*.otf $RPM_BUILD_ROOT%{_otffontsdir}
41cp fontconfig/31-cantarell.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.avail
42ln -s ../conf.avail/31-cantarell.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
43
44%clean
45rm -rf $RPM_BUILD_ROOT
46
47%post
48fontpostinst OTF
49
50%postun
51fontpostinst OTF
52
53%files
54%defattr(644,root,root,755)
3c3f41aa 55%doc COPYING NEWS README
74651ac1
MB
56%{_sysconfdir}/fonts/conf.avail/31-cantarell.conf
57%{_sysconfdir}/fonts/conf.d/31-cantarell.conf
6280b2ce 58%{_otffontsdir}/Cantarell-*.otf
This page took 0.048931 seconds and 4 git commands to generate.