- generate python bindings
authorArvin Schnell <aschnell@suse.de>
Tue, 24 Jul 2007 09:39:45 +0000 (09:39 +0000)
committerArvin Schnell <aschnell@suse.de>
Tue, 24 Jul 2007 09:39:45 +0000 (09:39 +0000)
VERSION.cmake
libzypp-bindings.spec.cmake
package/libzypp-bindings.changes
swig/CMakeLists.txt

index 097bf49..fec3c56 100644 (file)
@@ -1,3 +1,3 @@
 SET(VERSION_MAJOR "0")
-SET(VERSION_MINOR "3")
+SET(VERSION_MINOR "4")
 SET(VERSION_PATCH "0")
index 1c971f2..74adc03 100644 (file)
@@ -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
index 94abdff..47c88c1 100644 (file)
@@ -1,4 +1,9 @@
 -------------------------------------------------------------------
+Tue Jul 24 11:36:49 CEST 2007 - aschnell@suse.de
+
+- added Python bindings
+
+-------------------------------------------------------------------
 Thu Jul 19 16:13:08 CEST 2007 - aschnell@suse.de
 
 - New package with swig generated bindings for libzypp
index 3a24603..b3004d4 100644 (file)
@@ -1,5 +1,5 @@
 
 ADD_SUBDIRECTORY(ruby)
 
-ADD_SUBDIRECTORY(python)
+ADD_SUBDIRECTORY(python)