]> git.pld-linux.org Git - packages/fonts-OTF-Cantarell.git/blame - fonts-OTF-Cantarell.spec
- updated to 0.0.18
[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
dfa48bd3 4Version: 0.0.18
85d44994 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
dfa48bd3 9# Source0-md5: debdae422cde6df365f4f11c5530607f
74651ac1 10URL: http://abattis.org/cantarell/
31b835fa
MB
11BuildRequires: tar >= 1:1.22
12BuildRequires: xz
74651ac1 13Requires(post,postun): fontpostinst
f9ceff51 14Requires: fontconfig >= 1:2.10.1
74651ac1
MB
15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%define _otffontsdir %{_fontsdir}/OTF
19
20%description
21Cantarell is a set of fonts designed by Dave Crossland. It is a
22sans-serif Humanist typeface family.
23
6280b2ce
JB
24%description -l pl.UTF-8
25Cantarell to zbiór fontów zaprojektowanych przez Dave'a Crosslanda.
26Jest to rodzina krojów bezszeryfowych Humanist.
27
74651ac1
MB
28%prep
29%setup -q -n cantarell-fonts-%{version}
30
31%build
32%configure
33%{__make}
34
35%install
36rm -rf $RPM_BUILD_ROOT
37install -d $RPM_BUILD_ROOT%{_otffontsdir}
f9ceff51 38install -d $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail
74651ac1
MB
39install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
40
41cp -a otf/*.otf $RPM_BUILD_ROOT%{_otffontsdir}
f9ceff51
JR
42cp fontconfig/31-cantarell.conf $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail
43ln -s %{_datadir}/fontconfig/conf.avail/31-cantarell.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
74651ac1
MB
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%post
49fontpostinst OTF
50
51%postun
52fontpostinst OTF
53
54%files
55%defattr(644,root,root,755)
3c3f41aa 56%doc COPYING NEWS README
f9ceff51 57%{_datadir}/fontconfig/conf.avail/31-cantarell.conf
74651ac1 58%{_sysconfdir}/fonts/conf.d/31-cantarell.conf
6280b2ce 59%{_otffontsdir}/Cantarell-*.otf
This page took 0.048299 seconds and 4 git commands to generate.