]>
Commit | Line | Data |
---|---|---|
74651ac1 | 1 | Summary: Cantarell fonts |
6280b2ce | 2 | Summary(pl.UTF-8): Fonty Cantarell |
74651ac1 | 3 | Name: fonts-OTF-Cantarell |
235e2c69 | 4 | Version: 0.303.1 |
85d44994 | 5 | Release: 1 |
3c3f41aa | 6 | License: OFL v1.1 |
74651ac1 | 7 | Group: Fonts |
235e2c69 JB |
8 | Source0: https://download.gnome.org/sources/cantarell-fonts/0.303/cantarell-fonts-%{version}.tar.xz |
9 | # Source0-md5: a9be59ddb29204dcfd3357f201949b8c | |
5201f426 | 10 | URL: https://gitlab.gnome.org/GNOME/cantarell-fonts/ |
2b01a02f JB |
11 | BuildRequires: gettext-its-metainfo |
12 | BuildRequires: gettext-tools | |
f280015d | 13 | BuildRequires: meson |
f24d3968 | 14 | BuildRequires: ninja >= 1.5 |
235e2c69 JB |
15 | BuildRequires: psautohint >= 2.0.0 |
16 | BuildRequires: python3-attrs >= 18.2 | |
17 | BuildRequires: python3-cffsubr >= 0.2.8 | |
18 | BuildRequires: python3-fontMath >= 0.5.0 | |
19 | # fontTools[ufo,lxml,unicode] | |
20 | BuildRequires: python3-fonttools >= 4.0.0 | |
21 | BuildRequires: python3-lxml >= 4 | |
22 | BuildRequires: python3-skia-pathops | |
23 | BuildRequires: python3-statmake >= 0.1.3 | |
24 | # ufo2ft[cffsubr] | |
25 | BuildRequires: python3-ufo2ft >= 2.15.0 | |
26 | BuildRequires: python3-ufoLib2 >= 0.4.0 | |
f24d3968 | 27 | BuildRequires: rpmbuild(macros) >= 1.736 |
31b835fa MB |
28 | BuildRequires: tar >= 1:1.22 |
29 | BuildRequires: xz | |
74651ac1 | 30 | Requires(post,postun): fontpostinst |
f9ceff51 | 31 | Requires: fontconfig >= 1:2.10.1 |
74651ac1 MB |
32 | BuildArch: noarch |
33 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
34 | ||
35 | %define _otffontsdir %{_fontsdir}/OTF | |
36 | ||
37 | %description | |
5201f426 JB |
38 | Cantarell is a set of fonts originally designed by Dave Crossland. It |
39 | is a sans-serif Humanist typeface family. | |
74651ac1 | 40 | |
6280b2ce | 41 | %description -l pl.UTF-8 |
5201f426 JB |
42 | Cantarell to zbiór fontów pierwotnie zaprojektowanych przez Dave'a |
43 | Crosslanda. Jest to rodzina krojów bezszeryfowych Humanist. | |
6280b2ce | 44 | |
74651ac1 MB |
45 | %prep |
46 | %setup -q -n cantarell-fonts-%{version} | |
47 | ||
48 | %build | |
5201f426 JB |
49 | %meson build \ |
50 | -Dfontsdir=%{_otffontsdir} | |
51 | ||
f24d3968 | 52 | %ninja_build -C build |
74651ac1 MB |
53 | |
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
74651ac1 | 56 | |
f24d3968 | 57 | %ninja_install -C build |
74651ac1 MB |
58 | |
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post | |
63 | fontpostinst OTF | |
64 | ||
65 | %postun | |
66 | fontpostinst OTF | |
67 | ||
68 | %files | |
69 | %defattr(644,root,root,755) | |
5201f426 | 70 | %doc COPYING NEWS README.md |
6280b2ce | 71 | %{_otffontsdir}/Cantarell-*.otf |
5201f426 | 72 | %{_datadir}/metainfo/org.gnome.cantarell.metainfo.xml |