From c934256495d8967486e68e4dc18dae3e7ef08427 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 8 Jul 2005 18:51:55 +0000 Subject: [PATCH] 2.11.1.1 --- .cvsignore | 1 + gnome-menus.spec | 41 ++++++++++++++++++++++++++++++++++------- sources | 2 +- 3 files changed, 36 insertions(+), 8 deletions(-) diff --git a/.cvsignore b/.cvsignore index eac51bd..d680c2a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,2 @@ gnome-menus-2.10.1.tar.bz2 +gnome-menus-2.11.1.1.tar.bz2 diff --git a/gnome-menus.spec b/gnome-menus.spec index a5fba23..35466ef 100644 --- a/gnome-menus.spec +++ b/gnome-menus.spec @@ -3,17 +3,15 @@ Summary: A menu system for the GNOME project Name: gnome-menus -Version: 2.10.1 -Release: 3 +Version: 2.11.1.1 +Release: 1 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.5.6, gnome-vfs2-devel >= 2.8.2 - -Patch0: gnome-menus-2.10.1-fix-parent-references.patch +BuildRequires: glib2-devel >= 2.6.0, gnome-vfs2-devel >= 2.8.2 %description gnome-menus is an implementation of the draft "Desktop @@ -30,11 +28,25 @@ Requires: %{name} = %{version} 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 -%patch0 -p1 -b .fix-parent-references - %build %configure \ %if %{enable_debugging} @@ -51,6 +63,8 @@ rm -rf $RPM_BUILD_ROOT %makeinstall rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus rm -rf $RPM_BUILD_ROOT%{_datadir}/desktop-directories @@ -77,8 +91,21 @@ rm -rf $RPM_BUILD_ROOT %{_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 +* Fri Jul 8 2005 Matthias Clasen 2.11.1.1-1 +- Update to 2.11.1.1 +- Split off subpackages for python bindings and editor + * Fri Apr 22 2005 Matthias Clasen 2.10.1-3 - Call ldconfig in %%post (#155734) - Add some BuildRequires diff --git a/sources b/sources index 8652cf6..413cde3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -83d9695a35ed2215620e8773ee918b8a gnome-menus-2.10.1.tar.bz2 +b6677d43bfb1b1c427a6d2daca30d8b6 gnome-menus-2.11.1.1.tar.bz2