SPECS: libnl.spec (NEW) - initial
undefine
undefine at pld-linux.org
Sun Jun 19 10:08:18 CEST 2005
Author: undefine Date: Sun Jun 19 08:08:18 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
libnl.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/libnl.spec
diff -u /dev/null SPECS/libnl.spec:1.1
--- /dev/null Sun Jun 19 10:08:18 2005
+++ SPECS/libnl.spec Sun Jun 19 10:08:13 2005
@@ -0,0 +1,94 @@
+# $Revision$, $Date$
+Summary: Netlink library
+Summary(pl): Biblioteka do obsługi netlink
+Name: libnl
+Version: 0.5.0
+Release: 1
+License: LGPL v2.1
+Group: Libraries
+Source0: http://people.suug.ch/~tgr/libnl/files/%{name}-%{version}.tar.gz
+# Source0-md5: c58ec5032f393f569ef7f489436651b3
+Patch0: %{name}-if_ether.patch
+Patch1: %{name}-no_root.patch
+Patch2: %{name}-libdir.patch
+URL: http://people.suug.ch/~tgr/libnl/
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libnl is a library for applications dealing with netlink socket. It
+provides an easy to use interface for raw netlink message but also
+netlink family specific APIs.
+
+%description -l pl
+libnl jest biblioteką dla aplikacji rozmawiających z gniazdem
+netlinka. Udostępnia łatwy w użyciu interfejs do korzystania z
+surowych wiadomości netlink, a także API do rodziny netlinka.
+
+%package devel
+Summary: Header files for libnl library
+Summary(pl): Pliki nagłówkowe biblioteki libnl
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for libnl library.
+
+%description devel -l pl
+Pliki nagłówkowe biblioteki libnl.
+
+%package static
+Summary: Static libnl library
+Summary(pl): Statyczna biblioteka libnl
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static libnl library.
+
+%description static -l pl
+Statyczna biblioteka libnl.
+
+%prep
+%setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%configure \
+ --enable-verbose-errors
+%{__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(644,root,root,755)
+%doc ChangeLog
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/netlink
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/06/19 08:08:13 undefine
+ - initial
+
================================================================
More information about the pld-cvs-commit
mailing list