source: projects/specs/trunk/lib/libn/libnftnl/libnftnl-vl.spec @ 9652

Revision 9652, 3.5 KB checked in by tomop, 9 years ago (diff)

nftables関連

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