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

Revision 11531, 3.9 KB checked in by tomop, 6 years ago (diff)

libnftnl-1.0.9-1

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