%define gtk2_version 2.4.0 %define dbus_version 0.90 %define dbus_glib_version 0.70 %define gconf_version 2.14 %define wnck_version 2.16.0 Summary: Notification Daemon Name: notification-daemon Version: 0.3.7 Release: 8%{?dist} URL: http://www.galago-project.org/specs/notification/ License: GPLv2+ Group: System Environment/Libraries Provides: desktop-notification-daemon Provides: notify-daemon BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel >= %{gtk2_version} BuildRequires: dbus-devel >= %{dbus_version} BuildRequires: dbus-glib-devel >= %{dbus_glib_version} BuildRequires: libnotify-devel BuildRequires: GConf2-devel BuildRequires: autoconf automake BuildRequires: libwnck-devel >= %{wnck_version} BuildRequires: libtool BuildRequires: intltool BuildRequires: gettext Requires(preun): GConf2 >= %{gconf_version} Requires(pre): GConf2 >= %{gconf_version} Requires(post): GConf2 >= %{gconf_version} Obsoletes: notify-daemon Source0: http://www.galago-project.org/files/releases/source/notification-daemon/%{name}-%{version}.tar.bz2 Patch0: notification-daemon-0.3.5-remove-libsexy.patch Patch1: notification-daemon-0.3.7-summary-markup.patch %description notification-daemon is the server implementation of the freedesktop.org desktop notification specification. %prep %setup -q %patch0 -p1 -b .remove-libsexy %patch1 -p1 -b .summary-markup %build autoreconf automake intltoolize --force %configure --disable-static make %install rm -rf $RPM_BUILD_ROOT export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make install DESTDIR=$RPM_BUILD_ROOT rm -f $RPM_BUILD_ROOT/%{_libdir}/notification-daemon-1.0/engines/*.*a %find_lang %{name} %clean rm -rf %{buildroot} %pre if [ "$1" -gt 1 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/notification-daemon.schemas >/dev/null || : fi %preun if [ "$1" -eq 0 ]; then export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-uninstall-rule \ %{_sysconfdir}/gconf/schemas/notification-daemon.schemas >/dev/null || : fi %post export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule \ %{_sysconfdir}/gconf/schemas/notification-daemon.schemas > /dev/null || : %files -f %{name}.lang %defattr(-,root,root) %doc COPYING AUTHORS NEWS %dir %{_libdir}/notification-daemon-1.0 %dir %{_libdir}/notification-daemon-1.0/engines %{_libdir}/notification-daemon-1.0/engines/*.so %{_libexecdir}/notification-daemon %{_datadir}/dbus-1/services/org.freedesktop.Notifications.service %config %{_sysconfdir}/gconf/schemas/notification-daemon.schemas %changelog * Mon Feb 18 2008 Fedora Release Engineering - 0.3.7-8 - Autorebuild for GCC 4.3 * Tue Oct 23 2007 Matthias Clasen - 0.3.7-7 - Rebuild against new dbus-glib * Wed Sep 26 2007 Matthias Clasen - 0.3.7-6 - Make it build with the latest intltool * Wed Aug 8 2007 Matthias Clasen - 0.3.7-5 - Update the license field * Tue Jun 5 2007 Matthias Clasen - 0.3.7-4 - Rebuild again * Mon Jun 04 2007 - Bastien Nocera - 0.3.7-3 - Rebuild with new libwnck * Mon May 14 2007 Matthias Clasen - 0.3.7-2 - Escape markup in summaries (#239950) * Fri Mar 23 2007 Matthias Clasen - 0.3.7-1 - Update to 0.3.7, which contains important bug fixes and theming improvements * Mon Jan 29 2007 Matthias Clasen - 0.3.6-1 - Update to 0.3.6 - Apply a patch by Thorsten Leemhuis to fix some spec issues * Wed Oct 18 2006 Matthias Clasen - 0.3.5-8 - Fix scripts according to packaging guidelines * Tue Oct 17 2006 Matthias Clasen - 0.3.5-7 - Tighten up Requires (#203813) * Thu Jul 20 2006 Jesse Keating - 0.3.5-6 - Remove gconf kills, no longer necessary * Wed Jul 19 2006 John (J5) Palmieri - 0.3.5-5 - add BR on dbus-glib-devel * Wed Jul 12 2006 Jesse Keating - 0.3.5-4.1 - rebuild * Fri Jun 09 2006 John (J5) Palmieri - 0.3.5-4 - Mark schema as config - Add libtool BR - Add intltool BR * Mon Jun 05 2006 John (J5) Palmieri - 0.3.5-3 - More spec file cleanups * Fri May 26 2006 John (J5) Palmieri - 0.3.5-2 - Spec file cleanup * Fri May 19 2006 John (J5) Palmieri - 0.3.5-1 - Update to upstream 0.3.5 - Rename to notification-daemon to track upstream * Mon Apr 17 2006 Kristian Høgsberg 0.3.1-10 - Update name of compositing manager selection to track recent metacity changes. * Wed Mar 08 2006 John (J5) Palmieri - 0.3.1-9 - Add patch to fix struct handling in the dbus glib binding for dbus 0.61 so image data works again * Tue Feb 14 2006 Christopher Aillon - 0.3.1-8 - BuildRequires love, for all you lovers out there. * Fri Feb 10 2006 Jesse Keating - 0.3.1-7.1 - bump again for double-long bug on ppc(64) * Thu Feb 09 2006 Florian La Roche - remove empty scripts from .spec file * Tue Feb 07 2006 Jesse Keating - 0.3.1-6.1 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Feb 3 2006 Christopher Aillon - 0.3.1-6 - Add patch to determine whether a compositing manager is running when drawing a new notification bubble, as long as the CM grabs the appropriate XSelection. * Fri Jan 20 2006 Christopher Aillon - 0.3.1-5 - Make it so that marked-up messages appear with markup * Thu Jan 12 2006 Christopher Aillon - 0.3.1-4 - Provide desktop-notification-daemon, since libnotify requires a notification deamon, but not this specific one. Other notification daemons can exist on the system so long as they meet the provides (and the API of course). * Mon Jan 9 2006 Christopher Aillon - 0.3.1-3 - Fix positioning of the notification bubble to not draw off-screen * Wed Dec 14 2005 John (J5) Palmieri - 0.3.1-2 - Actuall release of 0.3.1 * Thu Nov 17 2005 John (J5) Palmieri - 0.3.1-1 - Upgrade to upstream 0.3.1 * Tue Nov 15 2005 John (J5) Palmieri - 0.3.0-1 - inital build