rpms/gnome-menus/devel gnome-menus.spec,1.12,1.13

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Jul 11 13:54:25 UTC 2005


Author: mclasen

Update of /cvs/dist/rpms/gnome-menus/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv16342

Modified Files:
	gnome-menus.spec 
Log Message:
No subpackages



Index: gnome-menus.spec
===================================================================
RCS file: /cvs/dist/rpms/gnome-menus/devel/gnome-menus.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- gnome-menus.spec	8 Jul 2005 18:51:55 -0000	1.12
+++ gnome-menus.spec	11 Jul 2005 13:54:22 -0000	1.13
@@ -1,23 +1,29 @@
 %define po_package gnome-menus
 %define enable_debugging 0
 
+%define python python2
+%define pyver %(%{__python} -c "import sys; print sys.version[:3]")
+
 Summary:  A menu system for the GNOME project
 Name: gnome-menus
 Version: 2.11.1.1
-Release: 1
+Release: 2
 License: LGPL
 Group: System Environment/Libraries
 URL: http://www.gnome.org/
 Source0: %{name}-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 Requires:  redhat-menus >= 1.0
-BuildRequires: glib2-devel >= 2.6.0, gnome-vfs2-devel >= 2.8.2
+Requires: python-abi = %{pyver}
+BuildRequires: glib2-devel >= 2.6.0
+BuildRequires: %{python}-devel >= 2.3.0
 
 %description
 gnome-menus is an implementation of the draft "Desktop
 Menu Specification" from freedesktop.org. This package
 also contains the GNOME menu layout configuration files, 
-.directory files and assorted menu related utility programs.
+.directory files and assorted menu related utility programs,
+Python bindings, and a simple menu editor.
 
 %package devel
 Summary: Libraries and include files for the GNOME menu system
@@ -28,22 +34,6 @@
 This package provides the necessary development libraries for 
 writing applications that use the GNOME menu system.
 
-%package python
-Summary: Python bindings for the GNOME menu system
-Group: Development/Libraries
-Requires:   %{name} = %{version}
-
-%description python
-This package provides Python bindings for the GNOME menu system.
-
-%package simple-editor
-Summary: A simple editor for the GNOME menu system.
-Group: Applications/System
-Requires:   %{name}-python = %{version}
-
-%description simple-editor
-This package provides a simple editor for the GNOME menu system.
-
 %prep
 %setup -q
 
@@ -82,6 +72,10 @@
 %defattr(-,root,root,-)
 %doc
 %{_libdir}/libgnome-menu.so.*
+%{_libdir}/python*/site-packages/gmenu.so
+%{_bindir}/gmenu-simple-editor
+%{_libdir}/python*/site-packages/GMenuSimpleEditor/*
+%{_datadir}/gnome-menus/glade/gmenu-simple-editor.glade
 
 %files devel
 %defattr(-, root, root)
@@ -91,17 +85,12 @@
 %{_includedir}/gnome-menus
 %{_bindir}/gnome-menu-spec-test
 
-%files python 
-%defattr(-, root, root)
-%{_libdir}/python*/site-packages/gmenu.so
-
-%files simple-editor
-%defattr(-, root, root)
-%{_bindir}/gmenu-simple-editor
-%{_libdir}/python*/site-packages/GMenuSimpleEditor/*
-%{_datadir}/gnome-menus/glade/gmenu-simple-editor.glade
-
 %changelog
+* Mon Jul 11 2005 Matthias Clasen <mclasen at redhat.com> 2.11.1.1-2
+- Undo the split into tiny subpackages, instead move
+  the Python bindings and the editor into the main package.
+- Fix dependencies
+
 * Fri Jul  8 2005 Matthias Clasen <mclasen at redhat.com> 2.11.1.1-1
 - Update to 2.11.1.1
 - Split off subpackages for python bindings and editor




More information about the fedora-cvs-commits mailing list