Name: notify-osd Version: 0.9.29 Release: 2%{?dist} Summary: On-screen notification display agent, implementing the FDO notification specification Group: User Interface/X License: GPLv3 URL: http://launchpad.net/notify-osd Source0: http://launchpad.net/notify-osd/lucid/ubuntu-10.04-beta-2/+download/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: GConf2-devel BuildRequires: libwnck-devel BuildRequires: libnotify-devel BuildRequires: dbus-glib-devel Requires: hicolor-icon-theme Requires(post): notification-daemon Requires(postun): notification-daemon Provides: virtual-notification-daemon Conflicts: xfce4-notifyd %description Canonical's on-screen notification display agent, implementing the FreeDesktop.org notification specification with semi-transparent click-through bubbles. The Desktop Notifications framework provides a standard way of doing passive pop-up notifications on the Linux desktop. These are designed to make the user aware of something without interrupting their work flow with a dialog box that they must close. The notify-osd agent presents these notifications as ephemeral overlays, which don't prevent the user from working. The agent queues notifications so that screen layout is carefully managed, and handles updates. It also introduces the idea of "appends", which allow notifications to grow over time, for example in the case of instant messages from a particular user. This agent is part of a broader set of tools that applications can use to draw attention or seek a decision from the user. There is a guideline for effective use of the framework for developers, which helps determine the right approachfor an application in different scenarios. %prep %setup -q %build %configure %{__make} %{?_smp_mflags} LIBS="-lX11 -lpixman-1 -lm" %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR=%{buildroot} %{__rm} -rf %{buildroot}%{_datadir}/dbus-1/ %clean %{__rm} -rf %{buildroot} %post touch --no-create %{_datadir}/icons/hicolor if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi # No... if [ -f %{_datadir}/dbus-1/services/org.freedesktop.Notifications.service ]; then %{__sed} -r -i -e '/Exec=/ s|/[^/]+$|/notify-osd|' \ %{_datadir}/dbus-1/services/org.freedesktop.Notifications.service fi %postun touch --no-create %{_datadir}/icons/hicolor if [ -x %{_bindir}/gtk-update-icon-cache ]; then %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : fi # No... if [ -f %{_datadir}/dbus-1/services/org.freedesktop.Notifications.service ]; then %{__sed} -r -i -e '/Exec=/ s|/[^/]+$|/notification-daemon|' \ %{_datadir}/dbus-1/services/org.freedesktop.Notifications.service fi %files %defattr(-,root,root,-) %doc README AUTHORS ChangeLog COPYING NEWS %dir %{_datadir}/%{name} %{_libexecdir}/%{name} %{_datadir}/%{name}/icons/hicolor/scalable/status/* %changelog * Mon Nov 22 2010 - Elder Marco - 0.9.29-2 - gtk-update-icon-cache for hicolor-icon-theme. * Sun Aug 01 2010 - Elder Marco - 0.9.29-1 - Initial Package based on Mandriva spec file.