2005-01-31 14:23:52 +00:00
|
|
|
%define po_package gnome-menus
|
2005-03-02 17:25:37 +00:00
|
|
|
%define enable_debugging 0
|
2005-01-31 14:23:52 +00:00
|
|
|
|
2005-07-11 13:54:22 +00:00
|
|
|
%define python python2
|
|
|
|
%define pyver %(%{__python} -c "import sys; print sys.version[:3]")
|
|
|
|
|
2005-01-31 14:23:52 +00:00
|
|
|
Summary: A menu system for the GNOME project
|
|
|
|
Name: gnome-menus
|
2005-09-06 09:42:06 +00:00
|
|
|
Version: 2.12.0
|
2005-08-22 09:14:27 +00:00
|
|
|
Release: 1
|
2005-01-31 14:23:52 +00:00
|
|
|
License: LGPL
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://www.gnome.org/
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
2005-01-31 14:44:18 +00:00
|
|
|
Requires: redhat-menus >= 1.0
|
2005-07-11 13:54:22 +00:00
|
|
|
Requires: python-abi = %{pyver}
|
|
|
|
BuildRequires: glib2-devel >= 2.6.0
|
|
|
|
BuildRequires: %{python}-devel >= 2.3.0
|
2005-04-06 06:50:30 +00:00
|
|
|
|
2005-01-31 14:23:52 +00:00
|
|
|
%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,
|
2005-07-11 13:54:22 +00:00
|
|
|
.directory files and assorted menu related utility programs,
|
|
|
|
Python bindings, and a simple menu editor.
|
2005-01-31 14:23:52 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Libraries and include files for the GNOME menu system
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the necessary development libraries for
|
|
|
|
writing applications that use the GNOME menu system.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2005-03-02 17:25:37 +00:00
|
|
|
%configure \
|
|
|
|
%if %{enable_debugging}
|
|
|
|
--enable-debug=yes
|
|
|
|
%else
|
|
|
|
--enable-debug=no
|
|
|
|
%endif
|
|
|
|
|
2005-01-31 14:23:52 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
2005-07-08 18:51:55 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a
|
2005-02-01 15:22:33 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/desktop-directories
|
2005-01-31 14:23:52 +00:00
|
|
|
|
|
|
|
%find_lang %{po_package}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2005-04-23 03:48:37 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
2005-01-31 14:23:52 +00:00
|
|
|
%files -f %{po_package}.lang
|
|
|
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc
|
|
|
|
%{_libdir}/libgnome-menu.so.*
|
2005-07-11 13:54:22 +00:00
|
|
|
%{_libdir}/python*/site-packages/gmenu.so
|
|
|
|
%{_bindir}/gmenu-simple-editor
|
|
|
|
%{_libdir}/python*/site-packages/GMenuSimpleEditor/*
|
|
|
|
%{_datadir}/gnome-menus/glade/gmenu-simple-editor.glade
|
2005-08-16 13:44:40 +00:00
|
|
|
%{_datadir}/applications/gmenu-simple-editor.desktop
|
2005-01-31 14:23:52 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_libdir}/lib*.a
|
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%{_includedir}/gnome-menus
|
|
|
|
%{_bindir}/gnome-menu-spec-test
|
|
|
|
|
|
|
|
%changelog
|
2005-09-06 09:42:06 +00:00
|
|
|
* Tue Sep 6 2005 Mark McLoughlin <markmc@redhat.com> 2.12.0-1
|
|
|
|
- Update to 2.12.0
|
|
|
|
|
2005-08-22 09:14:27 +00:00
|
|
|
* Mon Aug 22 2005 Mark McLoughlin <markmc@redhat.com> 2.11.92-1
|
|
|
|
- Update to 2.11.92
|
|
|
|
|
2005-08-18 12:53:18 +00:00
|
|
|
* Thu Aug 18 2005 Mark McLoughlin <markmc@redhat.com> 2.11.91-3
|
|
|
|
- Fix infinite loop in patch for gnome #313624
|
|
|
|
|
2005-08-18 08:20:09 +00:00
|
|
|
* Thu Aug 18 2005 Mark McLoughlin <markmc@redhat.com> 2.11.91-2
|
|
|
|
- Add patch to fix "duplicate entries after upgrade" issue (gnome #313624)
|
|
|
|
|
2005-08-16 13:44:40 +00:00
|
|
|
* Tue Aug 16 2005 Mark McLoughlin <markmc@redhat.com> 2.11.91-1
|
|
|
|
- Update to 2.11.91
|
|
|
|
- Backport patch from HEAD to hopefully fix crasher (rh #165977)
|
|
|
|
|
2005-08-03 19:48:57 +00:00
|
|
|
* Wed Aug 03 2005 Ray Strode <rstrode@redhat.com> - 2.11.90-1
|
|
|
|
- Update to upstream version 2.11.90
|
|
|
|
|
2005-07-11 13:54:22 +00:00
|
|
|
* Mon Jul 11 2005 Matthias Clasen <mclasen@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
|
|
|
|
|
2005-07-08 18:51:55 +00:00
|
|
|
* 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
|
|
|
|
|
2005-04-23 03:48:37 +00:00
|
|
|
* Fri Apr 22 2005 Matthias Clasen <mclasen@redhat.com> 2.10.1-3
|
|
|
|
- Call ldconfig in %%post (#155734)
|
2005-04-23 03:50:46 +00:00
|
|
|
- Add some BuildRequires
|
2005-04-23 03:48:37 +00:00
|
|
|
|
2005-04-06 06:50:30 +00:00
|
|
|
* Wed Apr 6 2005 Mark McLoughlin <markmc@redhat.com> 2.10.1-2
|
|
|
|
- Backport patch from CVS to fix large memory leak on re-loading
|
|
|
|
the menus (gnome #172472)
|
|
|
|
|
2005-03-23 12:24:15 +00:00
|
|
|
* Wed Mar 23 2005 Mark McLoughlin <markmc@redhat.com> 2.10.1-1
|
|
|
|
- Update to 2.10.1
|
|
|
|
|
2005-03-17 21:10:48 +00:00
|
|
|
* Thu Mar 17 2005 Ray Strode <rstrode@redhat.com> - 2.10.0-1
|
|
|
|
- Update to upstream version 2.10.0
|
|
|
|
|
2005-03-04 19:23:10 +00:00
|
|
|
* Fri Mar 4 2005 Jeremy Katz <katzj@redhat.com> - 2.9.90-4
|
|
|
|
- fix 64bit pointer problem that caused the panel to crash
|
|
|
|
|
2005-03-02 17:25:37 +00:00
|
|
|
* Wed Mar 2 2005 Mark McLoughlin <markmc@redhat.com> 2.9.90-3
|
|
|
|
- Turn off debugging by default
|
|
|
|
- Rebuild with gcc4
|
|
|
|
|
2005-02-01 13:16:47 +00:00
|
|
|
* Tue Feb 1 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-2
|
|
|
|
- Don't include .directory and .menu files,
|
|
|
|
we want those from redhat-menus
|
|
|
|
|
2005-01-31 14:23:52 +00:00
|
|
|
* Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-1
|
|
|
|
- Initial build.
|
|
|
|
|