libnotify/libnotify.spec

220 lines
7.0 KiB
RPMSpec
Raw Normal View History

2008-06-10 16:48:25 +00:00
# We require this gtk version to pick up support for the
# window-xid (gtk_status_icon_x11_get_window_id)
%define gtk2_version 2.13.2
2006-03-11 07:50:21 +00:00
%define glib2_version 2.2.2
%define dbus_version 0.90
%define dbus_glib_version 0.70
2008-11-23 02:14:02 +00:00
Summary: Desktop notification library
Name: libnotify
2010-06-28 22:25:51 +00:00
Version: 0.5.0
Release: 1%{?dist}
URL: http://www.galago-project.org/specs/notification/
2007-03-24 02:24:08 +00:00
Source0: http://www.galago-project.org/files/releases/source/%{name}/%{name}-%{version}.tar.bz2
2007-08-08 00:47:53 +00:00
License: LGPLv2+
Group: System Environment/Libraries
2007-03-24 02:24:08 +00:00
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
2010-06-28 22:25:51 +00:00
BuildRequires: libtool
BuildRequires: glib2-devel >= %{glib2_version}
BuildRequires: dbus-devel >= %{dbus_version}
2006-11-07 15:58:43 +00:00
BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
2010-06-28 22:25:51 +00:00
BuildRequires: gtk3-devel
Requires: glib2 >= %{glib2_version}
2007-06-06 04:15:09 +00:00
Requires: desktop-notification-daemon
2010-06-28 22:25:51 +00:00
BuildRequires: automake autoconf libtool
Patch0: 0001-Don-t-link-against-a-particular-version-of-GTK.patch
%description
2008-11-23 02:14:02 +00:00
libnotify is a library for sending desktop notifications to a notification
daemon, as defined in the freedesktop.org Desktop Notifications spec. These
notifications can be used to inform the user about an event or display some
form of information without getting in the user's way.
2006-01-12 04:46:30 +00:00
%package devel
2008-11-23 02:14:02 +00:00
Summary: Development files for %{name}
2006-01-12 04:46:30 +00:00
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: glib2-devel >= %{glib2_version}
2007-03-25 22:03:53 +00:00
Requires: gtk2-devel >= %{gtk2_version}
Requires: dbus-devel >= %{dbus_version}
2006-12-10 00:56:13 +00:00
Requires: dbus-glib-devel >= %{dbus_glib_version}
2007-03-24 02:24:08 +00:00
Requires: pkgconfig
2006-01-12 04:46:30 +00:00
%description devel
2008-11-23 02:14:02 +00:00
This package contains libraries and header files needed for
2006-01-12 04:46:30 +00:00
development of programs using %{name}.
%prep
%setup -q
2010-06-28 22:25:51 +00:00
%patch0 -p1 -b .gtk3
%build
2010-06-28 22:25:51 +00:00
autoreconf -f
2006-01-12 04:46:30 +00:00
%configure
2006-02-27 22:20:28 +00:00
make
%install
2006-02-27 22:20:28 +00:00
rm -rf $RPM_BUILD_ROOT
2006-02-27 22:20:28 +00:00
make install DESTDIR=$RPM_BUILD_ROOT
2006-02-27 22:20:28 +00:00
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
%clean
2006-02-27 22:20:28 +00:00
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
2007-08-08 00:47:53 +00:00
%doc COPYING NEWS AUTHORS
%{_bindir}/notify-send
2007-03-24 02:24:08 +00:00
%{_libdir}/libnotify.so.*
2006-01-12 04:46:30 +00:00
%files devel
%defattr(-,root,root)
2007-03-24 02:24:08 +00:00
%dir %{_includedir}/libnotify
%{_includedir}/libnotify/*
%{_libdir}/libnotify.so
%{_libdir}/pkgconfig/libnotify.pc
%dir %{_datadir}/gtk-doc/html/libnotify
%{_datadir}/gtk-doc/html/libnotify/*
2006-01-12 04:46:30 +00:00
%changelog
2010-06-28 22:25:51 +00:00
* Mon Jun 28 2010 Bastien Nocera <bnocera@redhat.com> 0.5.0-1
- Update to 0.5.0
* Wed Nov 11 2009 Matthias Clasen <mclasen@redhat.com> - 0.4.5-4
- Close notifications with non-default actions on uninit
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2008-11-23 02:14:02 +00:00
* Sat Nov 22 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.5-1
- Update to 0.4.5
- Drop obsolete patches
- Tweak %%summary and %%description
* Sat Aug 23 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.4-12
- Handle extra parameter of the closed signal
* Tue Jun 10 2008 Colin Walters <walters@redhat.com> - 0.4.4-11
- Add patch neccessary for reliable notification positioning
2008-02-19 00:31:25 +00:00
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.4-10
- Autorebuild for GCC 4.3
2007-10-23 05:41:57 +00:00
* Tue Oct 23 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-9
- Rebuild against new dbus-glib
2007-10-10 20:32:00 +00:00
* Wed Oct 10 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-8
- Rebuild
2007-08-08 00:47:53 +00:00
* Tue Aug 7 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-7
- Update licence field
2007-06-06 04:15:09 +00:00
* Wed Jun 6 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-6
- Re-add notification-daemon requirement again
2007-06-06 03:37:10 +00:00
* Tue Jun 5 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-5
- Temporarily remove the notification-daemon requires
for bootstrapping
2007-06-05 02:12:20 +00:00
* Mon Jun 4 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-4
- Re-add notification-daemon requirement
* Mon Jun 4 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-3
- Temporarily remove the notification-daemon requires
for bootstrapping
2007-03-25 22:03:53 +00:00
* Sun Mar 25 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-2
- Require gtk2-devel in the -devel package (#216946)
2007-03-24 02:24:08 +00:00
* Fri Mar 23 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-1
- Update to 0.4.4, which contains important bug fixes
and memory leak fixes
- Require pkgconfig in the -devel package
2006-12-10 00:56:13 +00:00
* Sat Dec 9 2006 Matthias Clasen <mclasen@redhat.com> - 0.4.3-2
- Another typo (#214275)
2006-11-12 03:19:44 +00:00
* Sat Nov 11 2006 Ray Strode <rstrode@redhat.com> - 0.4.3-1
- Update 0.4.3
2006-11-07 15:58:43 +00:00
* Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 0.4.2-5
- Fix typos in the spec (#214275)
* Sun Sep 17 2006 Christopher Aillon <caillon@redhat.com> - 0.4.2-4
- Add upstream patch (r2899) to correct an invalid assertion when
creating notifications using status icons
* Tue Aug 15 2006 Luke Macken <lmacken@redhat.com> - 0.4.2-3
- Add upstream patch libnotify-0.4.2-status-icon.patch to emit the correct
property change notification 'status-icon' instead of 'attach-icon'
* Fri Jul 21 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4.2-2
- Add developer docs to the devel section
* Fri Jul 21 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4.2-1
- Update to upstream version 0.4.2
- Add dist tag to release
- Add Requires to devel package
* Wed Jul 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4.0-3.2
- reinstate desktop-notification dependency
* Wed Jul 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4.0-3.1
- comment out desktop-notification dependency so we can build the
notification daemon
2006-07-19 00:55:33 +00:00
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4.0-3
- Add BR on dbus-glib-devel
2006-07-13 20:20:18 +00:00
* Wed Jul 13 2006 Jesse Keating <jkeating@redhat.com> - 0.4.0-2
2006-07-12 06:54:48 +00:00
- rebuild
2006-07-13 20:20:18 +00:00
- add missing brs
2006-07-12 06:54:48 +00:00
2006-05-19 20:23:41 +00:00
* Fri May 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4.0-1
- Update to 0.4.0
2006-03-11 07:50:21 +00:00
* Sat Mar 11 2006 Bill Nottingham <notting@redhat.com> - 0.3.0-6
- define %%{glib2_version} if it's in a requirement
* Thu Mar 2 2006 Ray Strode <rstrode@redhat.com> - 0.3.0-5
- patch out config.h include from public header
2006-02-27 22:20:28 +00:00
2006-02-11 04:10:22 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-4.2
- bump again for double-long bug on ppc(64)
2006-02-07 12:41:56 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-4.1
- rebuilt for new gcc4.1 snapshot and glibc changes
* Thu Jan 12 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-4
- Require a desktop-notification-daemon to be present. Currently,
this is notify-daemon, but libnotify doesn't specifically require
that one. Require 'desktop-notification-daemon' which daemons
providing compatible functionality are now expected to provide.
2006-01-12 04:46:30 +00:00
* Wed Jan 11 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-3
- Let there be libnotify-devel...
2005-12-15 00:12:47 +00:00
* Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-2
- Actual release of the 0.3.x series
* Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-1
- Bump version to not conflict with older libnotify libraries
* Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.0.2-1
- inital build