[notification-daemon] 0.7.0

Matthias Clasen mclasen at fedoraproject.org
Mon Jan 24 19:55:34 UTC 2011


commit b77ab9672de716825e8402a7b4f537425a37a1e1
Author: Matthias Clasen <mclasen at redhat.com>
Date:   Mon Jan 24 14:55:19 2011 -0500

    0.7.0

 .gitignore               |    1 +
 notification-daemon.spec |   71 +++++++++-------------------------------------
 sources                  |    2 +-
 3 files changed, 16 insertions(+), 58 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 573a45a..7ccae2e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 notification-daemon-0.5.0.tar.bz2
+/notification-daemon-0.7.0.tar.bz2
diff --git a/notification-daemon.spec b/notification-daemon.spec
index 5fbba12..1a0e879 100644
--- a/notification-daemon.spec
+++ b/notification-daemon.spec
@@ -1,43 +1,33 @@
-%define gtk2_version		2.17.1
-%define dbus_version		0.90
-%define dbus_glib_version       0.70
-%define gconf_version           2.14
-%define wnck_version            2.19.3
+%define gtk3_version            2.99
+%define dbus_version            0.90
 
 Summary: Desktop Notification Daemon
 Name: notification-daemon
-Version: 0.5.0
+Version: 0.7.0
 Release: 1%{?dist}
 URL: http://live.gnome.org/NotificationDaemon
 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: gtk3-devel >= %{gtk3_version}
 BuildRequires: dbus-devel >= %{dbus_version}
-BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
 BuildRequires: libnotify-devel
-BuildRequires: GConf2-devel
 BuildRequires: libcanberra-devel
-BuildRequires: libwnck-devel >= %{wnck_version}
 BuildRequires: intltool
 
-Requires(preun): GConf2 >= %{gconf_version}
-Requires(pre): GConf2 >= %{gconf_version}
-Requires(post): GConf2 >= %{gconf_version}
-
 Obsoletes: notify-daemon
+Provides: notify-daemon
 Obsoletes: notification-daemon-engine-slider < 0.2.0-3
 Provides: notification-daemon-engine-slider = %{version}-%{release}
 
-Source0: http://download.gnome.org/sources/notification-daemon/0.5/%{name}-%{version}.tar.bz2
+Source0: http://download.gnome.org/sources/notification-daemon/0.7/%{name}-%{version}.tar.bz2
 
 %description
-notification-daemon is the server implementation of the freedesktop.org desktop
-notification specification. Notifications can be used to inform the user
-about an event or display some form of information without getting in the
-user's way.
+notification-daemon is the server implementation of the freedesktop.org
+desktop notification specification. Notifications can be used to inform
+the user about an event or display some form of information without getting
+in the user's way.
 
 %prep
 %setup -q
@@ -47,57 +37,24 @@ user's way.
 make
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 make install DESTDIR=$RPM_BUILD_ROOT
 
-# Really, just use gconftool for this
-rm -f $RPM_BUILD_ROOT%{_bindir}/notification-properties
-rm -f $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
-rm -f $RPM_BUILD_ROOT%{_datadir}/notification-daemon/notification-properties.ui
-rmdir $RPM_BUILD_ROOT%{_datadir}/notification-daemon/
-rm -rf $RPM_BUILD_ROOT%{_datadir}/icons
-
-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 Jan 24 2011 Matthias Clasen <mclasen at redhat.com> - 0.7.0-1
+- Update to 0.7.0
+
 * Mon Jun 28 2010 Jon McCann <jmccann at redhat.com> - 0.5.0-1
 - Update to 0.5.0
 
diff --git a/sources b/sources
index 6a2363e..f0d31e7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-18919b2aa2a88b71a40f59393edf70d0  notification-daemon-0.5.0.tar.bz2
+839e24ca633185d3b2f9a81e5380b8a6  notification-daemon-0.7.0.tar.bz2


More information about the scm-commits mailing list