File gnome-main-menu.spec of Package gnome-main-menu
#
# spec file for package gnome-main-menu
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gnome-main-menu
Version: 1.8.0
Release: 0
License: GPL-2.0+
Summary: The GNOME Desktop Menu
Url: http://www.gnome.org
Group: System/GUI/Other
Source: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(NetworkManager)
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libgtop-2.0)
BuildRequires: pkgconfig(libcaja-extension) >= 1.8.0
BuildRequires: pkgconfig(libnm-glib)
BuildRequires: pkgconfig(libmatepanelapplet-4.0) >= 1.8.0
BuildRequires: pkgconfig(libslab) >= 1.8.0
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(unique-1.0)
BuildRequires: pkgconfig(x11)
BuildRequires: libiw-devel
BuildRequires: mate-common
BuildRequires: mate-control-center-branding-upstream
BuildRequires: mate-panel-branding-upstream
Requires: mate-system-monitor
Requires: tango-icon-theme
Recommends: mate-search-tool
Recommends: %{name}-lang
%glib2_gsettings_schema_requires
%description
The GNOME Desktop Menu and Application Browser.
%package -n caja-gnome-main-menu
License: GPL-2.0+
Summary: The GNOME Desktop Menu
Group: System/GUI/GNOME
%description -n caja-gnome-main-menu
The GNOME Desktop Menu and Application Browser.
%lang_package
%prep
%setup -q
%build
%configure \
--libexecdir=%{_libexecdir}/%{name} \
--disable-static \
--enable-caja-extension \
--disable-scrollkeeper
make %{?_smp_mflags}
%install
%makeinstall
find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file application-browser
%suse_update_desktop_file mate-screensaver-lock
%suse_update_desktop_file mate-session-logout
%suse_update_desktop_file mate-session-shutdown
%suse_update_desktop_file trigger-panel-run-dialog
%find_lang %{name}
%fdupes %{buildroot}
%post
/sbin/ldconfig
%glib2_gsettings_schema_post
%postun
/sbin/ldconfig
%glib2_gsettings_schema_postun
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/application-browser
%{_bindir}/trigger-panel-run-dialog
%{_libexecdir}/gnome-main-menu/
%{_datadir}/applications/*.desktop
%{_datadir}/gnome-main-menu/
%{_datadir}/dbus-1/services/org.mate.panel.applet.GNOMEMainMenuFactory.service
%{_datadir}/glib-2.0/*
%{_datadir}/mate-control-center/*
%{_datadir}/mate-panel/applets/org.mate.GNOMEMainMenu.mate-panel-applet
%{_mandir}/man1/application-browser.1.gz
%files lang -f %{name}.lang
%files -n caja-gnome-main-menu
%defattr (-, root, root)
%{_libdir}/caja/extensions-2.0/*.so
%changelog