Name: mate-notification-daemon Version: 1.4.0 Release: 2%{?dist} Summary: Notification daemon for MATE Desktop License: GPLv2+ and LGPLv2+ URL: http://mate-desktop.org Source0: http://pub.mate-desktop.org/releases/1.4/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils dbus-glib-devel GConf2 libcanberra-devel libmatenotify-devel libmatewnck-devel mate-common mate-doc-utils mate-conf-devel mate-corba-devel Provides: desktop-notification-daemon %description Notification daemon for MATE Desktop %prep %setup -q NOCONFIGURE=1 ./autogen.sh %build %configure --disable-static --disable-schemas make %{?_smp_mflags} V=1 %install export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=%{buildroot} find %{buildroot} -name '*.la' -exec rm -f {} ';' find %{buildroot} -name '*.a' -exec rm -f {} ';' %find_lang %{name} --all-name desktop-file-install \ --remove-category="MATE" \ --add-category="X-Mate" \ --remove-only-show-in="MATE" \ --add-only-show-in="X-MATE" \ --delete-original \ --dir=%{buildroot}%{_datadir}/applications \ %{buildroot}/%{_datadir}/applications/mate-notification-properties.desktop %pre %gconf_schema_prepare %{_sysconfdir}/mateconf/schemas/mate-notification-daemon.schemas %post /usr/bin/update-desktop-database &>/dev/null || : /bin/touch --no-create %{_datadir}/icons/mate &>/dev/null || : %gconf_schema_upgrade %{_sysconfdir}/mateconf/schemas/mate-notification-daemon.schemas %postun /usr/bin/update-desktop-database &>/dev/null || : %gconf_schema_remove %{buildroot}/%{_sysconfdir}/mateconf/schemas/mate-notification-daemon.schemas if [ $1 -eq 0 ] ; then /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans /usr/bin/gtk-update-icon-cache -f %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %{_bindir}/mate-notification-properties %config(noreplace) %{_sysconfdir}/mateconf/schemas/mate-notification-daemon.schemas %{_datadir}/applications/mate-notification-properties.desktop %{_datadir}/dbus-1/services/org.freedesktop.mate.Notifications.service %{_datadir}/mate-notification-daemon/mate-notification-properties.ui %{_libexecdir}/mate-notification-daemon %{_datadir}/icons/hicolor/16x16/apps/mate-notification-properties.png %{_datadir}/icons/hicolor/22x22/apps/mate-notification-properties.png %{_datadir}/icons/hicolor/24x24/apps/mate-notification-properties.png %{_datadir}/icons/hicolor/32x32/apps/mate-notification-properties.png %{_datadir}/icons/hicolor/48x48/apps/mate-notification-properties.png %{_datadir}/icons/hicolor/scalable/apps/mate-notification-properties.svg %{_libdir}/mate-notification-daemon/ %changelog * Sat Aug 08 2012 Dan Mashal 1.4.0-2 - Remove po_package and add provides field. * Thu Jul 12 2012 Dan Mashal 1.4.0-1 -Initial build