]> git.pld-linux.org Git - packages/fcft.git/blame - fcft.spec
up to 3.1.6
[packages/fcft.git] / fcft.spec
CommitLineData
9130a7d7
JP
1Summary: A simple library for font loading and glyph rasterization
2Name: fcft
8013a322 3Version: 3.1.6
9130a7d7
JP
4Release: 1
5License: MIT
6Group: Development/Libraries
7Source0: https://codeberg.org/dnkl/fcft/archive/%{version}.tar.gz
8013a322 8# Source0-md5: 033c9eb7a56f8f2b964def193c3be627
9130a7d7
JP
9URL: https://codeberg.org/dnkl/fcft
10BuildRequires: fontconfig-devel
1a4d35d2 11BuildRequires: freetype-devel >= 2.12.0
9130a7d7
JP
12BuildRequires: harfbuzz-devel
13BuildRequires: libutf8proc-devel
1a4d35d2 14BuildRequires: meson >= 0.58.0
9130a7d7
JP
15BuildRequires: ninja
16BuildRequires: pixman-devel
17BuildRequires: pkgconfig
18BuildRequires: rpmbuild(macros) >= 1.736
19BuildRequires: scdoc
20BuildRequires: tllist-devel >= 1.0.1
21BuildRequires: wayland-devel
22BuildRequires: wayland-protocols
1a4d35d2 23Requires: freetype >= 2.12.0
9130a7d7
JP
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27fcft is a small font loading and glyph rasterization library built
28on-top of FontConfig, FreeType2 and pixman.
29
30It can load and cache fonts from a fontconfig-formatted name string,
31e.g. Monospace:size=12, optionally with user configured fallback
32fonts.
33
34After a font has been loaded, you can rasterize glyphs. When doing so,
35the primary font is first considered. If it does not have the
36requested glyph, the user configured fallback fonts (if any) are
37considered. If none of the user configured fallback fonts has the
38requested glyph, the FontConfig generated list of fallback fonts are
39checked.
40
41%package devel
42Summary: Header files for the fcft library
43Group: Development/Libraries
44Requires: %{name} = %{version}-%{release}
eaa3c13b
JP
45Requires: fontconfig-devel
46Requires: freetype-devel >= 2
47Requires: harfbuzz-devel
48Requires: libutf8proc-devel
49Requires: pixman-devel
50Requires: tllist-devel >= 1.0.1
9130a7d7
JP
51
52%description devel
53Header files for the fcft library.
54
55%package static
56Summary: Static fcft library
57Group: Development/Libraries
58Requires: %{name}-devel = %{version}-%{release}
59
60%description static
61Static fcft library.
62
63%prep
64%setup -q -n %{name}
65
66%build
67%meson build
68
69%ninja_build -C build
70
71%install
72rm -rf $RPM_BUILD_ROOT
73
74%ninja_install -C build
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files
83%defattr(644,root,root,755)
84%doc CHANGELOG.md README.md
85%attr(755,root,root) %{_libdir}/libfcft.so.*.*
a65db5f1 86%attr(755,root,root) %ghost %{_libdir}/libfcft.so.4
9130a7d7
JP
87
88%files devel
89%defattr(644,root,root,755)
90%attr(755,root,root) %{_libdir}/libfcft.so
91%dir %{_includedir}/fcft
92%{_includedir}/fcft/fcft.h
93%{_includedir}/fcft/stride.h
94%{_pkgconfigdir}/fcft.pc
95%{_mandir}/man3/fcft_*.3*
96
97%files static
98%defattr(644,root,root,755)
99%{_libdir}/libfcft.a
This page took 0.306382 seconds and 4 git commands to generate.