File mate-notification-daemon.spec of Package mate-notification-daemon
#
# spec file for mate-notification-daemon
#
# 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-notification-daemon
Version: 1.8.0
Release: 0
License: GPL-2.0+
Summary: Notification daemon for MATE
Url: http://mate-desktop.org/
Group: System/GUI/Other
Source: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
Recommends: %{name}-lang
%glib2_gsettings_schema_requires
BuildRequires: mate-common
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libcanberra-gtk)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(libwnck-1.0)
BuildRequires: pkgconfig(x11)
BuildRequires: update-desktop-files
%description
D-BUS notification daemon for MATE.
%lang_package
%prep
%setup -q
%build
%configure \
--libexecdir=%{_libexecdir}/%{name} \
--disable-static \
--disable-schemas-install
make %{?_smp_mflags} V=1
%install
%makeinstall
%{find_lang} %{name} %{?no_lang_C}
find %{buildroot}%{_libdir} -type f -name "*.la" -delete -print
%suse_update_desktop_file mate-notification-properties
if [ -d %{buildroot}%{_datadir}/MateConf ]; then
rm -r %{buildroot}%{_datadir}/MateConf
fi
%post
%glib2_gsettings_schema_post
%desktop_database_post
%icon_theme_cache_post
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%icon_theme_cache_postun
%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS
%dir %{_libexecdir}/mate-notification-daemon
%dir %{_libdir}/mate-notification-daemon
%dir %{_libdir}/mate-notification-daemon/engines
%dir %{_datadir}/mate-notification-daemon
%{_bindir}/mate-notification-properties
%{_libexecdir}/mate-notification-daemon/mate-notification-daemon
%{_libdir}/mate-notification-daemon/engines/lib*.so
%{_datadir}/applications/mate-notification-properties.desktop
%{_datadir}/dbus-1/services/org.freedesktop.mate.Notifications.service
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/mate-notification-daemon/mate-notification-properties.ui
%{_datadir}/glib-2.0/schemas/*.xml
%{_mandir}/man1/mate-notification-properties.1.gz
%files lang -f %{name}.lang
%defattr(-,root,root)
%changelog