Blame SPECS/libnl.spec

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