]> git.pld-linux.org Git - packages/fonts-OTF-Cantarell.git/blame - fonts-OTF-Cantarell.spec
- macros for meson
[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
5201f426 4Version: 0.111
85d44994 5Release: 1
3c3f41aa 6License: OFL v1.1
74651ac1 7Group: Fonts
5201f426
JB
8Source0: http://ftp.gnome.org/pub/GNOME/sources/cantarell-fonts/0.111/cantarell-fonts-%{version}.tar.xz
9# Source0-md5: 6916664e08fe3692be0a52b0f55560c2
10URL: https://gitlab.gnome.org/GNOME/cantarell-fonts/
2b01a02f
JB
11BuildRequires: gettext-its-metainfo
12BuildRequires: gettext-tools
f280015d
JB
13BuildRequires: meson
14BuildRequires: ninja
1e729610 15BuildRequires: rpmbuild(macros) >= 1.727
31b835fa
MB
16BuildRequires: tar >= 1:1.22
17BuildRequires: xz
74651ac1 18Requires(post,postun): fontpostinst
f9ceff51 19Requires: fontconfig >= 1:2.10.1
74651ac1
MB
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%define _otffontsdir %{_fontsdir}/OTF
24
25%description
5201f426
JB
26Cantarell is a set of fonts originally designed by Dave Crossland. It
27is a sans-serif Humanist typeface family.
74651ac1 28
6280b2ce 29%description -l pl.UTF-8
5201f426
JB
30Cantarell to zbiór fontów pierwotnie zaprojektowanych przez Dave'a
31Crosslanda. Jest to rodzina krojów bezszeryfowych Humanist.
6280b2ce 32
74651ac1
MB
33%prep
34%setup -q -n cantarell-fonts-%{version}
35
36%build
5201f426
JB
37%meson build \
38 -Dfontsdir=%{_otffontsdir}
39
40%meson_build -C build
74651ac1
MB
41
42%install
43rm -rf $RPM_BUILD_ROOT
74651ac1 44
5201f426 45%meson_install -C build
74651ac1
MB
46
47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%post
51fontpostinst OTF
52
53%postun
54fontpostinst OTF
55
56%files
57%defattr(644,root,root,755)
5201f426 58%doc COPYING NEWS README.md
6280b2ce 59%{_otffontsdir}/Cantarell-*.otf
5201f426 60%{_datadir}/metainfo/org.gnome.cantarell.metainfo.xml
This page took 0.096981 seconds and 4 git commands to generate.