[521] | 1 | %define glib2_version 2.10.0 |
---|
| 2 | |
---|
| 3 | Summary: libnotify notification library |
---|
| 4 | Name: libnotify |
---|
| 5 | Version: 0.4.5 |
---|
[1901] | 6 | Release: 3%{?_dist_release} |
---|
[521] | 7 | URL: http://www.galago-project.org/specs/notification/ |
---|
| 8 | License: LGPL |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | |
---|
| 11 | Source0: %{name}-%{version}.tar.bz2 |
---|
| 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: glib2-devel >= %{glib2_version} |
---|
| 15 | BuildRequires: gtk2-devel |
---|
| 16 | BuildRequires: dbus-devel >= 1.0 |
---|
| 17 | BuildRequires: dbus-glib-devel |
---|
| 18 | Requires: glib2 >= %{glib2_version} |
---|
| 19 | Requires: notification-daemon |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | libnotify is an implementation of the freedesktop.org desktop |
---|
| 23 | notification specification. |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Files for development using %{name} |
---|
| 27 | Group: Development/Libraries |
---|
| 28 | Requires: %{name} = %{version}-%{release} |
---|
| 29 | Requires: glib2-devel >= %{glib2_version} |
---|
| 30 | Requires: gtk2-devel |
---|
| 31 | Requires: dbus-devel >= 0.36 |
---|
| 32 | Requires: dbus-glib-devel |
---|
| 33 | |
---|
| 34 | %description devel |
---|
| 35 | This package contains the headers and pkg-config file for |
---|
| 36 | development of programs using %{name}. |
---|
| 37 | |
---|
| 38 | %prep |
---|
| 39 | %setup -q |
---|
| 40 | |
---|
| 41 | %build |
---|
| 42 | %configure |
---|
| 43 | %__make %{?_smp_mflags} |
---|
| 44 | |
---|
| 45 | %install |
---|
| 46 | rm -rf $RPM_BUILD_ROOT |
---|
| 47 | |
---|
| 48 | %__make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 49 | |
---|
| 50 | # remove unpackaged files |
---|
| 51 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 52 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.a |
---|
| 53 | |
---|
| 54 | %clean |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | |
---|
| 57 | %post -p /sbin/ldconfig |
---|
| 58 | |
---|
| 59 | %postun -p /sbin/ldconfig |
---|
| 60 | |
---|
| 61 | %files |
---|
| 62 | %defattr(-,root,root) |
---|
| 63 | %doc COPYING ChangeLog NEWS |
---|
| 64 | %{_bindir}/notify-send |
---|
| 65 | %{_libdir}/lib*.so* |
---|
| 66 | |
---|
| 67 | %files devel |
---|
| 68 | %defattr(-,root,root) |
---|
| 69 | %{_includedir}/* |
---|
| 70 | %{_libdir}/pkgconfig/libnotify.pc |
---|
| 71 | %{_datadir}/gtk-doc/html/%{name} |
---|
| 72 | |
---|
| 73 | |
---|
| 74 | %changelog |
---|
[1901] | 75 | * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.5-3 |
---|
| 76 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 77 | |
---|
[521] | 78 | * Fri Feb 26 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4.5-2 |
---|
| 79 | - rebuilt with new toolchain |
---|
| 80 | |
---|
| 81 | * Fri Mar 27 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.5-1 |
---|
| 82 | - new upstream release |
---|
| 83 | |
---|
| 84 | * Sat Nov 15 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.4-2 |
---|
| 85 | - added Requires: notification-daemon |
---|
| 86 | - added BuildRequires: dbus-glib-devel |
---|
| 87 | - added Requires: dbus-glib-devel to devel package |
---|
| 88 | |
---|
| 89 | * Sun Jun 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-1 |
---|
| 90 | - applied new versioning policy |
---|
| 91 | |
---|
| 92 | * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.4-0vl2 |
---|
| 93 | - rebuild with dbus-1.0 |
---|
| 94 | |
---|
| 95 | * Fri Mar 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-0vl1 |
---|
| 96 | - new upstream release |
---|
| 97 | - added BuildRequires: gtk2-devel, dbus-devel |
---|
| 98 | - added Requires: gtk2-devel, dbus-devel to devel package |
---|
| 99 | |
---|
| 100 | * Wed Nov 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.3-0vl1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
| 103 | * Sun Jun 25 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.2-0vl1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
| 106 | * Fri Jun 02 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0-0vl1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
| 109 | * Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1 |
---|
| 110 | - initial build for Vine Linux partialy based on FC package |
---|
| 111 | |
---|
| 112 | * Thu Mar 2 2006 Ray Strode <rstrode@redhat.com> - 0.3.0-5 |
---|
| 113 | - patch out config.h include from public header |
---|
| 114 | |
---|
| 115 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-4.2 |
---|
| 116 | - bump again for double-long bug on ppc(64) |
---|
| 117 | |
---|
| 118 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-4.1 |
---|
| 119 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
| 120 | |
---|
| 121 | * Thu Jan 12 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-4 |
---|
| 122 | - Require a desktop-notification-daemon to be present. Currently, |
---|
| 123 | this is notify-daemon, but libnotify doesn't specifically require |
---|
| 124 | that one. Require 'desktop-notification-daemon' which daemons |
---|
| 125 | providing compatible functionality are now expected to provide. |
---|
| 126 | |
---|
| 127 | * Wed Jan 11 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-3 |
---|
| 128 | - Let there be libnotify-devel... |
---|
| 129 | |
---|
| 130 | * Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-2 |
---|
| 131 | - Actual release of the 0.3.x series |
---|
| 132 | |
---|
| 133 | * Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-1 |
---|
| 134 | - Bump version to not conflict with older libnotify libraries |
---|
| 135 | |
---|
| 136 | * Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.0.2-1 |
---|
| 137 | - inital build |
---|