libnotify/libnotify.spec

191 lines
5.5 KiB
RPMSpec

#
# spec file for package libnotify (Version 0.4.5)
#
# Copyright (c) 2009 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: libnotify
BuildRequires: dbus-1-glib-devel
BuildRequires: gtk2-devel
Version: 0.4.5
Release: 3
Url: http://www.galago-project.org/
Group: System/Libraries
License: GPL v2 or later; LGPL v2.1 or later
Summary: Notifications Library
Source: %{name}-%{version}.tar.bz2
Requires: libnotify1
Recommends: notification-daemon
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
D-BUS notifications library.
Authors:
--------
Christian Hammond <chipx86@chipx86.com>
Mike Hearn <mike@navi.cx>
%package -n libnotify1
License: GPL v2 or later; LGPL v2.1 or later
Group: System/Libraries
Summary: Notifications Library
Requires: %{name} >= %{version}
%description -n libnotify1
D-BUS notifications library.
Authors:
--------
Christian Hammond <chipx86@chipx86.com>
Mike Hearn <mike@navi.cx>
%package devel
License: LGPL v2.1 or later
Group: System/Libraries
Summary: Notifications Library
Requires: %{name} = %{version} glib2-devel gtk2-devel dbus-1-devel
Requires: dbus-1-glib-devel
Provides: libnotify-doc = %{version}
Obsoletes: libnotify-doc < %{version}
%description devel
D-BUS notifications library.
Authors:
--------
Christian Hammond <chipx86@chipx86.com>
Mike Hearn <mike@navi.cx>
%prep
%setup -q
%build
%configure\
--disable-static
make %{?jobs:-j%jobs}
%install
%makeinstall
%{__rm} -f %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libnotify1 -p /sbin/ldconfig
%postun -n libnotify1 -p /sbin/ldconfig
%files
%defattr (-, root, root)
# README is empty
%doc AUTHORS COPYING ChangeLog NEWS
%{_bindir}/*
%files -n libnotify1
%defattr (-, root, root)
%{_libdir}/*.so.*
%files devel
%defattr (-, root, root)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%{_datadir}/gtk-doc/html/libnotify
%changelog
* Sun Apr 26 2009 vuntz@novell.com
- Do not Require notification-daemon, but Recommend it: there's no
reason to hard-require it.
* Sat Feb 28 2009 vuntz@novell.com
- Remove BuildRequires: gtk-doc, update-desktop-files.
- Remove dbus-1-x11 Requires: it's wrong (we don't require
dbus-launch in any way: if the session bus is not there, having
dbus-launch won't help). The requirement should be in another
package.
- Merge doc package in devel, with adequate Provides/Obsoletes.
* Sat Jan 31 2009 vuntz@novell.com
- Remove la file.
* Sat Dec 20 2008 mboman@suse.de
- Update to version 0.4.5:
+ Added GObject property accessors for notification IDs
+ Added support for sending the closed reason in the "closed" signal
handler.
+ Added support for sending the status icon XID to the notification
daemon. This will allow better position tracking for context
notifications.
+ Fixed a breakage where we were including gtkversion.h directly.
- Remove backport libnotify-svn3018.patch
* Tue Nov 11 2008 ro@suse.de
- SLE-11 uses PPC64 instead of PPC, adapt baselibs.conf
* Tue Oct 28 2008 vuntz@novell.com
- Add libnotify-svn3018.patch, which contains a few fixes from
upstream svn (no release since early 2007). The most important
change is a change to be able to work nicely with notification
icons.
- Spec clean up.
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Thu Oct 04 2007 maw@suse.de
- s#%%run_ldconfig#/sbin/ldconfig# in %%post and %%postun
- Split out a libnotify1 subpackage.
* Tue Mar 06 2007 sbrabec@suse.cz
- Updated to version version 0.4.4:
* Bug fixes.
* Fixed memory leaks.
* notify_uninit is no longer called automatically at exit.
- License update (#236707).
* Tue Feb 20 2007 aj@suse.de
- Remove unneeded requires on popt.
* Wed Feb 07 2007 sbrabec@suse.cz
- Do not build unusable static libraries (#238552).
* Fri Dec 08 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Mon Nov 27 2006 sbrabec@suse.cz
- Build correctly in older products.
- Fixed devel dependencies.
* Thu Aug 31 2006 cschneemann@suse.de
- Updated to version 0.4.2
* Tue Aug 15 2006 ro@suse.de
- added dbus-1-glib-devel to BuildRequires
* Thu May 11 2006 rml@suse.de
- Require dbus-x11 too, because that provides dbus-launch, which
is how we launch the session bus. And libnotify needs the
session bus (Novell bug #174865).
- No need to rerun autogen; just run configure
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 dobey@suse.de
- Updated to version 0.3.2
* Wed Jan 18 2006 sbrabec@suse.cz
- Updated to version 0.3.0.
* Tue Aug 02 2005 rodrigo@suse.de
- Updated to 0.2.1.
* Wed Jun 29 2005 sbrabec@suse.cz
- New SuSE package, pre-0.0.1 version from actual svn snapshot.