]> git.pld-linux.org Git - packages/fonts-OTF-Cantarell.git/blob - fonts-OTF-Cantarell.spec
- updated to 0.303.1; now bunch of python font tools is required to build fonts
[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.303.1
5 Release:        1
6 License:        OFL v1.1
7 Group:          Fonts
8 Source0:        https://download.gnome.org/sources/cantarell-fonts/0.303/cantarell-fonts-%{version}.tar.xz
9 # Source0-md5:  a9be59ddb29204dcfd3357f201949b8c
10 URL:            https://gitlab.gnome.org/GNOME/cantarell-fonts/
11 BuildRequires:  gettext-its-metainfo
12 BuildRequires:  gettext-tools
13 BuildRequires:  meson
14 BuildRequires:  ninja >= 1.5
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
27 BuildRequires:  rpmbuild(macros) >= 1.736
28 BuildRequires:  tar >= 1:1.22
29 BuildRequires:  xz
30 Requires(post,postun):  fontpostinst
31 Requires:       fontconfig >= 1:2.10.1
32 BuildArch:      noarch
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         _otffontsdir    %{_fontsdir}/OTF
36
37 %description
38 Cantarell is a set of fonts originally designed by Dave Crossland. It
39 is a sans-serif Humanist typeface family.
40
41 %description -l pl.UTF-8
42 Cantarell to zbiór fontów pierwotnie zaprojektowanych przez Dave'a
43 Crosslanda. Jest to rodzina krojów bezszeryfowych Humanist.
44
45 %prep
46 %setup -q -n cantarell-fonts-%{version}
47
48 %build
49 %meson build \
50         -Dfontsdir=%{_otffontsdir}
51
52 %ninja_build -C build
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %ninja_install -C build
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)
70 %doc COPYING NEWS README.md
71 %{_otffontsdir}/Cantarell-*.otf
72 %{_datadir}/metainfo/org.gnome.cantarell.metainfo.xml
This page took 0.069343 seconds and 4 git commands to generate.