]> git.pld-linux.org Git - packages/fonts-OTF-Cantarell.git/blame - 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
CommitLineData
74651ac1 1Summary: Cantarell fonts
6280b2ce 2Summary(pl.UTF-8): Fonty Cantarell
74651ac1 3Name: fonts-OTF-Cantarell
235e2c69 4Version: 0.303.1
85d44994 5Release: 1
3c3f41aa 6License: OFL v1.1
74651ac1 7Group: Fonts
235e2c69
JB
8Source0: https://download.gnome.org/sources/cantarell-fonts/0.303/cantarell-fonts-%{version}.tar.xz
9# Source0-md5: a9be59ddb29204dcfd3357f201949b8c
5201f426 10URL: https://gitlab.gnome.org/GNOME/cantarell-fonts/
2b01a02f
JB
11BuildRequires: gettext-its-metainfo
12BuildRequires: gettext-tools
f280015d 13BuildRequires: meson
f24d3968 14BuildRequires: ninja >= 1.5
235e2c69
JB
15BuildRequires: psautohint >= 2.0.0
16BuildRequires: python3-attrs >= 18.2
17BuildRequires: python3-cffsubr >= 0.2.8
18BuildRequires: python3-fontMath >= 0.5.0
19# fontTools[ufo,lxml,unicode]
20BuildRequires: python3-fonttools >= 4.0.0
21BuildRequires: python3-lxml >= 4
22BuildRequires: python3-skia-pathops
23BuildRequires: python3-statmake >= 0.1.3
24# ufo2ft[cffsubr]
25BuildRequires: python3-ufo2ft >= 2.15.0
26BuildRequires: python3-ufoLib2 >= 0.4.0
f24d3968 27BuildRequires: rpmbuild(macros) >= 1.736
31b835fa
MB
28BuildRequires: tar >= 1:1.22
29BuildRequires: xz
74651ac1 30Requires(post,postun): fontpostinst
f9ceff51 31Requires: fontconfig >= 1:2.10.1
74651ac1
MB
32BuildArch: noarch
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%define _otffontsdir %{_fontsdir}/OTF
36
37%description
5201f426
JB
38Cantarell is a set of fonts originally designed by Dave Crossland. It
39is a sans-serif Humanist typeface family.
74651ac1 40
6280b2ce 41%description -l pl.UTF-8
5201f426
JB
42Cantarell to zbiór fontów pierwotnie zaprojektowanych przez Dave'a
43Crosslanda. 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
55rm -rf $RPM_BUILD_ROOT
74651ac1 56
f24d3968 57%ninja_install -C build
74651ac1
MB
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%post
63fontpostinst OTF
64
65%postun
66fontpostinst 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
This page took 0.082625 seconds and 5 git commands to generate.