]>
Commit | Line | Data |
---|---|---|
74651ac1 | 1 | Summary: Cantarell fonts |
6280b2ce | 2 | Summary(pl.UTF-8): Fonty Cantarell |
74651ac1 | 3 | Name: fonts-OTF-Cantarell |
5201f426 | 4 | Version: 0.111 |
85d44994 | 5 | Release: 1 |
3c3f41aa | 6 | License: OFL v1.1 |
74651ac1 | 7 | Group: Fonts |
5201f426 JB |
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/ | |
2b01a02f JB |
11 | BuildRequires: gettext-its-metainfo |
12 | BuildRequires: gettext-tools | |
f280015d JB |
13 | BuildRequires: meson |
14 | BuildRequires: ninja | |
1e729610 | 15 | BuildRequires: rpmbuild(macros) >= 1.727 |
31b835fa MB |
16 | BuildRequires: tar >= 1:1.22 |
17 | BuildRequires: xz | |
74651ac1 | 18 | Requires(post,postun): fontpostinst |
f9ceff51 | 19 | Requires: fontconfig >= 1:2.10.1 |
74651ac1 MB |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %define _otffontsdir %{_fontsdir}/OTF | |
24 | ||
25 | %description | |
5201f426 JB |
26 | Cantarell is a set of fonts originally designed by Dave Crossland. It |
27 | is a sans-serif Humanist typeface family. | |
74651ac1 | 28 | |
6280b2ce | 29 | %description -l pl.UTF-8 |
5201f426 JB |
30 | Cantarell to zbiór fontów pierwotnie zaprojektowanych przez Dave'a |
31 | Crosslanda. 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 | |
43 | rm -rf $RPM_BUILD_ROOT | |
74651ac1 | 44 | |
5201f426 | 45 | %meson_install -C build |
74651ac1 MB |
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) | |
5201f426 | 58 | %doc COPYING NEWS README.md |
6280b2ce | 59 | %{_otffontsdir}/Cantarell-*.otf |
5201f426 | 60 | %{_datadir}/metainfo/org.gnome.cantarell.metainfo.xml |