From a931b21fe4768c4534e584e3224b12531cbdd19977f24e780719f0899a69a6ee Mon Sep 17 00:00:00 2001 From: OBS User autobuild Date: Mon, 9 Aug 2010 15:10:14 +0000 Subject: [PATCH] Accepting request 45114 from GNOME:Factory Copy from GNOME:Factory/libnotify based on submit request 45114 from user vuntz OBS-URL: https://build.opensuse.org/request/show/45114 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnotify?expand=0&rev=19 --- libnotify-0.4.5.tar.bz2 | 3 --- libnotify-0.5.1.tar.bz2 | 3 +++ libnotify.changes | 31 +++++++++++++++++++++++++++++ libnotify.spec | 44 +++++++++++++++++++++++++---------------- 4 files changed, 61 insertions(+), 20 deletions(-) delete mode 100644 libnotify-0.4.5.tar.bz2 create mode 100644 libnotify-0.5.1.tar.bz2 diff --git a/libnotify-0.4.5.tar.bz2 b/libnotify-0.4.5.tar.bz2 deleted file mode 100644 index 1ac4a04..0000000 --- a/libnotify-0.4.5.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d1cf0b4073471adde59385443c21f0f75f09ec5d08ed935e668450d7fd145979 -size 289217 diff --git a/libnotify-0.5.1.tar.bz2 b/libnotify-0.5.1.tar.bz2 new file mode 100644 index 0000000..4d8efff --- /dev/null +++ b/libnotify-0.5.1.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6778ec8f496d5a9c387369bd89f5b1a9a95c799cf74fd74fffe2ab52d5d2b5c5 +size 308597 diff --git a/libnotify.changes b/libnotify.changes index 14f7703..5edd99b 100644 --- a/libnotify.changes +++ b/libnotify.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Thu Jul 22 10:45:21 CEST 2010 - vuntz@opensuse.org + +- Create a tools subpackage, and move the notify-send utility + there. The main libnotify package is not needed anymore, so make + the tools subpackage provide/obsolete it. +- Move the notification-daemon Recommends to libnotify1, since it's + where it really belongs. +- Remove libnotify Requires in libnotify1: it's not needed. +- Remove dbus-1-devel, dbus-1-glib-devel, glib2-devel, gtk2-devel + Requires in devel package: they will automatically get added with + pkgconfig() Requires. + +------------------------------------------------------------------- +Fri Jul 16 16:55:31 CEST 2010 - dimstar@opensuse.org + +- Update to version 0.5.1: + + Remove explicit GTK+ 2.x linking, so that libnotify can link + against both GTK+ 2.x or GTK+ 3.x +- Changes from version 0.5.0: + + Support for version 1.1 of notification spec + - bgo#608089: Applications aborted at finalizing when the dbus + session is being closed. + - bgo#608082: Arabic text is misplaced in bubbles (RTL) + - bgo#608086: wrong return value of notify_init() + - bgo#612720: Does not compile with -DGSEAL_ENABLE + - bgo#613999: Use g_strcompress in notify-send to parse \n from + command line + - bgo#610880: lazily initialize the daemon. +- BuildRequire gtk3-devel instead of gtk2-devel. + ------------------------------------------------------------------- Fri Jun 4 17:55:48 CEST 2010 - vuntz@opensuse.org diff --git a/libnotify.spec b/libnotify.spec index 0d75466..a73df43 100644 --- a/libnotify.spec +++ b/libnotify.spec @@ -1,5 +1,5 @@ # -# spec file for package libnotify (Version 0.4.5) +# spec file for package libnotify (Version 0.5.1) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,18 +19,20 @@ Name: libnotify -BuildRequires: dbus-1-glib-devel -BuildRequires: gtk2-devel -Version: 0.4.5 -Release: 5 +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(dbus-glib-1) +BuildRequires: pkgconfig(glib-2.0) +# libnotify works with both gtk+ 2 and gtk+ 3, and we need both at build time +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(gtk+-3.0) +Version: 0.5.1 +Release: 1 Url: http://www.galago-project.org/ Group: System/Libraries License: GPLv2+ ; LGPLv2.1+ Summary: Notifications Library Source: %{name}-%{version}.tar.bz2 Source99: baselibs.conf -Requires: libnotify1 -Recommends: notification-daemon BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -40,19 +42,27 @@ D-BUS notifications library. License: GPLv2+ ; LGPLv2.1+ Group: System/Libraries Summary: Notifications Library -Requires: %{name} >= %{version} +Recommends: notification-daemon %description -n libnotify1 D-BUS notifications library. +%package tools +License: LGPLv2.1+ +Group: System/Libraries +Summary: Notifications Library -- Tools +Provides: libnotify = %{version} +Obsoletes: libnotify < %{version} + +%description tools +D-BUS notifications library. + +This package contains the notify-send tool to create notifications. + %package devel License: LGPLv2.1+ Group: System/Libraries Summary: Notifications Library -Requires: dbus-1-devel -Requires: dbus-1-glib-devel -Requires: glib2-devel -Requires: gtk2-devel Requires: libnotify1 = %{version} Provides: libnotify-doc = %{version} Obsoletes: libnotify-doc < %{version} @@ -79,16 +89,16 @@ rm -rf $RPM_BUILD_ROOT %postun -n libnotify1 -p /sbin/ldconfig -%files +%files -n libnotify1 %defattr (-, root, root) # README is empty %doc AUTHORS COPYING ChangeLog NEWS -%{_bindir}/* - -%files -n libnotify1 -%defattr (-, root, root) %{_libdir}/*.so.* +%files tools +%defattr (-, root, root) +%{_bindir}/notify-send + %files devel %defattr (-, root, root) %{_libdir}/*.so