From e384079ef1ed181052ee4b19a8ead388f8186b9f39fa5fb500add8b7371d060c Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 2 Mar 2017 10:10:12 +0000 Subject: [PATCH] Accepting request 461842 from home:XRevan86 OBS-URL: https://build.opensuse.org/request/show/461842 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libnotify?expand=0&rev=44 --- libnotify.changes | 7 +++++++ libnotify.spec | 44 ++++++++++++++++++++++---------------------- 2 files changed, 29 insertions(+), 22 deletions(-) diff --git a/libnotify.changes b/libnotify.changes index 2e828e1..36a418c 100644 --- a/libnotify.changes +++ b/libnotify.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Feb 28 10:11:13 UTC 2017 - sor.alexei@meowr.ru + +- Recommend the virtual dbus(org.freedesktop.Notifications) package + instead of notification-daemon. +- Spec cleanup. + ------------------------------------------------------------------- Fri Oct 14 09:10:15 UTC 2016 - zaitor@opensuse.org diff --git a/libnotify.spec b/libnotify.spec index 9043ea9..72bb86f 100644 --- a/libnotify.spec +++ b/libnotify.spec @@ -1,7 +1,7 @@ # # spec file for package libnotify # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,16 @@ Name: libnotify +Version: 0.7.7 +Release: 0 +Summary: Notifications Library +License: LGPL-2.1+ +Group: System/Libraries +Url: http://galago-project.org/ +Source: https://download.gnome.org/sources/libnotify/0.7/%{name}-%{version}.tar.xz +Source99: baselibs.conf BuildRequires: gobject-introspection-devel +BuildRequires: pkgconfig BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-3.0) @@ -25,15 +34,6 @@ BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: gnome-common BuildRequires: gtk-doc %endif -Version: 0.7.7 -Release: 0 -Url: http://www.galago-project.org/ -Summary: Notifications Library -License: LGPL-2.1+ -Group: System/Libraries -Source: http://download.gnome.org/sources/libnotify/0.7/%{name}-%{version}.tar.xz -Source99: baselibs.conf -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description D-BUS notifications library. @@ -41,7 +41,7 @@ D-BUS notifications library. %package -n libnotify4 Summary: Notifications Library Group: System/Libraries -Recommends: notification-daemon +Recommends: dbus(org.freedesktop.Notifications) %description -n libnotify4 D-BUS notifications library. @@ -80,27 +80,27 @@ D-BUS notifications library. %prep %setup -q %if 0%{?BUILD_FROM_VCS} -[ -x ./autogens.sh ] && NOCONFIGURE=1 ./autogen.sh +[ -x ./autogen.sh ] && NOCONFIGURE=1 ./autogen.sh %endif %build %configure\ %if 0%{?BUILD_FROM_VCS} - --enable-gtk-doc \ + --enable-gtk-doc \ %endif - --disable-static -make %{?_smp_mflags} + --disable-static +make %{?_smp_mflags} V=1 %install -%makeinstall -%{__rm} -f %{buildroot}%{_libdir}/*.la +%make_install +find %{buildroot} -type f -name "*.la" -delete -print %post -n libnotify4 -p /sbin/ldconfig %postun -n libnotify4 -p /sbin/ldconfig %files -n libnotify4 -%defattr (-, root, root) +%defattr(-,root,root) # README is empty %doc AUTHORS COPYING ChangeLog NEWS %{_libdir}/*.so.* @@ -110,18 +110,18 @@ make %{?_smp_mflags} %{_libdir}/girepository-1.0/Notify-0.7.typelib %files tools -%defattr (-, root, root) +%defattr(-,root,root) %{_bindir}/notify-send %files devel -%defattr (-, root, root) +%defattr(-,root,root) %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/* %{_datadir}/gir-1.0/*.gir # Own these repositories to not depend on gtk-doc while building: -%dir %{_datadir}/gtk-doc -%dir %{_datadir}/gtk-doc/html +%dir %{_datadir}/gtk-doc/ +%dir %{_datadir}/gtk-doc/html/ %{_datadir}/gtk-doc/html/libnotify %changelog