]>
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/ | |
f280015d JB |
11 | BuildRequires: meson |
12 | BuildRequires: ninja | |
31b835fa MB |
13 | BuildRequires: tar >= 1:1.22 |
14 | BuildRequires: xz | |
74651ac1 | 15 | Requires(post,postun): fontpostinst |
f9ceff51 | 16 | Requires: fontconfig >= 1:2.10.1 |
74651ac1 MB |
17 | BuildArch: noarch |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %define _otffontsdir %{_fontsdir}/OTF | |
21 | ||
22 | %description | |
5201f426 JB |
23 | Cantarell is a set of fonts originally designed by Dave Crossland. It |
24 | is a sans-serif Humanist typeface family. | |
74651ac1 | 25 | |
6280b2ce | 26 | %description -l pl.UTF-8 |
5201f426 JB |
27 | Cantarell to zbiór fontów pierwotnie zaprojektowanych przez Dave'a |
28 | Crosslanda. Jest to rodzina krojów bezszeryfowych Humanist. | |
6280b2ce | 29 | |
74651ac1 MB |
30 | %prep |
31 | %setup -q -n cantarell-fonts-%{version} | |
32 | ||
33 | %build | |
5201f426 JB |
34 | %meson build \ |
35 | -Dfontsdir=%{_otffontsdir} | |
36 | ||
37 | %meson_build -C build | |
74651ac1 MB |
38 | |
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
74651ac1 | 41 | |
5201f426 | 42 | %meson_install -C build |
74651ac1 MB |
43 | |
44 | %clean | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %post | |
48 | fontpostinst OTF | |
49 | ||
50 | %postun | |
51 | fontpostinst OTF | |
52 | ||
53 | %files | |
54 | %defattr(644,root,root,755) | |
5201f426 | 55 | %doc COPYING NEWS README.md |
6280b2ce | 56 | %{_otffontsdir}/Cantarell-*.otf |
5201f426 | 57 | %{_datadir}/metainfo/org.gnome.cantarell.metainfo.xml |