File notification-daemon-xfce.spec of Package notification-daemon-xfce
#
# spec file for package notification-daemon-xfce (Version 0.3.7)
#
# Copyright (c) 2008 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/
#
# norootforbuild
Name: notification-daemon-xfce
Version: 0.3.7
Release: 163
License: GPL v2 or later
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/GUI/XFCE
BuildRequires: gtk2-devel >= 2.6.0 libxfce4util-devel >= 4.3.90 update-desktop-files
BuildRequires: dbus-1-devel dbus-1-glib libxfcegui4-devel >= 4.3.90
BuildRequires: xfce-mcs-manager-devel
%if %suse_version > 1010
BuildRequires: dbus-1-glib-devel
%endif
BuildRequires: libsexy-devel perl-XML-Parser
Provides: notification-daemon
Source0: %{name}-%{version}.tar.bz2
Url: http://goodies.xfce.org/projects/applications/notification-daemon-xfce
Summary: Port of GNOME's notification-daemon for the Xfce desktop
%description
Notification-daemon-xfce is a dbus daemon, so to use it, you need a
frontend application to trigger the daemon. This application is
libnotify. Libnotify provides bindings for applications and also a
small application to manually send messages to the daemon: notify-send.
Libnotify is probably provided by your distribution.
Authors:
--------
Christian Hammond <chipx86@chipx86.com>
John (J5) Palmieri <johnp@redhat.com>
Xfce port:
Nick Schermer <nick@xfce.org>
Contributors:
Rodney Dawes <dobey@novell.com>
felix@hsgheli.de
Ed Catmur <ed@catmur.co.uk>
%prep
%setup -q
%build
%configure --disable-static
make %{?jobs:-j%jobs}
%install
make DESTDIR="$RPM_BUILD_ROOT" install
%find_lang %{name}
sed -e 's#Exec=.*$#Exec=%{_libexecdir}/notification-daemon-xfce#' \
$RPM_BUILD_ROOT/%{_datadir}/dbus-1/services/org.freedesktop.Notifications.service \
> $RPM_BUILD_ROOT/%{_datadir}/dbus-1/services/org.freedesktop.Notifications.service2
mv $RPM_BUILD_ROOT/%{_datadir}/dbus-1/services/org.freedesktop.Notifications.service2 \
$RPM_BUILD_ROOT/%{_datadir}/dbus-1/services/org.freedesktop.Notifications.service
%suse_update_desktop_file -i notification-settings X-XFCE Settings DesktopSettings
%clean
rm -rf "$RPM_BUILD_ROOT"
%files -f %name.lang
%defattr(-,root,root)
%{_bindir}/notification-settings
%{_libexecdir}/notification-daemon-xfce
%{_libexecdir}/notification-daemon-xfce
%dir %{_libdir}/xfce4
%dir %{_libdir}/xfce4/mcs-plugins
%{_libdir}/xfce4/mcs-plugins/*
%{_datadir}/applications/notification-settings.desktop
%dir %{_datadir}/icons/hicolor/22x22
%{_datadir}/icons/*/*/*
%{_datadir}/dbus-1/services/*
%dir %{_libexecdir}/notification-daemon-xfce-1.0
%dir %{_libexecdir}/notification-daemon-xfce-1.0/engines
%{_libexecdir}/notification-daemon-xfce-1.0/engines/*
%changelog
* Tue Nov 18 2008 pnemec@suse.cz
- call update_desktop_file macro on desktop files [bnc#445722]
* Tue Dec 04 2007 prusnak@suse.cz
- use %%find_lang macro
* Sat Jun 23 2007 bwalle@suse.de
- replaced group 'System/GUI/Other' by 'System/GUI/XFCE'
* Sat May 26 2007 bwalle@suse.de
- updated to 0.3.7
o Fixed a compatibility issue with dbus-glib 0.72. Patch by Pawel
Worach. (Bug #95)
o The background of the window in the standard theme is now just
slightly transparent when compiled against GTK+ 2.10 and when
using a composite manager. Patch by Matt Walton. (Ticket #110)
o Fix several rendering glitches with the borders in the standard
theme.
o Fix a memory leak when removing a notification. Patch by Sven
Wegener. (Bug #105).
o Added initial accessibility support with the standard theme
engine.
o Clicking anywhere in a notification should now close the
notification. This was happening only on the body text
sometimes.
* Thu Mar 22 2007 prusnak@suse.cz
- fixed building with new dbus (dbus-prefix.patch)
* Thu Mar 08 2007 prusnak@suse.cz
- added norootforbuild
* Wed Jan 24 2007 ro@suse.de
- added some directories to filelist
* Wed Oct 25 2006 bwalle@suse.de
- Bugfix: corrected executable name in dbis-1/services file
* Sun Oct 22 2006 bwalle@suse.de
- new upstream version, includes a new configuration panel
* Sat Sep 09 2006 bwalle@suse.de
- new package