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