2005-11-15 15:28:30 +00:00
|
|
|
%define gtk2_version 2.4.0
|
2006-03-11 07:50:21 +00:00
|
|
|
%define glib2_version 2.2.2
|
2005-11-15 15:28:30 +00:00
|
|
|
|
|
|
|
Summary: libnotify notification library
|
|
|
|
Name: libnotify
|
2006-05-19 20:23:41 +00:00
|
|
|
Version: 0.4.0
|
2006-07-12 06:54:48 +00:00
|
|
|
Release: 1.1
|
2005-11-15 15:28:30 +00:00
|
|
|
URL: http://www.galago-project.org/specs/notification/
|
2006-05-19 20:23:41 +00:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
2005-11-15 15:28:30 +00:00
|
|
|
License: LGPL
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
|
|
BuildPreReq: libtool
|
|
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
|
|
|
Requires: glib2 >= %{glib2_version}
|
2006-01-12 16:32:47 +00:00
|
|
|
Requires: desktop-notification-daemon
|
2005-11-15 15:28:30 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
|
|
libnotify is an implementation of the freedesktop.org desktop
|
|
|
|
notification specification.
|
|
|
|
|
2006-01-12 04:46:30 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Files for development using %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: glib2-devel >= %{glib2_version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
|
|
|
This package contains the headers and pkg-config file for
|
|
|
|
development of programs using %{name}.
|
|
|
|
|
2005-11-15 15:28:30 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
2006-01-12 04:46:30 +00:00
|
|
|
%configure
|
2006-02-27 22:20:28 +00:00
|
|
|
make
|
2005-11-15 15:28:30 +00:00
|
|
|
|
|
|
|
%install
|
2006-02-27 22:20:28 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-11-15 15:28:30 +00:00
|
|
|
|
2006-02-27 22:20:28 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2005-11-15 15:28:30 +00:00
|
|
|
|
2006-02-27 22:20:28 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
2005-11-15 15:28:30 +00:00
|
|
|
|
|
|
|
%clean
|
2006-02-27 22:20:28 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2005-11-15 15:28:30 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%postun
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING ChangeLog NEWS
|
|
|
|
|
|
|
|
%{_bindir}/notify-send
|
|
|
|
%{_libdir}/lib*.so*
|
2006-01-12 04:46:30 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*
|
2005-11-15 15:28:30 +00:00
|
|
|
%{_libdir}/pkgconfig/libnotify.pc
|
|
|
|
|
2006-01-12 04:46:30 +00:00
|
|
|
|
2005-11-15 15:28:30 +00:00
|
|
|
%changelog
|
2006-07-12 06:54:48 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.4.0-1.1
|
|
|
|
- rebuild
|
|
|
|
|
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
|
|
|
|
|
2006-03-02 23:13:13 +00:00
|
|
|
* 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
|
|
|
|
|
2006-01-12 16:32:47 +00:00
|
|
|
* 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
|
|
|
|
|
2005-11-15 18:46:06 +00:00
|
|
|
* Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-1
|
|
|
|
- Bump version to not conflict with older libnotify libraries
|
|
|
|
|
2005-11-15 15:28:30 +00:00
|
|
|
* Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.0.2-1
|
|
|
|
- inital build
|