[9652] | 1 | #global snapdate 20140903 |
---|
| 2 | |
---|
| 3 | Name: libnftnl |
---|
| 4 | Version: 1.0.3 |
---|
[9718] | 5 | Release: 3%{?_dist_release} |
---|
[9652] | 6 | Summary: Library for low-level interaction with nftables Netlink's API over libmnl |
---|
| 7 | |
---|
| 8 | License: GPLv2+ |
---|
| 9 | URL: http://netfilter.org/projects/libnftnl/ |
---|
[9718] | 10 | Group: System Environment/Libraries |
---|
| 11 | |
---|
[9652] | 12 | Source0: http://ftp.netfilter.org/pub/libnftnl/libnftnl-%{version}.tar.bz2 |
---|
| 13 | |
---|
| 14 | BuildRequires: libmnl-devel |
---|
| 15 | BuildRequires: mxml-devel |
---|
| 16 | BuildRequires: jansson-devel |
---|
| 17 | |
---|
| 18 | # replace old libnftables package |
---|
| 19 | Provides: libnftables = %{version}-%{release} |
---|
| 20 | Obsoletes: libnftables < 0-0.6 |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | A library for low-level interaction with nftables Netlink's API over libmnl. |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Development files for %{name} |
---|
[9718] | 27 | Summary(ja): %{name} の開発用ファイル |
---|
| 28 | Group: Development/Libraries |
---|
[9652] | 29 | Requires: %{name}%{_isa} = %{version}-%{release} |
---|
| 30 | # replace old libnftables-devel package |
---|
| 31 | Provides: libnftables-devel = %{version}-%{release} |
---|
| 32 | Obsoletes: libnftables-devel < 0-0.6 |
---|
| 33 | |
---|
| 34 | %description devel |
---|
| 35 | The %{name}-devel package contains libraries and header files for |
---|
| 36 | developing applications that use %{name}. |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | #setup -q -n libnftnl-%{snapdate} |
---|
| 40 | %setup -q |
---|
| 41 | |
---|
| 42 | %build |
---|
| 43 | %configure --disable-static --disable-silent-rules --with-json-parsing --with-xml-parsing |
---|
| 44 | make %{?_smp_mflags} |
---|
| 45 | |
---|
| 46 | %check |
---|
| 47 | make %{?_smp_mflags} check |
---|
| 48 | # tests are broken in 1.0.1 re-enable on next update |
---|
| 49 | #cd tests |
---|
| 50 | #sh ./test-script.sh |
---|
| 51 | |
---|
| 52 | %install |
---|
| 53 | %make_install |
---|
| 54 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %post -p /sbin/ldconfig |
---|
| 58 | |
---|
| 59 | %postun -p /sbin/ldconfig |
---|
| 60 | |
---|
| 61 | |
---|
| 62 | %files |
---|
| 63 | %doc COPYING |
---|
| 64 | %{_libdir}/*.so.* |
---|
| 65 | |
---|
| 66 | %files devel |
---|
| 67 | %{_libdir}/libnft*.so |
---|
| 68 | %{_libdir}/pkgconfig/libnftnl.pc |
---|
| 69 | %{_includedir}/libnftnl |
---|
| 70 | |
---|
| 71 | %changelog |
---|
[9718] | 72 | * Mon Aug 24 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.3-3 |
---|
| 73 | - added Group tag |
---|
| 74 | |
---|
[9652] | 75 | * Tue Jul 7 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.0.3-2 |
---|
| 76 | - initial build for Vine Linux. |
---|
| 77 | |
---|
| 78 | * Fri Dec 26 2014 Kevin Fenzi <kevin@scrye.com> 1.0.3-1 |
---|
| 79 | - Update to final 1.0.3 |
---|
| 80 | |
---|
| 81 | * Wed Sep 03 2014 Kevin Fenzi <kevin@scrye.com> 1.0.3-0.1.20140903git |
---|
| 82 | - Update to 20140903 git snapshot |
---|
| 83 | |
---|
| 84 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.2-2 |
---|
| 85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
| 86 | |
---|
| 87 | * Wed Jun 25 2014 Kevin Fenzi <kevin@scrye.com> 1.0.2-1 |
---|
| 88 | - Update to 1.0.2 |
---|
| 89 | |
---|
| 90 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.1-2 |
---|
| 91 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
| 92 | |
---|
| 93 | * Thu Apr 24 2014 Kevin Fenzi <kevin@scrye.com> 1.0.1-1. |
---|
| 94 | - Update to 1.0.1 |
---|
| 95 | |
---|
| 96 | * Sun Mar 30 2014 Kevin Fenzi <kevin@scrye.com> 1.0.0-1.20140330git |
---|
| 97 | - Update to 20140330 snapshot |
---|
| 98 | - Sync version to be a post 1.0.0 snapshot |
---|
| 99 | |
---|
| 100 | * Wed Mar 26 2014 Kevin Fenzi <kevin@scrye.com> 0-0.10.20140326git |
---|
| 101 | - Update to 20140326 snapshot |
---|
| 102 | |
---|
| 103 | * Fri Mar 07 2014 Kevin Fenzi <kevin@scrye.com> 0-0.9.20140307git |
---|
| 104 | - Update to 20140307 snapshot |
---|
| 105 | |
---|
| 106 | * Sat Jan 25 2014 Kevin Fenzi <kevin@scrye.com> 0-0.8.20140125git |
---|
| 107 | - Update to 20140125 |
---|
| 108 | |
---|
| 109 | * Thu Jan 23 2014 Kevin Fenzi <kevin@scrye.com> 0-0.7.20140122git |
---|
| 110 | - Add obsoletes/provides to devel subpackage as well. |
---|
| 111 | |
---|
| 112 | * Wed Jan 22 2014 Kevin Fenzi <kevin@scrye.com> 0-0.6.20140122git |
---|
| 113 | - Renamed libnftnl |
---|
| 114 | - Update to 20140122 snapshot. |
---|
| 115 | |
---|
| 116 | * Sat Jan 18 2014 Kevin Fenzi <kevin@scrye.com> 0-0.5.20140118git |
---|
| 117 | - Update to 20140118 snapshot. |
---|
| 118 | |
---|
| 119 | * Sat Jan 11 2014 Kevin Fenzi <kevin@scrye.com> 0-0.4.20140111git |
---|
| 120 | - Update to 20140111 snapshot. |
---|
| 121 | - Enable xml (some tests stll fail, but it otherwise builds ok) |
---|
| 122 | |
---|
| 123 | * Mon Dec 02 2013 Kevin Fenzi <kevin@scrye.com> 0-0.3.20131202git |
---|
| 124 | - Update to 20131202 snapshot, switch to upstream snapshot repo instead of git checkouts. |
---|
| 125 | |
---|
| 126 | * Mon Dec 02 2013 Kevin Fenzi <kevin@scrye.com> 0-0.2 |
---|
| 127 | - Fixes from review. |
---|
| 128 | |
---|
| 129 | * Sat Nov 30 2013 Kevin Fenzi <kevin@scrye.com> 0-0.1 |
---|
| 130 | - initial version for Fedora review |
---|