Ship applications-gnome.menu
This commit is contained in:
parent
2b5e940aab
commit
21d8658486
@ -3,7 +3,7 @@
|
|||||||
Summary: A menu system for the GNOME project
|
Summary: A menu system for the GNOME project
|
||||||
Name: gnome-menus
|
Name: gnome-menus
|
||||||
Version: 3.0.0
|
Version: 3.0.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://www.gnome.org/
|
URL: http://www.gnome.org/
|
||||||
@ -42,6 +42,7 @@ writing applications that use the GNOME menu system.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static \
|
%configure --disable-static \
|
||||||
|
--disable-introspection \
|
||||||
%if %{enable_debugging}
|
%if %{enable_debugging}
|
||||||
--enable-debug=yes
|
--enable-debug=yes
|
||||||
%else
|
%else
|
||||||
@ -59,8 +60,9 @@ make %{?_smp_mflags}
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||||
|
|
||||||
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus
|
# This probably dates back to Bluecurve days; rather than simply deleting
|
||||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/desktop-directories/Desktop.directory
|
# deleting it, we'll ship it as applications-gnome.desktop
|
||||||
|
mv $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus/applications{,-gnome}.menu
|
||||||
|
|
||||||
# We use alacarte now
|
# We use alacarte now
|
||||||
rm -rf $RPM_BUILD_ROOT%{_bindir}/gmenu-simple-editor
|
rm -rf $RPM_BUILD_ROOT%{_bindir}/gmenu-simple-editor
|
||||||
@ -81,6 +83,7 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome-menus/
|
|||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS NEWS COPYING.LIB
|
%doc AUTHORS NEWS COPYING.LIB
|
||||||
|
%{_sysconfdir}/xdg/menus/applications-gnome.menu
|
||||||
%{_libdir}/libgnome-menu.so.*
|
%{_libdir}/libgnome-menu.so.*
|
||||||
%{python_sitearch}/gmenu.so
|
%{python_sitearch}/gmenu.so
|
||||||
%{_datadir}/desktop-directories/*
|
%{_datadir}/desktop-directories/*
|
||||||
@ -92,6 +95,10 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome-menus/
|
|||||||
%{_includedir}/gnome-menus
|
%{_includedir}/gnome-menus
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 11 2011 Colin Walters <walters@verbum.org> - 3.0.0-2
|
||||||
|
- Ship applications-gnome.desktop; we don't want GNOME 3 to use redhat-menus.
|
||||||
|
- Disable introspection, we're not using it right now
|
||||||
|
|
||||||
* Mon Apr 4 2011 Matthias Clasen <mclasen@redhat.com> 3.0.0-1
|
* Mon Apr 4 2011 Matthias Clasen <mclasen@redhat.com> 3.0.0-1
|
||||||
- Update to 3.0.0
|
- Update to 3.0.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user