[libmateweather] enable python bindings, add BR pygtk2-devel

Wolfgang Ulbrich raveit65 at fedoraproject.org
Mon Feb 17 19:39:53 UTC 2014


commit 360f1bea3d8ea0ee47663e9e12837faa91f149f5
Author: raveit65 <chat-to-me at raveit.de>
Date:   Mon Feb 17 20:40:33 2014 +0100

    enable python bindings, add BR pygtk2-devel

 libmateweather.spec |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/libmateweather.spec b/libmateweather.spec
index b3ecaae..fb8cc54 100644
--- a/libmateweather.spec
+++ b/libmateweather.spec
@@ -9,8 +9,8 @@ Source0:       http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.x
 BuildRequires: gtk2-devel
 BuildRequires: libsoup-devel
 BuildRequires: mate-common
-#Python support is not yet working
-#BuildRequires: pygobject2-devel
+BuildRequires: pygtk2-devel
+BuildRequires: pygobject2-devel
 
 Requires:      %{name}-data = %{version}-%{release}
 
@@ -41,8 +41,8 @@ Development files for libmateweather
 %configure --disable-static           \
            --disable-schemas-compile  \
            --with-gtk=2.0             \
-           --enable-gtk-doc-html
-#Broken    --enable-python
+           --enable-gtk-doc-html      \
+           --enable-python
 
 # fix unused-direct-shlib-dependency
 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool 
@@ -86,6 +86,7 @@ fi
 %doc AUTHORS COPYING README
 %{_datadir}/glib-2.0/schemas/org.mate.weather.gschema.xml
 %{_libdir}/libmateweather.so.1*
+%{python2_sitearch}/mateweather/
 
 %files data -f %{name}.lang
 %{_datadir}/icons/mate/*/status/*
@@ -102,6 +103,7 @@ fi
 * Mon Feb 17 2014 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.7.90-1
 - update to 1.7.90 release
 - use --with-gnome --all-name for find locale
+- enable python bindings, add BR pygtk2-devel
 
 * Sun Feb 09 2014 Dan Mashal <dan.mashal at fedoraproject.org> - 1.7.1-1
 - Update to 1.7.1


More information about the scm-commits mailing list