/[pkgs]/devel/ConsoleKit/ConsoleKit.spec
ViewVC logotype

Contents of /devel/ConsoleKit/ConsoleKit.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.49 - (show annotations) (download)
Tue Sep 29 15:46:00 2009 UTC (8 weeks ago) by mccann
Branch: MAIN
CVS Tags: F-12-split, ConsoleKit-0_4_1-1_fc12, HEAD
Changes since 1.48: +7 -8 lines
Update to 0.4.1
1 %define glib2_version 2.6.0
2 %define dbus_version 0.90
3 %define dbus_glib_version 0.70
4 %define polkit_version 0.92
5
6 Summary: System daemon for tracking users, sessions and seats
7 Name: ConsoleKit
8 Version: 0.4.1
9 Release: 1%{?dist}
10 License: GPLv2+
11 Group: System Environment/Libraries
12 URL: http://www.freedesktop.org/wiki/Software/ConsoleKit
13 Source0: http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-%{version}.tar.bz2
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15 Requires: dbus >= %{dbus_version}
16 Requires: dbus-glib >= %{dbus_glib_version}
17
18 BuildRequires: glib2-devel >= %{glib2_version}
19 BuildRequires: dbus-devel >= %{dbus_version}
20 BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
21 BuildRequires: polkit-devel >= %{polkit_version}
22 BuildRequires: pam-devel
23 BuildRequires: libX11-devel
24 BuildRequires: zlib-devel
25 BuildRequires: xmlto
26 BuildRequires: automake, autoconf, libtool
27
28 %description
29 ConsoleKit is a system daemon for tracking what users are logged
30 into the system and how they interact with the computer (e.g.
31 which keyboard and mouse they use).
32
33 It provides asynchronous notification via the system message bus.
34
35 %package x11
36 Summary: X11-requiring add-ons for ConsoleKit
37 License: GPLv2+
38 Group: Development/Libraries
39 Requires: %name = %{version}-%{release}
40 Requires: libX11
41
42 %description x11
43 ConsoleKit contains some tools that require Xlib to be installed,
44 those are in this separate package so server systems need not install
45 X. Applications (such as xorg-x11-xinit) and login managers (such as
46 gdm) that need to register their X sessions with ConsoleKit needs to
47 have a Requires: for this package.
48
49 %package libs
50 Summary: ConsoleKit libraries
51 License: MIT
52 Group: Development/Libraries
53 Requires: pam
54 Requires: dbus >= %{dbus_version}
55
56 %description libs
57 This package contains libraries and a PAM module for interacting
58 with ConsoleKit.
59
60 %package devel
61 Summary: Development files for ConsoleKit
62 License: MIT
63 Group: Development/Libraries
64 Requires: dbus-devel >= %{dbus_version}
65 Requires: pkgconfig
66
67 %description devel
68 This package contains headers and libraries needed for
69 developing software that is interacting with ConsoleKit.
70
71 %package docs
72 Summary: Developer documentation for ConsoleKit
73 Group: Development/Libraries
74 Requires: %name = %{version}-%{release}
75 #BuildArch: noarch
76
77 %description docs
78 This package contains developer documentation for ConsoleKit.
79
80 %prep
81 %setup -q
82
83 %build
84 %configure --with-pid-file=%{_localstatedir}/run/console-kit-daemon.pid --enable-pam-module --with-pam-module-dir=/%{_lib}/security --enable-docbook-docs --docdir=%{_datadir}/doc/%{name}-%{version}
85
86 make
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90 make install DESTDIR=$RPM_BUILD_ROOT
91
92 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
93 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
94 rm -f $RPM_BUILD_ROOT/%{_lib}/security/*.a
95 rm -f $RPM_BUILD_ROOT/%{_lib}/security/*.la
96
97 # make sure we don't package a history log
98 rm -f $RPM_BUILD_ROOT/%{_var}/log/ConsoleKit/history
99
100 # The sample upstart files are good enough for us.
101 mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/event.d
102 cp data/ck-log-system-{start,stop,restart} $RPM_BUILD_ROOT%{_sysconfdir}/event.d
103
104 cp README AUTHORS NEWS COPYING $RPM_BUILD_ROOT%{_datadir}/doc/%{name}-%{version}
105
106 %clean
107 rm -rf $RPM_BUILD_ROOT
108
109 %post
110 if [ -f /var/log/ConsoleKit/history ]; then
111 chmod a+r /var/log/ConsoleKit/history
112 fi
113
114 %files
115 %defattr(-,root,root,-)
116 %doc %dir %{_datadir}/doc/%{name}-%{version}
117 %doc %{_datadir}/doc/%{name}-%{version}/README
118 %doc %{_datadir}/doc/%{name}-%{version}/AUTHORS
119 %doc %{_datadir}/doc/%{name}-%{version}/NEWS
120 %doc %{_datadir}/doc/%{name}-%{version}/COPYING
121 %{_sysconfdir}/dbus-1/system.d/*
122 %config(noreplace) %{_sysconfdir}/event.d/*
123 %{_datadir}/dbus-1/system-services/*.service
124 %{_datadir}/polkit-1/actions/*.policy
125 %dir %{_sysconfdir}/ConsoleKit
126 %dir %{_sysconfdir}/ConsoleKit/seats.d
127 %dir %{_sysconfdir}/ConsoleKit/run-seat.d
128 %dir %{_sysconfdir}/ConsoleKit/run-session.d
129 %dir %{_prefix}/lib/ConsoleKit
130 %dir %{_prefix}/lib/ConsoleKit/scripts
131 %dir %{_prefix}/lib/ConsoleKit/run-seat.d
132 %dir %{_prefix}/lib/ConsoleKit/run-session.d
133 %dir %{_var}/run/ConsoleKit
134 %attr(755,root,root) %dir %{_var}/log/ConsoleKit
135 %config %{_sysconfdir}/ConsoleKit/seats.d/00-primary.seat
136 %{_sbindir}/console-kit-daemon
137 %{_sbindir}/ck-log-system-restart
138 %{_sbindir}/ck-log-system-start
139 %{_sbindir}/ck-log-system-stop
140 %{_bindir}/ck-history
141 %{_bindir}/ck-launch-session
142 %{_bindir}/ck-list-sessions
143 %{_prefix}/lib/ConsoleKit/scripts/*
144
145 %files x11
146 %defattr(-,root,root,-)
147 %{_libexecdir}/*
148
149 %files libs
150 %defattr(-,root,root,-)
151 %{_libdir}/lib*.so.*
152 /%{_lib}/security/*.so
153 %{_mandir}/man8/pam_ck_connector.8.gz
154
155 %files devel
156 %defattr(-,root,root,-)
157
158 %{_libdir}/lib*.so
159 %{_libdir}/pkgconfig/*
160 %{_includedir}/*
161 %{_datadir}/dbus-1/interfaces/org.freedesktop.ConsoleKit.*.xml
162
163 %files docs
164 %defattr(-,root,root,-)
165 %doc %dir %{_datadir}/doc/%{name}-%{version}/spec
166 %doc %{_datadir}/doc/%{name}-%{version}/spec/*
167
168 %changelog
169 * Tue Sep 29 2009 Jon McCann <jmccann@redhat.com> 0.4.1-1
170 - Update to 0.4.1
171
172 * Fri Jul 31 2009 Matthias Clasen <mclasen@redhat.com> 0.3.1-2
173 - Fix a small memory leak
174
175 * Fri Jul 31 2009 Ray Strode <rstrode@redhat.com> 0.3.1-1
176 - Update to 0.3.1
177
178 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-12
179 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
180
181 * Wed Jul 22 2009 Ray Strode <rstrode@redhat.com> - 0.3.0-11
182 - Rebuild
183
184 * Fri Jun 12 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.0-10
185 - Update dbus configuration for new api
186
187 * Mon May 11 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.0-9
188 - Port to PolicyKit 1
189
190 * Tue Apr 21 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.0-8
191 - Fix a warning on login (#496636)
192
193 * Wed Apr 8 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.0-7
194 - Allow GetSessions calls in the dbus policy
195
196 * Fri Feb 27 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.0-6
197 - Fix the build
198
199 * Tue Feb 24 2009 Matthias Clasen <mclasen@redhat.com> - 0.3.0-5
200 - Make -docs noarch
201
202 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0-4
203 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
204
205 * Wed Jan 14 2009 Colin Walters <walters@verbum.org> - 0.3.0-4
206 - Add patch to fix up dbus permissions
207
208 * Fri Nov 21 2008 Matthias Clasen <mclasen@redhat.com> - 0.3.0-3
209 - Tweak descriptions
210
211 * Tue Sep 16 2008 Ray Strode <rstrode@redhat.com> - 0.3.0-2
212 - Grab X server display device from XFree86_VT root window property,
213 if X server doesn't have a controlling terminal.
214
215 * Wed Jul 30 2008 Jon McCann <jmccann@redhat.com> - 0.3.0-1
216 - Update to 0.3.0
217
218 * Tue Jul 22 2008 Jon McCann <jmccann@redhat.com> - 0.2.11-0.2008.07.22.2
219 - Update to a new snapshot
220
221 * Tue Jul 22 2008 Jon McCann <jmccann@redhat.com> - 0.2.11-0.2008.07.22.1
222 - Update to snapshot
223
224 * Mon Jul 21 2008 Jon McCann <jmccann@redhat.com> - 0.2.11-0.2008.07.21.2
225 - Fix file list
226
227 * Mon Jul 21 2008 Jon McCann <jmccann@redhat.com> - 0.2.11-0.2008.07.21
228 - Update to snapshot
229
230 * Sat Apr 5 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.10-3
231 - Return PolicyKit results
232
233 * Fri Mar 14 2008 Matthias Clasen <mclasen@redhat.com> - 0.2.10-2
234 - Fix trivial dir ownership issue
235
236 * Mon Feb 25 2008 Jon McCann <jmccann@redhat.com> - 0.2.10-1
237 - Update to 0.2.10
238
239 * Tue Feb 12 2008 Jon McCann <jmccann@redhat.com> - 0.2.9-1
240 - Update to 0.2.9
241
242 * Mon Feb 11 2008 Jon McCann <jmccann@redhat.com> - 0.2.8-1
243 - Update to 0.2.8
244
245 * Wed Jan 30 2008 Jon McCann <jmccann@redhat.com> - 0.2.7-1
246 - Update to 0.2.7
247
248 * Thu Jan 24 2008 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.2.6-3
249 - Fix Requires
250
251 * Thu Jan 24 2008 Jon McCann <jmccann@redhat.com> - 0.2.6-2
252 - Require libz for log decompression
253
254 * Thu Jan 24 2008 Jon McCann <jmccann@redhat.com> - 0.2.6-1
255 - Update to 0.2.6
256
257 * Sun Nov 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.2.3-3
258 - Correct the URL (#375571)
259
260 * Mon Oct 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.2.3-2
261 - Rebuild against new dbus-glib
262
263 * Tue Sep 18 2007 Matthias Clasen <mclasen@redhat.com> - 0.2.3-1
264 - Update to 0.2.3
265
266 * Mon Sep 17 2007 Matthias Clasen <mclasen@redhat.com> - 0.2.2-1
267 - Update to 0.2.2
268
269 * Mon Aug 6 2007 Matthias Clasen <mclasen@redhat.com> - 0.2.1-4
270 - Update license field
271
272 * Fri Jul 6 2007 Matthias Clasen <mclasen@redhat.com> - 0.2.1-3
273 - Add LSB header to init script (#246894)
274
275 * Mon Apr 16 2007 David Zeuthen <davidz@redhat.com> - 0.2.1-2
276 - Set doc directory correctly
277
278 * Mon Apr 16 2007 David Zeuthen <davidz@redhat.com> - 0.2.1-1
279 - Update to upstream release 0.2.1
280 - Drop the patch to daemonize properly as that was merged upstream
281
282 * Mon Apr 02 2007 David Zeuthen <davidz@redhat.com> - 0.2.1-0.git20070402
283 - Update to git snapshot to get a lot of bug fixes
284 - Use libX11 rather than gtk2 to verify X11 sessions; update BR and R
285 - Split X11-using bits into a new subpackage ConsoleKit-x11 (#233982)
286 - Use correct location for PAM module on 64-bit (#234545)
287 - Build developer documentation and put them in ConsoleKit-docs
288
289 * Mon Mar 19 2007 David Zeuthen <davidz@redhat.com> - 0.2.0-2
290 - BR gtk2-devel and make ConsoleKit Require gtk2 (could just be
291 libX11 with a simple patch)
292
293 * Mon Mar 19 2007 David Zeuthen <davidz@redhat.com> - 0.2.0-1
294 - Update to upstream release 0.2.0
295 - Daemonize properly (#229206)
296
297 * Sat Mar 3 2007 David Zeuthen <davidz@redhat.com> - 0.1.3-0.git20070301.1
298 - Allow caller to pass uid=0 in libck-connector
299
300 * Thu Mar 1 2007 David Zeuthen <davidz@redhat.com> - 0.1.3-0.git20070301
301 - Update to git snapshot
302 - Drop all patches as they are committed upstream
303 - New tool ck-list-sessions
304 - New -libs subpackage with run-time libraries and a PAM module
305 - New -devel subpackage with headers
306
307 * Tue Feb 6 2007 David Zeuthen <davidz@redhat.com> - 0.1.0-5%{?dist}
308 - Start ConsoleKit a bit earlier so it starts before HAL (98 -> 90)
309 - Minimize stack usage so VIRT size is more reasonable (mclasen)
310 - Make session inactive when switching to non-session (davidz)
311
312 * Fri Jan 12 2007 Matthias Clasen <mclasen@redhat.com> - 0.1.0-4
313 - Don't mark initscripts %%config
314 - Use proper lock and pid ile names
315
316 * Fri Jan 12 2007 Matthias Clasen <mclasen@redhat.com> - 0.1.0-3
317 - More package review feedback
318
319 * Fri Jan 12 2007 Matthias Clasen <mclasen@redhat.com> - 0.1.0-2
320 - Incorporate package review feedback
321
322 * Thu Jan 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.1.0-1
323 - Update to the first public release 0.1.0
324 - Some spec cleanups
325
326 * Mon Oct 23 2006 David Zeuthen <davidz@redhat.com> - 0.0.3-1
327 - Initial build.
328

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2