2014-06-08 08:22:23 +00:00
|
|
|
Name: libnl3
|
2014-07-04 15:31:59 +00:00
|
|
|
Version: 3.2.25
|
|
|
|
Release: 1%{?dist}
|
2012-01-19 17:23:57 +00:00
|
|
|
Summary: Convenience library for kernel netlink sockets
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: LGPLv2
|
|
|
|
URL: http://www.infradead.org/~tgr/libnl/
|
2014-06-08 08:22:23 +00:00
|
|
|
|
2014-07-04 15:31:59 +00:00
|
|
|
%define fullversion %{version}-rc1
|
|
|
|
|
|
|
|
Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{fullversion}.tar.gz
|
|
|
|
Source1: http://www.infradead.org/~tgr/libnl/files/libnl-doc-%{fullversion}.tar.gz
|
|
|
|
#Patch1: 0001-some-patch.patch
|
2014-06-08 08:22:23 +00:00
|
|
|
|
2012-01-19 17:23:57 +00:00
|
|
|
BuildRequires: flex bison
|
|
|
|
BuildRequires: python
|
2014-06-08 08:22:23 +00:00
|
|
|
BuildRequires: libtool autoconf automake
|
2012-01-19 17:23:57 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a convenience library to simplify
|
|
|
|
using the Linux kernel's netlink sockets interface for
|
|
|
|
network manipulation
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Libraries and headers for using libnl3
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name}-cli = %{version}-%{release}
|
|
|
|
Requires: kernel-headers
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains various headers for using libnl3
|
|
|
|
|
|
|
|
%package cli
|
|
|
|
Summary: Command line interface utils for libnl3
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description cli
|
|
|
|
This package contains various libnl3 utils and additional
|
|
|
|
libraries on which they depend
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: API documentation for libnl3
|
|
|
|
Group: Documentation
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains libnl3 API documentation
|
|
|
|
|
|
|
|
%prep
|
2014-07-04 15:31:59 +00:00
|
|
|
%setup -q -n libnl-%{fullversion}
|
|
|
|
#%patch1 -p1 -b .0001-some-patch.orig
|
2013-01-20 10:20:59 +00:00
|
|
|
|
2012-10-30 18:00:51 +00:00
|
|
|
tar -xzf %SOURCE1
|
2012-01-19 17:23:57 +00:00
|
|
|
|
|
|
|
%build
|
2014-06-08 08:22:23 +00:00
|
|
|
autoreconf -vif
|
2012-01-19 17:23:57 +00:00
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name \*.la -delete
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post cli -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%postun cli -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc COPYING
|
|
|
|
%exclude %{_libdir}/libnl-cli*.so.*
|
|
|
|
%{_libdir}/libnl-*.so.*
|
|
|
|
%config(noreplace) %{_sysconfdir}/*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc COPYING
|
|
|
|
%{_includedir}/libnl3/netlink/
|
|
|
|
%dir %{_includedir}/libnl3/
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
%files cli
|
|
|
|
%doc COPYING
|
|
|
|
%{_libdir}/libnl-cli*.so.*
|
|
|
|
%{_libdir}/libnl/
|
|
|
|
%{_sbindir}/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc COPYING
|
2014-07-04 15:31:59 +00:00
|
|
|
%doc libnl-doc-%{fullversion}/*.html
|
|
|
|
%doc libnl-doc-%{fullversion}/*.css
|
|
|
|
%doc libnl-doc-%{fullversion}/stylesheets/*
|
|
|
|
%doc libnl-doc-%{fullversion}/images/*
|
|
|
|
%doc libnl-doc-%{fullversion}/images/icons/*
|
|
|
|
%doc libnl-doc-%{fullversion}/images/icons/callouts/*
|
|
|
|
%doc libnl-doc-%{fullversion}/api/*
|
2012-01-19 17:23:57 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-07-04 15:31:59 +00:00
|
|
|
* Fri Jul 4 2014 Thomas Haller <thaller@redhat.com> 3.2.25-1
|
|
|
|
* Update to 3.2.25-rc1
|
|
|
|
|
2014-06-08 08:22:23 +00:00
|
|
|
* Sun Jun 8 2014 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.24-5
|
|
|
|
- Run autoreconf for new automake, cleanup spec
|
|
|
|
|
2014-06-07 04:41:46 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.24-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-05-21 15:19:48 +00:00
|
|
|
* Thu May 22 2014 Thomas Haller <thaller@redhat.com> - 3.2.24-3
|
|
|
|
- add nl_has_capability() function
|
|
|
|
- retry local port on ADDRINUSE (rh #1097175)
|
|
|
|
- python: fix passing wrong argument in netlink/core.py
|
|
|
|
- fix return value of nl_rtgen_request()
|
|
|
|
- fix nl_msec2str()
|
|
|
|
- fix crash in rtnl_act_msg_parse()
|
|
|
|
- fix rtnl_route_build_msg() not to guess the route scope if RT_SCOPE_NOWHERE
|
|
|
|
|
2014-04-04 17:46:10 +00:00
|
|
|
* Fri Apr 4 2014 Thomas Haller <thaller@redhat.com> - 3.2.24-2
|
|
|
|
- fix breaking on older kernels due to IFA_FLAGS attribute (rh #1063885)
|
|
|
|
|
2014-01-23 13:22:57 +00:00
|
|
|
* Thu Jan 23 2014 Thomas Haller <thaller@redhat.com> - 3.2.24-1
|
|
|
|
- Update to 3.2.24 (rhbz#963111)
|
|
|
|
|
2013-09-23 19:45:16 +00:00
|
|
|
* Mon Sep 23 2013 Paul Wouters <pwouters@redhat.com> - 3.2.22-2
|
2013-09-23 19:37:56 +00:00
|
|
|
- Update to 3.2.22 (rhbz#963111)
|
2013-09-23 19:45:16 +00:00
|
|
|
- Add patch for double tree crasher in rtnl_link_set_address_family()
|
2013-09-23 19:37:56 +00:00
|
|
|
|
2013-08-03 06:26:44 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.21-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-01-25 08:39:07 +00:00
|
|
|
* Fri Jan 25 2013 Jiri Pirko <jpirko@redhat.com> - 3.2.21-1
|
|
|
|
- Update to 3.2.21
|
|
|
|
|
2013-01-23 11:07:06 +00:00
|
|
|
* Wed Jan 23 2013 Jiri Pirko <jpirko@redhat.com> - 3.2.20-1
|
|
|
|
- Update to 3.2.20
|
|
|
|
|
2013-01-20 10:20:59 +00:00
|
|
|
* Sun Jan 20 2013 Jiri Pirko <jpirko@redhat.com> - 3.2.19-2
|
|
|
|
- Age fix
|
|
|
|
|
2013-01-17 13:32:38 +00:00
|
|
|
* Thu Jan 17 2013 Jiri Pirko <jpirko@redhat.com> - 3.2.19-1
|
|
|
|
- Update to 3.2.19
|
|
|
|
|
2012-10-30 18:00:51 +00:00
|
|
|
* Tue Oct 30 2012 Dan Williams <dcbw@redhat.com> - 3.2.14-1
|
|
|
|
- Update to 3.2.14
|
|
|
|
|
2012-09-17 21:39:57 +00:00
|
|
|
* Mon Sep 17 2012 Dan Williams <dcbw@redhat.com> - 3.2.13-1
|
|
|
|
- Update to 3.2.13
|
2012-07-19 20:39:03 +00:00
|
|
|
|
2012-02-11 01:10:36 +00:00
|
|
|
* Fri Feb 10 2012 Dan Williams <dcbw@redhat.com> - 3.2.7-1
|
|
|
|
- Update to 3.2.7
|
|
|
|
|
2012-01-19 17:23:57 +00:00
|
|
|
* Tue Jan 17 2012 Jiri Pirko <jpirko@redhat.com> - 3.2.6-1
|
|
|
|
- Initial build
|