Package libnftnl: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | # examples depend on this %def_with check %def_enable check Name: libnftnl Version: 1.1.8 Release: alt1 Summary: Netfilter nf_tables infrastructure library License: GPL-2.0-only Group: System/Libraries Url: http://netfilter.org/projects/libnftnl/ Source: %name-%version.tar BuildRequires: libmnl-devel libmxml-devel libjansson-devel %description libnftnl is a userspace library providing a low-level netlink programming interface (API) to the in-kernel nf_tables subsystem. The library libnftnl has been previously known as libnftables. This library is currently used by nftables. %package devel Summary: Development files for %name Group: System/Libraries Requires: pkgconfig, %name = %version-%release %description devel The %name-devel package contains libraries and header files for developing applications that use %name. %package devel-static Summary: Development files for %name Group: System/Libraries Requires: pkgconfig, %name = %version-%release %description devel-static The %name-devel package contains libraries and header files for developing applications that use %name. %package examples Summary: Examples for %name Group: System/Libraries %description examples The %name-examples package contains examples files for %name. %prep %setup %build %autoreconf %configure --with-xml-parsing --with-json-parsing --enable-static %make_build # FIXME: --without check will cause packaging breakage %check %make check mkdir -p %buildroot%_sbindir cp -a examples/.libs/* %buildroot%_sbindir/ %install %makeinstall_std %files %doc COPYING %_libdir/%name.so.* %files devel %_libdir/*.so %_includedir/%name %_libdir/pkgconfig/*.pc %files devel-static %_libdir/*.a %if_with check %if_enabled check %files examples %doc examples/*.c %_sbindir/* %endif %endif %changelog * Mon Nov 16 2020 Alexei Takaseev <taf@altlinux.org> 1.1.8-alt1 - 1.1.8 * Wed Jun 17 2020 Alexei Takaseev <taf@altlinux.org> 1.1.7-alt1 - Version 1.1.7 * Fri Apr 03 2020 Alexei Takaseev <taf@altlinux.org> 1.1.6-alt1 - Version 1.1.6 * Tue Dec 03 2019 Alexei Takaseev <taf@altlinux.org> 1.1.5-alt1 - Version 1.1.5 * Sat Oct 05 2019 Michael Shigorin <mike@altlinux.org> 1.1.4-alt2 - Fix build --without check (still weird though) - Minor spec cleanup * Tue Aug 20 2019 Alexei Takaseev <taf@altlinux.org> 1.1.4-alt1 - Version 1.1.4 * Mon May 27 2019 Dmitry V. Levin <ldv@altlinux.org> 1.1.3-alt1 - 1.1.2 -> 1.1.3 (required by iptables-nft >= 1.8.3). * Thu Jan 10 2019 Alexei Takaseev <taf@altlinux.org> 1.1.2-alt1 - Version 1.1.2 * Sat Jun 09 2018 Alexei Takaseev <taf@altlinux.org> 1.1.1-alt1 - Version 1.1.1 * Wed May 02 2018 Alexei Takaseev <taf@altlinux.org> 1.1.0-alt1 - Version 1.1.0 * Tue Jan 09 2018 Alexei Takaseev <taf@altlinux.org> 1.0.9-alt1 - Version 1.0.9 * Fri Oct 13 2017 Alexei Takaseev <taf@altlinux.org> 1.0.8-alt1 - Version 1.0.8 * Tue Dec 20 2016 Alexei Takaseev <taf@altlinux.org> 1.0.7-alt1 - Version 1.0.7 * Fri Jun 03 2016 Alexei Takaseev <taf@altlinux.org> 1.0.6-alt1 - Version 1.0.6 * Mon Dec 21 2015 Alexei Takaseev <taf@altlinux.org> 1.0.5-alt1 - Version 1.0.5 * Thu Sep 11 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.0.2-alt1.git20140908 - Version 1.0.2 * Tue Jan 21 2014 Slava Dubrovskiy <dubrsl@altlinux.org> 1.0.0-alt2 - move examples to own package * Tue Jan 21 2014 Slava Dubrovskiy <dubrsl@altlinux.org> 1.0.0-alt1 - first build for ALT Linux |