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