]>
Commit | Line | Data |
---|---|---|
3f7cdf4a JP |
1 | Summary: A C header file only implementation of a typed linked list |
2 | Name: tllist | |
a528acbd | 3 | Version: 1.1.0 |
3f7cdf4a JP |
4 | Release: 1 |
5 | License: MIT | |
6 | Group: Development/Libraries | |
7 | Source0: https://codeberg.org/dnkl/tllist/archive/%{version}.tar.gz | |
a528acbd | 8 | # Source0-md5: 77e9f57c5d37d74fd09522fee5f5137d |
3f7cdf4a JP |
9 | URL: https://codeberg.org/dnkl/tllist |
10 | BuildRequires: meson >= 0.54.0 | |
11 | BuildRequires: ninja | |
12 | BuildRequires: pkgconfig | |
13 | BuildRequires: rpmbuild(macros) >= 1.736 | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
5d1edd30 JP |
16 | %define _enable_debug_packages 0 |
17 | ||
3f7cdf4a JP |
18 | %description |
19 | tllist is a Typed Linked List C header file only library implemented | |
20 | using pre-processor macros. | |
21 | ||
22 | %package devel | |
23 | Summary: A C header file only implementation of a typed linked list | |
24 | Group: Development/Libraries | |
25 | ||
26 | %description devel | |
27 | tllist is a Typed Linked List C header file only library implemented | |
28 | using pre-processor macros. | |
29 | ||
30 | %prep | |
31 | %setup -q -n %{name} | |
32 | ||
33 | %build | |
34 | %meson build | |
35 | ||
36 | %ninja_build -C build | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %ninja_install -C build | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files devel | |
47 | %defattr(644,root,root,755) | |
48 | %doc README.md | |
49 | %{_includedir}/tllist.h | |
50 | %{_pkgconfigdir}/tllist.pc |