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