1 | %define glib2_version 2.10.0 |
---|
2 | |
---|
3 | Summary: libnotify notification library |
---|
4 | Name: libnotify |
---|
5 | Version: 0.4.5 |
---|
6 | Release: 2%{?_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.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 |
---|
75 | * Fri Feb 26 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.4.5-2 |
---|
76 | - rebuilt with new toolchain |
---|
77 | |
---|
78 | * Fri Mar 27 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.4.5-1 |
---|
79 | - new upstream release |
---|
80 | |
---|
81 | * Sat Nov 15 2008 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.4.4-2 |
---|
82 | - added Requires: notification-daemon |
---|
83 | - added BuildRequires: dbus-glib-devel |
---|
84 | - added Requires: dbus-glib-devel to devel package |
---|
85 | |
---|
86 | * Sun Jun 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-1 |
---|
87 | - applied new versioning policy |
---|
88 | |
---|
89 | * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.4-0vl2 |
---|
90 | - rebuild with dbus-1.0 |
---|
91 | |
---|
92 | * Fri Mar 16 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-0vl1 |
---|
93 | - new upstream release |
---|
94 | - added BuildRequires: gtk2-devel, dbus-devel |
---|
95 | - added Requires: gtk2-devel, dbus-devel to devel package |
---|
96 | |
---|
97 | * Wed Nov 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.3-0vl1 |
---|
98 | - new upstream release |
---|
99 | |
---|
100 | * Sun Jun 25 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.2-0vl1 |
---|
101 | - new upstream release |
---|
102 | |
---|
103 | * Fri Jun 02 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.4.0-0vl1 |
---|
104 | - new upstream release |
---|
105 | |
---|
106 | * Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.3.2-0vl1 |
---|
107 | - initial build for Vine Linux partialy based on FC package |
---|
108 | |
---|
109 | * Thu Mar 2 2006 Ray Strode <rstrode@redhat.com> - 0.3.0-5 |
---|
110 | - patch out config.h include from public header |
---|
111 | |
---|
112 | * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-4.2 |
---|
113 | - bump again for double-long bug on ppc(64) |
---|
114 | |
---|
115 | * Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.3.0-4.1 |
---|
116 | - rebuilt for new gcc4.1 snapshot and glibc changes |
---|
117 | |
---|
118 | * Thu Jan 12 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-4 |
---|
119 | - Require a desktop-notification-daemon to be present. Currently, |
---|
120 | this is notify-daemon, but libnotify doesn't specifically require |
---|
121 | that one. Require 'desktop-notification-daemon' which daemons |
---|
122 | providing compatible functionality are now expected to provide. |
---|
123 | |
---|
124 | * Wed Jan 11 2006 Christopher Aillon <caillon@redhat.com> - 0.3.0-3 |
---|
125 | - Let there be libnotify-devel... |
---|
126 | |
---|
127 | * Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-2 |
---|
128 | - Actual release of the 0.3.x series |
---|
129 | |
---|
130 | * Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.3.0-1 |
---|
131 | - Bump version to not conflict with older libnotify libraries |
---|
132 | |
---|
133 | * Tue Nov 15 2005 John (J5) Palmieri <johnp@redhat.com> - 0.0.2-1 |
---|
134 | - inital build |
---|