summaryrefslogtreecommitdiff
path: root/libzypp-bindings.spec.cmake
diff options
context:
space:
mode:
authorArvin Schnell <aschnell@suse.de>2007-07-24 09:39:45 +0000
committerArvin Schnell <aschnell@suse.de>2007-07-24 09:39:45 +0000
commitaf7bd1693171b6929e210e1294e3d72d46440d23 (patch)
tree6c082ecd2bcab039db036f45d4f4ebc9dcebdf1e /libzypp-bindings.spec.cmake
parent6fb6c43512a605a459cefa4b53283ef9f7d6f4d8 (diff)
downloadlibzypp-bindings-af7bd1693171b6929e210e1294e3d72d46440d23.tar.gz
libzypp-bindings-af7bd1693171b6929e210e1294e3d72d46440d23.tar.bz2
libzypp-bindings-af7bd1693171b6929e210e1294e3d72d46440d23.zip
- generate python bindings
Diffstat (limited to 'libzypp-bindings.spec.cmake')
-rw-r--r--libzypp-bindings.spec.cmake14
1 files changed, 13 insertions, 1 deletions
diff --git a/libzypp-bindings.spec.cmake b/libzypp-bindings.spec.cmake
index 1c971f2..74adc03 100644
--- a/libzypp-bindings.spec.cmake
+++ b/libzypp-bindings.spec.cmake
@@ -15,7 +15,7 @@ License: GPL
Summary: Bindings for libzypp
Group: Development/Sources
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: cmake gcc-c++ ruby-devel swig
+BuildRequires: cmake gcc-c++ python-devel ruby-devel swig
BuildRequires: libzypp-devel >= 3.0.0
Source: %{name}-%{version}.tar.bz2
@@ -55,4 +55,16 @@ Group: Development/Languages/Ruby
%defattr(-,root,root,-)
%{_libdir}/ruby/%{rb_ver}/%{rb_arch}/rzypp.so
+%package -n python-zypp
+Summary: Python bindings for libzypp
+Group: Development/Languages/Python
+
+%description -n python-zypp
+-
+
+%files -n python-zypp
+%defattr(-,root,root,-)
+%{_libdir}/python2.5/site-package/_zypp.so
+%{_libdir}/python2.5/site-package/zypp.py
+
%changelog