This commit is contained in:
Matthias Clasen 2005-07-08 18:51:55 +00:00
parent b501a69e07
commit c934256495
3 changed files with 36 additions and 8 deletions

View File

@ -1 +1,2 @@
gnome-menus-2.10.1.tar.bz2 gnome-menus-2.10.1.tar.bz2
gnome-menus-2.11.1.1.tar.bz2

View File

@ -3,17 +3,15 @@
Summary: A menu system for the GNOME project Summary: A menu system for the GNOME project
Name: gnome-menus Name: gnome-menus
Version: 2.10.1 Version: 2.11.1.1
Release: 3 Release: 1
License: LGPL License: LGPL
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.gnome.org/ URL: http://www.gnome.org/
Source0: %{name}-%{version}.tar.bz2 Source0: %{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Requires: redhat-menus >= 1.0 Requires: redhat-menus >= 1.0
BuildRequires: glib2-devel >= 2.5.6, gnome-vfs2-devel >= 2.8.2 BuildRequires: glib2-devel >= 2.6.0, gnome-vfs2-devel >= 2.8.2
Patch0: gnome-menus-2.10.1-fix-parent-references.patch
%description %description
gnome-menus is an implementation of the draft "Desktop gnome-menus is an implementation of the draft "Desktop
@ -30,11 +28,25 @@ Requires: %{name} = %{version}
This package provides the necessary development libraries for This package provides the necessary development libraries for
writing applications that use the GNOME menu system. 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 %prep
%setup -q %setup -q
%patch0 -p1 -b .fix-parent-references
%build %build
%configure \ %configure \
%if %{enable_debugging} %if %{enable_debugging}
@ -51,6 +63,8 @@ rm -rf $RPM_BUILD_ROOT
%makeinstall %makeinstall
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la 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%{_sysconfdir}/xdg/menus
rm -rf $RPM_BUILD_ROOT%{_datadir}/desktop-directories rm -rf $RPM_BUILD_ROOT%{_datadir}/desktop-directories
@ -77,8 +91,21 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/gnome-menus %{_includedir}/gnome-menus
%{_bindir}/gnome-menu-spec-test %{_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 %changelog
* Fri Jul 8 2005 Matthias Clasen <mclasen@redhat.com> 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 <mclasen@redhat.com> 2.10.1-3 * Fri Apr 22 2005 Matthias Clasen <mclasen@redhat.com> 2.10.1-3
- Call ldconfig in %%post (#155734) - Call ldconfig in %%post (#155734)
- Add some BuildRequires - Add some BuildRequires

View File

@ -1 +1 @@
83d9695a35ed2215620e8773ee918b8a gnome-menus-2.10.1.tar.bz2 b6677d43bfb1b1c427a6d2daca30d8b6 gnome-menus-2.11.1.1.tar.bz2