]> git.pld-linux.org Git - packages/fonts-OTF-Cantarell.git/blame_incremental - fonts-OTF-Cantarell.spec
- updated to 0.0.18
[packages/fonts-OTF-Cantarell.git] / fonts-OTF-Cantarell.spec
... / ...
CommitLineData
1Summary: Cantarell fonts
2Summary(pl.UTF-8): Fonty Cantarell
3Name: fonts-OTF-Cantarell
4Version: 0.0.18
5Release: 1
6License: OFL v1.1
7Group: Fonts
8Source0: http://ftp.gnome.org/pub/GNOME/sources/cantarell-fonts/0.0/cantarell-fonts-%{version}.tar.xz
9# Source0-md5: debdae422cde6df365f4f11c5530607f
10URL: http://abattis.org/cantarell/
11BuildRequires: tar >= 1:1.22
12BuildRequires: xz
13Requires(post,postun): fontpostinst
14Requires: fontconfig >= 1:2.10.1
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
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
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}
38install -d $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail
39install -d $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d
40
41cp -a otf/*.otf $RPM_BUILD_ROOT%{_otffontsdir}
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
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)
56%doc COPYING NEWS README
57%{_datadir}/fontconfig/conf.avail/31-cantarell.conf
58%{_sysconfdir}/fonts/conf.d/31-cantarell.conf
59%{_otffontsdir}/Cantarell-*.otf
This page took 0.056434 seconds and 4 git commands to generate.