SPECS: libdnet.spec - up to 1.11 - build python module

heretyk heretyk at pld-linux.org
Fri Mar 9 16:13:50 CET 2007


Author: heretyk                      Date: Fri Mar  9 15:13:50 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 1.11
- build python module

---- Files affected:
SPECS:
   libdnet.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/libdnet.spec
diff -u SPECS/libdnet.spec:1.11 SPECS/libdnet.spec:1.12
--- SPECS/libdnet.spec:1.11	Tue Feb 13 07:46:50 2007
+++ SPECS/libdnet.spec	Fri Mar  9 16:13:44 2007
@@ -5,18 +5,20 @@
 Summary:	Interface to several low-level networking routines
 Summary(pl.UTF-8):	Interfejs do niektórych niskopoziomowych funkcji sieciowych
 Name:		libdnet
-Version:	1.8
-Release:	1
+Version:	1.11
+Release:	0.1
 License:	BSD
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/libdnet/%{name}-%{version}.tar.gz
-# Source0-md5:	187054990cd8e4e1aa6845912b34236d
-Patch0:		%{name}-ac.patch
-Patch1:		%{name}-am.patch
+# Source0-md5:	04c394ed8e1e7fc455456e79e908916d
+#Patch0:		%{name}-ac.patch
+#Patch1:		%{name}-am.patch
 URL:		http://libdnet.sourceforge.net/
 BuildRequires:	autoconf >= 2.53
 BuildRequires:	automake
 BuildRequires:	libtool
+BuildRequires:	rpm-pythonprov
+BuildRequires:	python-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -72,10 +74,22 @@
 %description progs -l pl.UTF-8
 Przykładowe aplikacje do wykorzystania libdnet.
 
+%package -n python-libdnet
+Summary:	libdnet python module
+Summary(pl.UTF-8):	Moduł libdnet dla pythona
+Group:		Libraries
+#%pyrequires_eq	python-libs
+
+%description -n python-libdnet
+libdnet python module.
+
+%description -n python-libdnet -l pl.UTF-8
+Moduł libdnet dla pythona.
+
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
+#%patch0 -p1
+#%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -84,6 +98,7 @@
 %{__autoheader}
 %{__automake}
 %configure \
+	--with-python \
 	%{!?with_static_libs:--disable-static}
 %{__make}
 
@@ -124,12 +139,20 @@
 %attr(755,root,root) %{_sbindir}/*
 %{_mandir}/man8/*
 
+%files -n python-libdnet
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/dnet.so
+
 %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.12  2007/03/09 15:13:44  heretyk
+- up to 1.11
+- build python module
+
 Revision 1.11  2007/02/13 06:46:50  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libdnet.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list