|
|
937a19 |
Summary: Convenience library for kernel netlink sockets
|
|
|
937a19 |
Group: Development/Libraries
|
|
|
937a19 |
License: LGPLv2
|
|
|
937a19 |
Name: libnl
|
|
|
937a19 |
Version: 1.1.4
|
|
|
937a19 |
Release: 3%{?dist}
|
|
|
937a19 |
URL: http://www.infradead.org/~tgr/libnl/
|
|
|
937a19 |
Source: http://www.infradead.org/~tgr/libnl/files/libnl-%{version}.tar.gz
|
|
|
937a19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
937a19 |
BuildRequires: doxygen
|
|
|
937a19 |
Patch0: libnl-1.0-pre8-more-build-output.patch
|
|
|
937a19 |
Patch1: libnl-1.1-doc-inlinesrc.patch
|
|
|
937a19 |
|
|
|
937a19 |
%description
|
|
|
937a19 |
This package contains a convenience library to simplify
|
|
|
937a19 |
using the Linux kernel's netlink sockets interface for
|
|
|
937a19 |
network manipulation
|
|
|
937a19 |
|
|
|
937a19 |
%package devel
|
|
|
937a19 |
Summary: Libraries and headers for using libnl
|
|
|
937a19 |
Group: Development/Libraries
|
|
|
937a19 |
Requires: %{name} = %{version}-%{release}
|
|
|
937a19 |
Requires: kernel-headers
|
|
|
937a19 |
|
|
|
937a19 |
%description devel
|
|
|
937a19 |
This package contains various headers for using libnl
|
|
|
937a19 |
|
|
|
937a19 |
|
|
|
937a19 |
%prep
|
|
|
937a19 |
%setup -q -n %{name}-%{version}
|
|
|
937a19 |
%patch0 -p1 -b .more-build-output
|
|
|
937a19 |
%patch1 -p1 -b .doc-inlinesrc
|
|
|
937a19 |
|
|
|
937a19 |
# a quick hack to make doxygen stripping builddir from html outputs.
|
|
|
937a19 |
sed -i.org -e "s,^STRIP_FROM_PATH.*,STRIP_FROM_PATH = `pwd`," doc/Doxyfile.in
|
|
|
937a19 |
|
|
|
937a19 |
%build
|
|
|
937a19 |
%configure
|
|
|
937a19 |
make
|
|
|
937a19 |
make gendoc
|
|
|
937a19 |
|
|
|
937a19 |
%install
|
|
|
937a19 |
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
937a19 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
937a19 |
|
|
|
937a19 |
rm $RPM_BUILD_ROOT%{_libdir}/libnl.a
|
|
|
937a19 |
|
|
|
937a19 |
mkdir $RPM_BUILD_ROOT/%{_lib}
|
|
|
937a19 |
mv $RPM_BUILD_ROOT%{_libdir}/libnl.so.* $RPM_BUILD_ROOT/%{_lib}
|
|
|
937a19 |
for l in $RPM_BUILD_ROOT%{_libdir}/libnl.so; do
|
|
|
937a19 |
ln -sf $(echo %{_libdir} | \
|
|
|
937a19 |
sed 's,\(^/\|\)[^/][^/]*,..,g')/%{_lib}/$(readlink $l) $l
|
|
|
937a19 |
done
|
|
|
937a19 |
|
|
|
937a19 |
%clean
|
|
|
937a19 |
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
937a19 |
|
|
|
937a19 |
%post -p /sbin/ldconfig
|
|
|
937a19 |
%postun -p /sbin/ldconfig
|
|
|
937a19 |
|
|
|
937a19 |
%files
|
|
|
937a19 |
%defattr(-,root,root)
|
|
|
937a19 |
/%{_lib}/%{name}.so.*
|
|
|
937a19 |
%doc COPYING
|
|
|
937a19 |
|
|
|
937a19 |
%files devel
|
|
|
937a19 |
%defattr(-,root,root,0755)
|
|
|
937a19 |
%{_includedir}/netlink/
|
|
|
937a19 |
%doc doc/html
|
|
|
937a19 |
%{_libdir}/%{name}.so
|
|
|
937a19 |
%{_libdir}/pkgconfig/%{name}-1.pc
|
|
|
937a19 |
|
|
|
937a19 |
%changelog
|
|
|
937a19 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.1.4-3
|
|
|
937a19 |
- Mass rebuild 2014-01-24
|
|
|
937a19 |
|
|
|
937a19 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.1.4-2
|
|
|
937a19 |
- Mass rebuild 2013-12-27
|
|
|
937a19 |
|
|
|
937a19 |
* Tue May 07 2013 Thomas Graf <tgraf@redhat.com> - 1.1.4-1
|
|
|
937a19 |
- Update to latest stable release 1.1.4
|
|
|
937a19 |
|
|
|
937a19 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-17
|
|
|
937a19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
937a19 |
|
|
|
937a19 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-16
|
|
|
937a19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
937a19 |
|
|
|
937a19 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-15
|
|
|
937a19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
937a19 |
|
|
|
937a19 |
* Mon Mar 21 2011 Dan Williams <dcbw@redhat.com> - 1.1-14
|
|
|
937a19 |
- Fix portmap position calculation (rh #677526) (rh #677725)
|
|
|
937a19 |
- Make port allocation threadsafe (rh #677527) (rh #677724)
|
|
|
937a19 |
|
|
|
937a19 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-13
|
|
|
937a19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
937a19 |
|
|
|
937a19 |
* Mon May 24 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1-12
|
|
|
937a19 |
- disable static by default (if you really want static lib, --enable-static)
|
|
|
937a19 |
|
|
|
937a19 |
* Thu May 13 2010 Dan Williams <dcbw@redhat.com> - 1.1-11
|
|
|
937a19 |
- Update source link for package review (rh #592042)
|
|
|
937a19 |
|
|
|
937a19 |
* Fri Feb 26 2010 Dennis Gilmore <dennis@ausil.us> - 1.1-10
|
|
|
937a19 |
- add patch for alignment issues
|
|
|
937a19 |
|
|
|
937a19 |
* Tue Dec 22 2009 John W. Linville <linville@redhat.com> - 1.1-9
|
|
|
937a19 |
- Install libnl into /%{_lib} instead of %{_libdir}
|
|
|
937a19 |
|
|
|
937a19 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-8
|
|
|
937a19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
937a19 |
|
|
|
937a19 |
* Thu May 14 2009 Peter Jones <pjones@redhat.com> - 1.1-7
|
|
|
937a19 |
- Don't present "extern inline nl_object_priv();" to consumers in the headers.
|
|
|
937a19 |
|
|
|
937a19 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-6
|
|
|
937a19 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
937a19 |
|
|
|
937a19 |
* Fri Jun 27 2008 Dan Williams <dcbw@redhat.com> - 1.1-5
|
|
|
937a19 |
- Build documentation in -devel package (rh #452646)
|
|
|
937a19 |
|
|
|
937a19 |
* Thu May 29 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.1-4
|
|
|
937a19 |
- fix license tag
|
|
|
937a19 |
|
|
|
937a19 |
* Fri Feb 22 2008 Dan Williams <dcbw@redhat.com> - 1.1-3
|
|
|
937a19 |
- Include limits.h to fix gcc 4.3 rebuild issues (rh #434055)
|
|
|
937a19 |
|
|
|
937a19 |
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.1-2
|
|
|
937a19 |
- Autorebuild for GCC 4.3
|
|
|
937a19 |
|
|
|
937a19 |
* Wed Jan 23 2008 Dan Williams <dcbw@redhat.com> - 1.1-1
|
|
|
937a19 |
- Update to version 1.1
|
|
|
937a19 |
|
|
|
937a19 |
* Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.15.pre8.git20071218
|
|
|
937a19 |
- Handle removal of include/linux/ip_mp_alg.h in 2.6.24
|
|
|
937a19 |
|
|
|
937a19 |
* Tue Dec 18 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.14.pre8.git20071217
|
|
|
937a19 |
- devel package should require kernel-headers
|
|
|
937a19 |
|
|
|
937a19 |
* Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.13.pre8.git20071217
|
|
|
937a19 |
- Add dist tag to revision
|
|
|
937a19 |
|
|
|
937a19 |
* Mon Dec 17 2007 Dan Williams <dcbw@redhat.com> - 1.0-0.12.pre8.git20071217
|
|
|
937a19 |
- Update to -pre8 + fixes (rh #401761)
|
|
|
937a19 |
|
|
|
937a19 |
* Mon Aug 14 2006 Peter Jones <pjones@redhat.com> - 1.0-0.10.pre5.4
|
|
|
937a19 |
- Fix nl_recv() for ppc64
|
|
|
937a19 |
|
|
|
937a19 |
* Mon Jul 31 2006 Jeremy Katz <katzj@redhat.com> - 1.0-0.10.pre5.3
|
|
|
937a19 |
- unbreak the pkgconfig file
|
|
|
937a19 |
|
|
|
937a19 |
* Wed Jul 26 2006 Matthias Clasen <mclasen@redhat.com> - 1.0-0.10.pre5.2
|
|
|
937a19 |
- Fix the pkgconfig file on 64-bit systems (#197176)
|
|
|
937a19 |
|
|
|
937a19 |
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.0-0.10.pre5.1
|
|
|
937a19 |
- rebuild
|
|
|
937a19 |
|
|
|
937a19 |
* Thu Jun 15 2006 Peter Jones <pjones@redhat.com> 1.0-0.10.pre5
|
|
|
937a19 |
- Fix debuginfo generation.
|
|
|
937a19 |
|
|
|
937a19 |
* Fri May 26 2006 Jason Vas Dias <jvdias@redhat.com> 1.0-0.9.pre5
|
|
|
937a19 |
- Allow build to succeed with new gcc / glibc-kernheaders
|
|
|
937a19 |
(compile failed on __u64 redefinition on x86_64).
|
|
|
937a19 |
- Add a static %{_libdir}/libnl.a library to libnl-devel for
|
|
|
937a19 |
programs that might need to do a static link to libnl.
|
|
|
937a19 |
Added after consultation with Christopher Aillon.
|
|
|
937a19 |
|
|
|
937a19 |
* Tue Feb 12 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.8.pre5
|
|
|
937a19 |
- Rebuild
|
|
|
937a19 |
|
|
|
937a19 |
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> 1.0-0.7.pre5.1
|
|
|
937a19 |
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
937a19 |
|
|
|
937a19 |
* Mon Jan 16 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.7.pre5
|
|
|
937a19 |
- Add patch to not chown files to root.root during make install; it
|
|
|
937a19 |
happens normally.
|
|
|
937a19 |
|
|
|
937a19 |
* Mon Jan 9 2006 Christopher Aillon <caillon@redhat.com> 1.0-0.6.pre5
|
|
|
937a19 |
- Correctly install the pkgconfig file
|
|
|
937a19 |
|
|
|
937a19 |
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
937a19 |
- rebuilt
|
|
|
937a19 |
|
|
|
937a19 |
* Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.5.pre5
|
|
|
937a19 |
- Fix 64bit LIBDIR issue; use $LIBDIR instead of $PREFIX/lib
|
|
|
937a19 |
|
|
|
937a19 |
* Wed Nov 2 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.4.pre5
|
|
|
937a19 |
- Update to 1.0-pre5
|
|
|
937a19 |
|
|
|
937a19 |
* Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.3.pre4
|
|
|
937a19 |
- Update to 1.0-pre4
|
|
|
937a19 |
|
|
|
937a19 |
* Tue Nov 1 2005 Christopher Aillon <caillon@redhat.com> 1.0-0.2.pre3
|
|
|
937a19 |
- Minor specfile cleanup
|
|
|
937a19 |
|
|
|
937a19 |
* Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.1.pre3
|
|
|
937a19 |
- Split into main and devel packages
|
|
|
937a19 |
|
|
|
937a19 |
* Thu Oct 27 2005 Dan Williams <dcbw@redhat.com> 1.0-0.0.pre3
|
|
|
937a19 |
- initial build
|