Summary: Netlink library
Summary(pl.UTF-8): Biblioteka do obsługi gniazd netlink
Name: libnl
-Epoch: 1
Version: 1.0
-%define pre pre6
-Release: 0.%{pre}.5
+Release: 1
+Epoch: 1
License: LGPL v2.1
Group: Libraries
-Source0: http://people.suug.ch/~tgr/libnl/files/%{name}-%{version}-%{pre}.tar.gz
-# Source0-md5: 0f57cb7085dc27e054691bff858613c9
-Patch0: %{name}-llh.patch
-Patch1: %{name}-static.patch
+Source0: http://people.suug.ch/~tgr/libnl/files/%{name}-%{version}.tar.gz
+# Source0-md5: fd59c63cfa8ad50c8331a48aa252e483
+Patch0: %{name}-static.patch
URL: http://people.suug.ch/~tgr/libnl/
BuildRequires: autoconf
BuildRequires: automake
Statyczna biblioteka libnl.
%prep
-%setup -q -n %{name}-%{version}-%{pre}
+%setup -q
%patch0 -p1
-%patch1 -p1
%build
%{__aclocal}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# for autodeps to work
+chmod +x $RPM_BUILD_ROOT%{_libdir}/libnl.so.*.*
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc ChangeLog
-%attr(755,root,root) %{_libdir}/libnl.so.[0-9].[0-9]*
-%ghost %attr(755,root,root) %{_libdir}/libnl.so.[!.]
+%attr(755,root,root) %{_libdir}/libnl.so.*.*
+%ghost %attr(755,root,root) %{_libdir}/libnl.so.1
%files devel
%defattr(644,root,root,755)