]> git.pld-linux.org Git - packages/libgpod.git/commitdiff
- build python bindings
authorPatryk Zawadzki <patrys@room-303.com>
Tue, 14 Nov 2006 19:31:24 +0000 (19:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libgpod.spec -> 1.15

libgpod.spec

index 5a6455a2005ca47f768958f68038a65da2e806f1..95083b3de951129f4114f5ccdc3895702de105e3 100644 (file)
@@ -19,6 +19,7 @@ BuildRequires:        hal-devel >= 0.5.7.1
 BuildRequires: intltool >= 0.35
 BuildRequires: libtool
 BuildRequires: pkgconfig
+BuildRequires: python-eyeD3 >= 0.6.6
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -59,6 +60,21 @@ Static libgpod library.
 %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
 
@@ -73,7 +89,8 @@ Statyczna biblioteka libgpod.
 %{__automake}
 %configure \
        --with-eject-command="/usr/bin/eject" \
-       --with-unmount-command="/bin/umount"
+       --with-unmount-command="/bin/umount" \
+       --with-python=yes
 %{__make}
 
 %install
@@ -105,3 +122,7 @@ rm -rf $RPM_BUILD_ROOT
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libgpod.a
+
+%files -n python-gpod
+%defattr(644,root,root,755)
+%{py_sitescriptdir}/*
This page took 0.028446 seconds and 4 git commands to generate.