File mate-indicator-applet.spec of Package mate-indicator-applet
#
# spec file for mate-indicator-applet
#
# 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: mate-indicator-applet
Version: 1.8.0
Release: 0
License: GPL-3.0 and LGPL-3.0
Summary: Display information from applications consistently in the panel
Url: http://mate-desktop.org
Group: System/GUI/Other
Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
Recommends: %{name}-lang
%glib2_gsettings_schema_requires
BuildRequires: hicolor-icon-theme
# Do not owned usr/share/mate-panel
BuildRequires: mate-applets
BuildRequires: mate-common
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(indicator-0.4)
BuildRequires: pkgconfig(libmatepanelapplet-4.0)
BuildRequires: pkgconfig(mate-settings-daemon)
%lang_package
%description
The indicator applet exposes Ayatana Indicators in the MATE Panel. Ayatana Indicators are an
initiative by Canonical to provide crisp and clean system and application status indication. They take
the form of an icon and associated menu, displayed (usually) in the desktop panel. Existing indicators
include the Message Menu, Battery Menu and Sound menu.
%prep
%setup -q
%build
%configure \
--disable-static \
--disable-scrollkeeper \
--libexecdir=%{_libexecdir}/%{name}
make %{?_smp_mflags} V=1
%install
%makeinstall
%find_lang %{name}
if [ -d %{buildroot}%{_datadir}/MateConf ]; then
rm -r %{buildroot}%{_datadir}/MateConf
fi
%post
%glib2_gsettings_schema_post
%postun
%glib2_gsettings_schema_postun
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog README COPYING COPYING.LGPL
%dir %{_libexecdir}/mate-indicator-applet
%{_libexecdir}/mate-indicator-applet/indicator-*
%{_datadir}/dbus-1/services/org.mate.panel.applet.IndicatorApplet*.service
%{_datadir}/icons/hicolor/scalable/apps/mate-indicator-applet.svg
%{_datadir}/mate-panel/applets/org.ayatana.panel.IndicatorApplet.mate-panel-applet
%{_datadir}/mate-panel/applets/org.ayatana.panel.IndicatorAppletAppmenu.mate-panel-applet
%{_datadir}/mate-panel/applets/org.ayatana.panel.IndicatorAppletComplete.mate-panel-applet
%files lang -f %{name}.lang
%defattr(-,root,root,-)
%changelog