SPECS: libgpod.spec - build python bindings

patrys patrys at pld-linux.org
Tue Nov 14 20:31:30 CET 2006


Author: patrys                       Date: Tue Nov 14 19:31:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build python bindings

---- Files affected:
SPECS:
   libgpod.spec (1.14 -> 1.15) 

---- Diffs:

================================================================
Index: SPECS/libgpod.spec
diff -u SPECS/libgpod.spec:1.14 SPECS/libgpod.spec:1.15
--- SPECS/libgpod.spec:1.14	Sun Oct  8 18:22:54 2006
+++ SPECS/libgpod.spec	Tue Nov 14 20:31:24 2006
@@ -20,6 +20,7 @@
 BuildRequires:	intltool >= 0.35
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
+BuildRequires:	python-eyeD3 >= 0.6.6
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -60,6 +61,21 @@
 %description static -l pl
 Statyczna biblioteka libgpod.
 
+%package -n python-gpod
+Summary:	Libraries for libgpod access from Python
+Summary(pl):	Biblioteki Pythona dla biblioteki libgpod
+Group:		Development/Languages/Python
+Requires:	%{name} = %{epoch}:%{version}-%{release}
+Requires:	python-eyeD3 >= 0.6.6
+%pyrequires_eq	python-libs
+
+%description -n python-gpod
+This is the libgpod Python support package.
+
+%description -n python-gpod -l pl
+Biblioteki umożliwiające korzystanie z libgpod z poziomu
+Pythona.
+
 %prep
 %setup -q
 
@@ -74,7 +90,8 @@
 %{__automake}
 %configure \
 	--with-eject-command="/usr/bin/eject" \
-	--with-unmount-command="/bin/umount"
+	--with-unmount-command="/bin/umount" \
+	--with-python=yes
 %{__make}
 
 %install
@@ -107,12 +124,19 @@
 %defattr(644,root,root,755)
 %{_libdir}/libgpod.a
 
+%files -n python-gpod
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/*
+
 %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.15  2006/11/14 19:31:24  patrys
+- build python bindings
+
 Revision 1.14  2006/10/08 16:22:54  qboosh
 - dropped zero epoch (not present in deps)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libgpod.spec?r1=1.14&r2=1.15&f=u



More information about the pld-cvs-commit mailing list