]> git.pld-linux.org Git - packages/libnl1.git/blobdiff - libnl1.spec
- merged final 1.0 from DEVEL
[packages/libnl1.git] / libnl1.spec
index b99d7e1038f6d0f0c473af4d1f3760dffd9cf87c..ab21bd96c4961dbeae8abb7f8cd137b59c67033a 100644 (file)
@@ -1,16 +1,14 @@
 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
@@ -52,9 +50,8 @@ Static libnl library.
 Statyczna biblioteka libnl.
 
 %prep
-%setup -q -n %{name}-%{version}-%{pre}
+%setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__aclocal}
@@ -71,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# for autodeps to work
+chmod +x $RPM_BUILD_ROOT%{_libdir}/libnl.so.*.*
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -80,8 +80,8 @@ 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)
This page took 0.049828 seconds and 4 git commands to generate.