c40e6f6
%define gtk2_version		2.4.0
f95599d
%define glib2_version		2.2.2
eb9db57
%define dbus_version		0.90
eb9db57
%define dbus_glib_version	0.70
c40e6f6
c40e6f6
Summary: libnotify notification library 
c40e6f6
Name: libnotify 
a2c82b2
Version: 0.4.4
eded261
Release: 8%{?dist}
c40e6f6
URL: http://www.galago-project.org/specs/notification/ 
a2c82b2
Source0: http://www.galago-project.org/files/releases/source/%{name}/%{name}-%{version}.tar.bz2 
fd96d51
License: LGPLv2+
c40e6f6
Group: System Environment/Libraries
a2c82b2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
c40e6f6
BuildPreReq: libtool
eb9db57
BuildRequires: glib2-devel >= %{glib2_version} 
eb9db57
BuildRequires: dbus-devel >= %{dbus_version} 
18177d7
BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
eb9db57
BuildRequires: gtk2-devel >= %{gtk2_version}
c40e6f6
Requires: glib2 >= %{glib2_version}
355cdd8
Requires: desktop-notification-daemon
c40e6f6
c40e6f6
%description
c40e6f6
c40e6f6
libnotify is an implementation of the freedesktop.org desktop 
c40e6f6
notification specification.
c40e6f6
f2f196e
%package devel
f2f196e
Summary:	Files for development using %{name}
f2f196e
Group:		Development/Libraries
f2f196e
Requires:	%{name} = %{version}-%{release}
f2f196e
Requires:       glib2-devel >= %{glib2_version}
645358c
Requires:       gtk2-devel >= %{gtk2_version}
eb9db57
Requires:	dbus-devel >= %{dbus_version} 
23dab2a
Requires:	dbus-glib-devel >= %{dbus_glib_version}
a2c82b2
Requires:	pkgconfig
f2f196e
f2f196e
%description devel
f2f196e
f2f196e
This package contains the headers and pkg-config file for
f2f196e
development of programs using %{name}.
f2f196e
c40e6f6
%prep
c40e6f6
%setup -q
c40e6f6
c40e6f6
%build
c40e6f6
f2f196e
%configure
b6b38eb
make
c40e6f6
c40e6f6
%install
b6b38eb
rm -rf $RPM_BUILD_ROOT
c40e6f6
b6b38eb
make install DESTDIR=$RPM_BUILD_ROOT
c40e6f6
b6b38eb
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
b6b38eb
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
c40e6f6
c40e6f6
%clean
b6b38eb
rm -rf $RPM_BUILD_ROOT 
c40e6f6
c40e6f6
%post
c40e6f6
/sbin/ldconfig
c40e6f6
c40e6f6
%postun
c40e6f6
/sbin/ldconfig
c40e6f6
c40e6f6
%files
c40e6f6
%defattr(-,root,root)
fd96d51
%doc COPYING NEWS AUTHORS
c40e6f6
c40e6f6
%{_bindir}/notify-send
a2c82b2
%{_libdir}/libnotify.so.*
f2f196e
f2f196e
%files devel
f2f196e
%defattr(-,root,root)
a2c82b2
%dir %{_includedir}/libnotify
a2c82b2
%{_includedir}/libnotify/*
a2c82b2
%{_libdir}/libnotify.so
c40e6f6
%{_libdir}/pkgconfig/libnotify.pc
402e6c3
%dir %{_datadir}/gtk-doc/html/libnotify
402e6c3
%{_datadir}/gtk-doc/html/libnotify/*
f2f196e
c40e6f6
%changelog
eded261
* Wed Oct 10 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-8
eded261
- Rebuild
eded261
fd96d51
* Tue Aug  7 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-7
fd96d51
- Update licence field
fd96d51
355cdd8
* Wed Jun  6 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-6
355cdd8
- Re-add notification-daemon requirement again
355cdd8
e857899
* Tue Jun  5 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-5
e857899
- Temporarily remove the notification-daemon requires 
e857899
  for bootstrapping
e857899
865f24e
* Mon Jun  4 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-4
865f24e
- Re-add notification-daemon requirement
865f24e
e5771b1
* Mon Jun  4 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-3
e5771b1
- Temporarily remove the notification-daemon requires 
e5771b1
  for bootstrapping
e5771b1
645358c
* Sun Mar 25 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-2
645358c
- Require gtk2-devel in the -devel package (#216946)
645358c
a2c82b2
* Fri Mar 23 2007 Matthias Clasen <mclasen@redhat.com> - 0.4.4-1
a2c82b2
- Update to 0.4.4, which contains important bug fixes 
a2c82b2
  and memory leak fixes
a2c82b2
- Require pkgconfig in the -devel package
a2c82b2
23dab2a
* Sat Dec  9 2006 Matthias Clasen <mclasen@redhat.com> - 0.4.3-2
23dab2a
- Another typo (#214275)
23dab2a
b19ed7e
* Sat Nov 11 2006 Ray Strode <rstrode@redhat.com> - 0.4.3-1
b19ed7e
- Update 0.4.3
b19ed7e
18177d7
* Tue Nov  7 2006 Matthias Clasen <mclasen@redhat.com> - 0.4.2-5
18177d7
- Fix typos in the spec (#214275)
18177d7
 
d073b7c
* Sun Sep 17 2006 Christopher Aillon <caillon@redhat.com> - 0.4.2-4
d073b7c
- Add upstream patch (r2899) to correct an invalid assertion when
d073b7c
  creating notifications using status icons
d073b7c
3061db8
* Tue Aug 15 2006 Luke Macken <lmacken@redhat.com> - 0.4.2-3
3061db8
- Add upstream patch libnotify-0.4.2-status-icon.patch to emit the correct
3061db8
  property change notification 'status-icon' instead of 'attach-icon'
3061db8
402e6c3
* Fri Jul 21 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4.2-2
402e6c3
- Add developer docs to the devel section
402e6c3
eb9db57
* Fri Jul 21 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4.2-1
eb9db57
- Update to upstream version 0.4.2
eb9db57
- Add dist tag to release
eb9db57
- Add Requires to devel package
eb9db57
2ed0a6b
* Wed Jul 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4.0-3.2
2ed0a6b
- reinstate desktop-notification dependency
2ed0a6b
c8a02cd
* Wed Jul 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4.0-3.1
c8a02cd
- comment out desktop-notification dependency so we can build the
c8a02cd
  notification daemon
c8a02cd
ff7b3bb
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4.0-3
ff7b3bb
- Add BR on dbus-glib-devel
ff7b3bb
7ecfe5e
* Wed Jul 13 2006 Jesse Keating <jkeating@redhat.com> - 0.4.0-2
fc7453f
- rebuild
7ecfe5e
- add missing brs
fc7453f
4441740
* Fri May 19 2006 John (J5) Palmieri <johnp@redhat.com> - 0.4.0-1
4441740
- Update to 0.4.0
4441740
f95599d
* Sat Mar 11 2006 Bill Nottingham <notting@redhat.com> - 0.3.0-6
f95599d
- define %%{glib2_version} if it's in a requirement
f95599d
24fcdce
* Thu Mar  2 2006 Ray Strode <rstrode@redhat.com> - 0.3.0-5
24fcdce
- patch out config.h include from public header
b6b38eb
9fcf809
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-4.2
9fcf809
- bump again for double-long bug on ppc(64)
9fcf809
f6de4eb
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-4.1
f6de4eb
- rebuilt for new gcc4.1 snapshot and glibc changes
f6de4eb
03f15ef
* Thu Jan 12 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-4
03f15ef
- Require a desktop-notification-daemon to be present.  Currently,
03f15ef
  this is notify-daemon, but libnotify doesn't specifically require
03f15ef
  that one.  Require 'desktop-notification-daemon' which daemons
03f15ef
  providing compatible functionality are now expected to provide.
03f15ef
f2f196e
* Wed Jan 11 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-3
f2f196e
- Let there be libnotify-devel...
f2f196e
5df59da
* Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-2
5df59da
- Actual release of the 0.3.x series
5df59da
3134a05
* Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-1
3134a05
- Bump version to not conflict with older libnotify libraries
3134a05
c40e6f6
* Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.0.2-1
c40e6f6
- inital build