rpms/tomoe/devel tomoe.spec,1.15,1.16

Jens Petersen (petersen) fedora-extras-commits at redhat.com
Mon Jul 16 03:56:06 UTC 2007


Author: petersen

Update of /cvs/extras/rpms/tomoe/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22936

Modified Files:
	tomoe.spec 
Log Message:
- add python binding build switch
- buildrequire pygobject2-devel



Index: tomoe.spec
===================================================================
RCS file: /cvs/extras/rpms/tomoe/devel/tomoe.spec,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- tomoe.spec	16 Jul 2007 03:25:59 -0000	1.15
+++ tomoe.spec	16 Jul 2007 03:55:33 -0000	1.16
@@ -1,3 +1,4 @@
+%define python_binding 1
 %define ruby_binding 0
 
 Name:           tomoe
@@ -12,6 +13,9 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  glib2-devel, gettext, gtk-doc
 BuildRequires:  perl(XML::Parser), python, pygtk2-codegen
+%if %{python_binding}
+BuildRequires:  pygobject2-devel, pygtk2-codegen
+%endif
 %if %{ruby_binding}
 BuildRequires:  ruby-glib2-devel
 %endif
@@ -70,7 +74,9 @@
 %defattr(-,root,root,-)
 %doc AUTHORS COPYING NEWS README TODO data/kanjidic*.html
 %{_libdir}/libtomoe.so.*
+%if {python_binding}
 %{_libdir}/python2.5/site-packages/tomoe.so
+%endif
 %{_libdir}/tomoe
 %{_datadir}/tomoe
 %dir %{_sysconfdir}/tomoe
@@ -91,10 +97,11 @@
 
 %changelog
 * Mon Jul 16 2007 Jens Petersen <petersen at redhat.com> - 0.6.0-2
-- enable python binding with buildrequires pygtk2-codegen
+- add a build switch for python binding
+- buildrequires for pygobject2-devel pygtk2-codegen
 - buildrequire gtk-doc
 - require gtk-doc for devel package
-- add a build switch for ruby binding
+- add a build switch for ruby binding (default off)
 
 * Fri Jun 29 2007 Jens Petersen <petersen at redhat.com> - 0.6.0-1
 - update to 0.6.0




More information about the fedora-extras-commits mailing list