%define preversion pre3
Summary: Convenience library for rtnetlink
Group: Development/Libraries
License: LGPL
Name: libnl
Version: 1.0
Release: 0.%{preversion}
URL: http://people.suug.ch/~tgr/libnl/
Source: http://people.suug.ch/~tgr/libnl/files/libnl-%{version}-%{preversion}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: doxygen
%description
This package contains a convenience library to simplify
using the Linux kernel's rtnetlink sockets interface for
network manipulation
%prep
%setup -q -n libnl-%{version}-%{preversion}
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc doc/*
%{_includedir}/netlink/
%{_libdir}/%{name}.so*
%changelog
* Thu Oct 27 2005 Dan Williams <dcbw@redhat.com>
- initial build