gnome-menus/gnome-menus.spec

231 lines
6.7 KiB
RPMSpec
Raw Normal View History

%define po_package gnome-menus
%define enable_debugging 0
2006-11-07 16:53:08 +00:00
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
2005-07-11 13:54:22 +00:00
Summary: A menu system for the GNOME project
Name: gnome-menus
2007-01-10 19:14:07 +00:00
Version: 2.17.5
Release: 2%{?dist}
License: LGPL
Group: System Environment/Libraries
URL: http://www.gnome.org/
Source0: %{name}-%{version}.tar.bz2
2007-01-10 19:14:07 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: redhat-menus >= 7.8.9-2
2005-07-11 13:54:22 +00:00
BuildRequires: glib2-devel >= 2.6.0
2006-11-07 04:45:14 +00:00
BuildRequires: python2-devel >= 2.3.0
2006-01-19 20:08:31 +00:00
BuildRequires: gamin-devel
2006-06-06 13:07:53 +00:00
BuildRequires: perl-XML-Parser
2006-06-09 17:24:07 +00:00
BuildRequires: gettext
2006-08-21 19:01:57 +00:00
BuildRequires: pkgconfig
%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.
%package devel
Summary: Libraries and include files for the GNOME menu system
Group: Development/Libraries
2007-01-10 19:14:07 +00:00
Requires: %{name} = %{version}-%{release}
2006-08-21 19:01:57 +00:00
Requires: glib2-devel >= 2.6.0
2006-11-07 04:45:14 +00:00
Requires: python2-devel >= 2.3.0
2006-08-21 19:01:57 +00:00
Requires: gamin-devel
Requires: pkgconfig
%description devel
This package provides the necessary development libraries for
writing applications that use the GNOME menu system.
%prep
%setup -q
%build
%configure \
%if %{enable_debugging}
--enable-debug=yes
%else
--enable-debug=no
%endif
make
%install
rm -rf $RPM_BUILD_ROOT
2006-01-30 19:10:17 +00:00
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
2006-11-07 03:28:40 +00:00
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
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/Desktop.directory
2006-09-05 15:21:25 +00:00
# We use alacarte now
rm -rf $RPM_BUILD_ROOT%{_bindir}/gmenu-simple-editor
2007-01-10 19:14:07 +00:00
rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/gmenu-simple-editor.desktop
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome-menus/glade/gmenu-simple-editor.glade
rm -rf $RPM_BUILD_ROOT%{python_sitearch}/GMenuSimpleEditor/*
# No point in shipping this either
2007-01-10 19:21:58 +00:00
rm -rf $RPM_BUILD_ROOT%{_bindir}/gnome-menu-spec-test
2006-09-05 15:21:25 +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
%files -f %{po_package}.lang
%defattr(-,root,root,-)
%doc
%{_libdir}/libgnome-menu.so.*
2006-11-07 16:52:45 +00:00
%{python_sitearch}/gmenu.so
2006-01-30 19:10:17 +00:00
%{_datadir}/desktop-directories
%files devel
%defattr(-, root, root)
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%{_includedir}/gnome-menus
%changelog
* Mon Jan 29 2007 Adam Jackson <ajax@redhat.com> - 2.17.5-2
- Fix the redhat-menus Requires: to a version where there's no
System.directory conflict.
2007-01-10 19:14:07 +00:00
* Wed Jan 10 2007 Matthias Clasen <mclasen@redhat.com> - 2.17.5-1
- Update to 2.17.5
- Remove traces of gmenu-simple-editor
2006-12-07 18:19:28 +00:00
* Thu Dec 7 2006 Jeremy Katz <katzj@redhat.com> - 2.17.2-2
- rebuild for python 2.5
2006-11-07 03:28:40 +00:00
* Mon Nov 6 2006 Matthias Clasen <mclasen@redhat.com> - 2.17.2-1
- Update to 2.17.2
- Don't ship static libraries
2006-11-07 15:29:32 +00:00
- Fix python packaging
2006-11-07 03:28:40 +00:00
2006-10-22 00:33:58 +00:00
* Sat Oct 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.1-1
- Update to 2.16.1
2006-09-05 15:21:25 +00:00
* Tue Sep 5 2006 Ray Strode <rstrode@redhat.com> - 2.16.0-2.fc6
- Remove menu editor (bug 205210)
2006-09-05 00:17:28 +00:00
* Mon Sep 4 2006 Matthias Clasen <mclasen@redhat.com> - 2.16.0-1.fc6
- Update to 2.16.0
2006-08-21 19:01:57 +00:00
* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.91-2.fc6
- Add Requires to the -devel package
2006-08-12 21:53:56 +00:00
* Sat Aug 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.91-1.fc6
- Update to 2.15.91
2006-08-03 14:13:07 +00:00
* Thu Aug 2 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.90-1.fc6
- Update to 2.15.90
2006-07-12 17:30:12 +00:00
* Wed Jul 12 2006 Matthias Clasen <mclasen@redhat.com> - 2.15.4.1-1
- Update to 2.15.4.1
2006-07-12 17:14:45 +00:00
2006-07-12 05:59:37 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.14.0-4.1
- rebuild
2006-06-09 17:24:07 +00:00
* Fri Jun 9 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.0-4
- More missing BuildRequires
2006-06-06 13:07:53 +00:00
* Tue Jun 6 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.0-3
- Add a BuildRequires for perl-XML-Parser
2006-04-17 16:34:04 +00:00
* Mon Apr 13 2006 Matthias Clasen <mclasen@redhat.com> - 2.14.0-2
- Update to 2.14.0
2006-04-17 16:36:35 +00:00
- Drop upstreamed patch
2006-04-17 16:34:04 +00:00
2006-02-11 03:14:41 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.13.5-5.2
- bump again for double-long bug on ppc(64)
2006-02-07 11:52:51 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.13.5-5.1
- rebuilt for new gcc4.1 snapshot and glibc changes
2006-02-06 17:22:38 +00:00
* Mon Feb 6 2006 Ray Strode <rstrode@redhat.com> 2.13.5-5
- break infinite loop
* Wed Feb 1 2006 Ray Strode <rstrode@redhat.com> 2.13.5-4
- don't ship upstream Desktop.directory files
2006-01-30 19:10:17 +00:00
* Fri Jan 27 2006 Ray Strode <rstrode@redhat.com> 2.13.5-3
- ship upstream .directory files
2006-01-19 20:08:31 +00:00
* Thu Jan 19 2006 Matthias Clasen <mclasen@redhat.com> 2.13.5-2
- Add a BuildRequires for gamin
2006-01-17 05:07:41 +00:00
* Tue Jan 17 2006 Matthias Clasen <mclasen@redhat.com> 2.13.5-1
- Update to 2.13.5
2005-12-09 22:40:40 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
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
* Thu Aug 18 2005 Mark McLoughlin <markmc@redhat.com> 2.11.91-3
- Fix infinite loop in patch for gnome #313624
* Thu Aug 18 2005 Mark McLoughlin <markmc@redhat.com> 2.11.91-2
- Add patch to fix "duplicate entries after upgrade" issue (gnome #313624)
* 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
* 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
* Fri Mar 4 2005 Jeremy Katz <katzj@redhat.com> - 2.9.90-4
- fix 64bit pointer problem that caused the panel to crash
* Wed Mar 2 2005 Mark McLoughlin <markmc@redhat.com> 2.9.90-3
- Turn off debugging by default
- Rebuild with gcc4
* 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
* Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-1
- Initial build.