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