Name: gnome-main-menu Summary: Novell Super Lab Main Menu Version: 0.9.12 Release: 4 Group: Applications/System URL: http://svn.gnome.org Source0: http://ftp.gnome.org/pub/gnome/sources/gnome-main-menu/0.9/gnome-main-menu-0.9.12.tar.bz2 Patch0: fedora-main-menu.patch License: GPLv2+ Packager: Lightspeed Technologies Vendor: Lightspeed Technologies BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pkgconfig,gnome-menus-devel,gettext,automake,librsvg2-devel, pango-devel BuildRequires: perl-XML-Parser, glib2-devel, gtk2-devel,gnome-desktop-devel BuildRequires: hal-devel,NetworkManager-devel,dbus-devel,libgtop2-devel,gnome-vfs2-devel BuildRequires: gnome-panel-devel, gettext-devel, GConf2-devel, wireless-tools-devel, eel2-devel, NetworkManager-glib-devel, startup-notification-devel Requires: gnome-panel, wireless-tools, NetworkManager, librsvg2, gnome-desktop Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires(post): desktop-file-utils Requires(postun): desktop-file-utils Requires(pre): GConf2 Requires(post): GConf2 Requires(preun): GConf2 %description GNOME Main Menu is a replacement for the standard GNOME Menu Bar/Main Menu, developed by Novell for SLED10. %package devel Summary: Library development files for slab Group: Development/Libraries Requires: %{name} = %{version}-%{release} BuildRequires: pkgconfig,gnome-menus-devel,gettext,automake,librsvg2-devel, pango-devel BuildRequires: perl-XML-Parser, glib2-devel, gtk2-devel,gnome-desktop-devel %description devel This package contains headers and libraries required to build applications that uses slab package. %prep %setup -q %patch0 -p1 %build %configure --disable-static --disable-dependency-tracking make %{?_smp_mflags} %install rm -rf %{buildroot} export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make DESTDIR=%{buildroot} install %find_lang gnome-main-menu desktop-file-install --delete-original \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-category X-Fedora \ $RPM_BUILD_ROOT%{_datadir}/applications/application-browser.desktop %clean rm -rf %{buildroot} %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` for NAME in slab application-browser control-center ;do gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/$NAME.schemas >/dev/null || : killall -HUP gconfd-2 &>/dev/null || : done fi %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` for NAME in slab application-browser control-center ;do gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/$NAME.schemas > /dev/null || : killall -HUP gconfd-2 &>/dev/null || : done fi %post update-desktop-database %{_datadir}/applications &> /dev/null /sbin/ldconfig export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` for NAME in slab application-browser control-center ;do gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/$NAME.schemas > /dev/null || : killall -HUP gconfd-2 &>/dev/null || : done %postun if [ "$1" = "0" ]; then update-desktop-database %{_datadir}/applications &> /dev/null fi /sbin/ldconfig %files -f gnome-main-menu.lang %defattr(-, root, root,-) %doc COPYING AUTHORS %{_bindir}/* %{_datadir}/applications/* %{_libdir}/*.so.* %config %{_sysconfdir}/gconf/schemas/* %{_libdir}/bonobo/servers/GNOME_MainMenu.server %{_prefix}/libexec/main-menu %{_datadir}/gnome-2.0/ui/GNOME_MainMenu_ContextMenu.xml %{_datadir}/gnome-main-menu/* %files devel %defattr(-,root,root,-) %doc ChangeLog %{_includedir}/slab/* %{_libdir}/*.so %{_libdir}/pkgconfig/libslab.pc %exclude %{_libdir}/*.la %changelog * Tue Oct 21 2008 Karl lattimer - 0.9.12 - Updated to latest SVN - Added shutdown item, only works on fedora 10 * Sat May 31 2008 Karl lattimer - 0.9.11 - Updated to latest SVN - Added fedora patch in order to make the necessary changes to configuration files and schemas - Added patch to reverse nm api changes for now * Tue May 06 2008 Karl Lattimer - 0.9.10 - Updated to latest SVN - Cleaned up spec file issues * Sat Sep 01 2007 Karl Lattimer - - Updated bookmark files, edited schema for fedora - Removed the bn.po file as it was causing problems - Decided to replace control-center schemas * Fri Jul 21 2006 Parag Nemade - 1.0-4.20060721cvs - Fixed desktop file installation problem. - Added &>/dev/null to gconf scriptlet * Fri Jul 21 2006 Parag Nemade - 1.0-3.20060721cvs - Added GConf scriptlet. - Added README.fedora * Fri Jul 21 2006 Parag Nemade - 1.0-2.20060721cvs - Added --disable-static --disable-dependency-tracking to %configure - Added BuildRequires for -devel package. - Solved Language files installation problem * Thu Jul 20 2006 Parag Nemade - 1.0-1.20060720cvs - Initial Release