1 | Summary: PolicyKit Authorization Framework |
---|
2 | Summary(ja): PolicyKit 認証フレームワーク |
---|
3 | Name: polkit |
---|
4 | Version: 0.112 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | License: LGPLv2+ |
---|
7 | URL: http://www.freedesktop.org/wiki/Software/polkit |
---|
8 | Source0: http://www.freedesktop.org/software/%{name}/releases/%{name}-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
10 | Group: System Environment/Libraries |
---|
11 | BuildRequires: glib2-devel |
---|
12 | BuildRequires: expat-devel |
---|
13 | BuildRequires: pam-devel |
---|
14 | BuildRequires: js-devel |
---|
15 | BuildRequires: gtk-doc |
---|
16 | BuildRequires: intltool |
---|
17 | BuildRequires: gobject-introspection-devel |
---|
18 | |
---|
19 | Requires: ConsoleKit |
---|
20 | Requires: dbus |
---|
21 | |
---|
22 | Obsoletes: PolicyKit <= 0.10 |
---|
23 | Provides: PolicyKit = 0.11 |
---|
24 | |
---|
25 | Obsoletes: polkit-desktop-policy < 0.103 |
---|
26 | Provides: polkit-desktop-policy = 0.103 |
---|
27 | |
---|
28 | Vendor: Project Vine |
---|
29 | Distribution: Vine Linux |
---|
30 | |
---|
31 | %description |
---|
32 | PolicyKit is a toolkit for defining and handling authorizations. |
---|
33 | It is used for allowing unprivileged processes to speak to privileged |
---|
34 | processes. |
---|
35 | |
---|
36 | %package devel |
---|
37 | Summary: Development files for PolicyKit |
---|
38 | Summary(ja): PolicyKit の開発用ファイル |
---|
39 | Group: Development/Libraries |
---|
40 | Requires: %name = %{version}-%{release} |
---|
41 | Requires: %name-docs = %{version}-%{release} |
---|
42 | Requires: pkgconfig |
---|
43 | Requires: glib2-devel |
---|
44 | |
---|
45 | %description devel |
---|
46 | Development files for PolicyKit. |
---|
47 | |
---|
48 | %package docs |
---|
49 | Summary: Development documentation for PolicyKit |
---|
50 | Summary(ja): PolicyKit の開発用ドキュメント |
---|
51 | Group: Development/Libraries |
---|
52 | Requires: %name-devel = %{version}-%{release} |
---|
53 | Requires: gtk-doc |
---|
54 | |
---|
55 | %description docs |
---|
56 | Development documentation for PolicyKit. |
---|
57 | |
---|
58 | |
---|
59 | %prep |
---|
60 | %setup -q |
---|
61 | |
---|
62 | %build |
---|
63 | %configure \ |
---|
64 | --with-os-type=redhat \ |
---|
65 | --enable-gtk-doc \ |
---|
66 | --disable-static \ |
---|
67 | --libexecdir=%{_libexecdir}/polkit-1 \ |
---|
68 | --enable-introspection \ |
---|
69 | --disable-systemd \ |
---|
70 | --enable-examples |
---|
71 | make |
---|
72 | |
---|
73 | %install |
---|
74 | rm -rf $RPM_BUILD_ROOT |
---|
75 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
76 | |
---|
77 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
78 | rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la |
---|
79 | |
---|
80 | %find_lang polkit-1 |
---|
81 | |
---|
82 | |
---|
83 | %clean |
---|
84 | rm -rf $RPM_BUILD_ROOT |
---|
85 | |
---|
86 | %pre |
---|
87 | groupadd -g 27 -r polkitd 2>&1 > /dev/null || : |
---|
88 | useradd -u 27 -g polkitd -r -d '/' -s /sbin/nologin -c "User for polkitd" polkitd 2>&1 > /dev/null || : |
---|
89 | exit 0 |
---|
90 | |
---|
91 | %post -p /sbin/ldconfig |
---|
92 | |
---|
93 | %postun -p /sbin/ldconfig |
---|
94 | |
---|
95 | %files -f polkit-1.lang |
---|
96 | %defattr(-,root,root,-) |
---|
97 | %doc COPYING NEWS README |
---|
98 | %{_libdir}/lib*.so.* |
---|
99 | %{_datadir}/man/man1/* |
---|
100 | %{_datadir}/man/man8/* |
---|
101 | %{_datadir}/dbus-1/system-services/* |
---|
102 | %dir %{_datadir}/polkit-1/ |
---|
103 | %dir %{_datadir}/polkit-1/actions |
---|
104 | %attr(0700,polkitd,root) %dir %{_datadir}/polkit-1/rules.d |
---|
105 | %{_datadir}/polkit-1/actions/org.freedesktop.policykit.policy |
---|
106 | %dir %{_sysconfdir}/polkit-1 |
---|
107 | %{_sysconfdir}/polkit-1/rules.d/50-default.rules |
---|
108 | %attr(0700,polkitd,root) %dir %{_sysconfdir}/polkit-1/rules.d |
---|
109 | %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PolicyKit1.conf |
---|
110 | %{_sysconfdir}/pam.d/polkit-1 |
---|
111 | %{_bindir}/pkaction |
---|
112 | %{_bindir}/pkcheck |
---|
113 | %{_bindir}/pkttyagent |
---|
114 | %dir %{_prefix}/lib/polkit-1 |
---|
115 | %{_prefix}/lib/polkit-1/polkitd |
---|
116 | %{_libdir}/girepository-1.0/*.typelib |
---|
117 | |
---|
118 | # see upstream docs for why these permissions are necessary |
---|
119 | %attr(4755,root,root) %{_bindir}/pkexec |
---|
120 | %attr(4755,root,root) %{_prefix}/lib/polkit-1/polkit-agent-helper-1 |
---|
121 | |
---|
122 | %files devel |
---|
123 | %defattr(-,root,root,-) |
---|
124 | %{_libdir}/lib*.so |
---|
125 | %{_libdir}/pkgconfig/*.pc |
---|
126 | %{_datadir}/gir-1.0/*.gir |
---|
127 | %{_includedir}/* |
---|
128 | %{_bindir}/pk-example-frobnicate |
---|
129 | %{_datadir}/polkit-1/actions/org.freedesktop.policykit.examples.pkexec.policy |
---|
130 | |
---|
131 | %files docs |
---|
132 | %defattr(-,root,root,-) |
---|
133 | %{_datadir}/gtk-doc/html/* |
---|
134 | |
---|
135 | %changelog |
---|
136 | * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.112-2 |
---|
137 | - new upstream release |
---|
138 | |
---|
139 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.112-1 |
---|
140 | - new upstream release |
---|
141 | |
---|
142 | * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.110-1 |
---|
143 | - new upstream release |
---|
144 | |
---|
145 | * Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.107-1 |
---|
146 | - new upstream release |
---|
147 | - add BuildRequires: js-devel |
---|
148 | - remove BuildRequires: eggdbus-devel |
---|
149 | - remove polkit-desktop-policy subpackage (based on fedora) |
---|
150 | - historical changelogs are following: |
---|
151 | |
---|
152 | * Tue May 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.105-1 |
---|
153 | - new upstream release |
---|
154 | |
---|
155 | * Sat Feb 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.104-1 |
---|
156 | - new upstream release |
---|
157 | |
---|
158 | * Sat Aug 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.102-1 |
---|
159 | - new upstream release |
---|
160 | |
---|
161 | * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 0.96-2 |
---|
165 | - build with rpm-4.8.1-1 for pkg-config file |
---|
166 | |
---|
167 | * Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.96-1 |
---|
168 | - update to 0.96 |
---|
169 | - BR: eggdbus-devel >= 0.6 |
---|
170 | |
---|
171 | * Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.95-0.2.git20090913 |
---|
172 | - remove Obsoletes:/Provides: PolicyKit* |
---|
173 | |
---|
174 | * Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.95-0.1.git20090913 |
---|
175 | - initial build for Vine Linux |
---|
176 | |
---|
177 | * Wed Jul 11 2012 David Zeuthen <davidz@redhat.com> 0.107-1%{?dist} |
---|
178 | - Update to upstream release 0.107 |
---|
179 | |
---|
180 | * Fri Jun 29 2012 David Zeuthen <davidz@redhat.com> 0.106-2%{?dist} |
---|
181 | - Add forgotten Requires(pre): shadow-utils |
---|
182 | |
---|
183 | * Thu Jun 07 2012 David Zeuthen <davidz@redhat.com> 0.106-1%{?dist} |
---|
184 | - Update to upstream release 0.106 |
---|
185 | - Authorizations are no longer controlled by .pkla files - from now |
---|
186 | on, use the new .rules files described in the polkit(8) man page |
---|
187 | |
---|
188 | * Tue Apr 24 2012 David Zeuthen <davidz@redhat.com> 0.105-1%{?dist} |
---|
189 | - Update to upstream release 0.105 |
---|
190 | - Nuke patches that are now upstream |
---|
191 | - Change 'PolicyKit' to 'polkit' in summary and descriptions |
---|
192 | |
---|
193 | * Thu Mar 08 2012 David Zeuthen <davidz@redhat.com> 0.104-6%{?dist} |
---|
194 | - Don't leak file descriptors (bgo #671486) |
---|
195 | |
---|
196 | * Mon Feb 13 2012 Matthias Clasen <mclasen@redhat.com> - 0.104-5%{?dist} |
---|
197 | - Make the -docs subpackage noarch |
---|
198 | |
---|
199 | * Mon Feb 06 2012 David Zeuthen <davidz@redhat.com> 0.104-4%{?dist} |
---|
200 | - Set error if we cannot obtain a PolkitUnixSession for a given PID (#787222) |
---|
201 | |
---|
202 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.104-3 |
---|
203 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
204 | |
---|
205 | * Tue Jan 03 2012 David Zeuthen <davidz@redhat.com> 0.104-2%{?dist} |
---|
206 | - Nuke the ConsoleKit run-time requirement |
---|
207 | |
---|
208 | * Tue Jan 03 2012 David Zeuthen <davidz@redhat.com> 0.104-1%{?dist} |
---|
209 | - Update to upstream release 0.104 |
---|
210 | - Force usage of systemd (instead of ConsoleKit) for session tracking |
---|
211 | |
---|
212 | * Tue Dec 06 2011 David Zeuthen <davidz@redhat.com> 0.103-1%{?dist} |
---|
213 | - Update to upstream release 0.103 |
---|
214 | - Drop upstreamed patch |
---|
215 | - Drop Fedora-specific policy, it is now upstream (fdo #41008) |
---|
216 | |
---|
217 | * Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-3 |
---|
218 | - Rebuilt for glibc bug#747377 |
---|
219 | |
---|
220 | * Tue Oct 18 2011 David Zeuthen <davidz@redhat.com> 0.102-2%{?dist} |
---|
221 | - Add patch to neuter the annoying systemd behavior where stdout/stderr |
---|
222 | is sent to the system logs |
---|
223 | |
---|
224 | * Thu Aug 04 2011 David Zeuthen <davidz@redhat.com> 0.102-1 |
---|
225 | - Update to 0.102 release |
---|
226 | |
---|
227 | * Fri May 13 2011 Bastien Nocera <bnocera@redhat.com> 0.101-7 |
---|
228 | - Allow setting the pretty hostname without a password for wheel, |
---|
229 | change matches systemd in git |
---|
230 | |
---|
231 | * Mon May 2 2011 Matthias Clasen <mclasen@redhat.com> - 0.101-6 |
---|
232 | - Update the action id of the datetime mechanism |
---|
233 | |
---|
234 | * Tue Apr 19 2011 David Zeuthen <davidz@redhat.com> - 0.101-5 |
---|
235 | - CVE-2011-1485 (#697951) |
---|
236 | |
---|
237 | * Tue Mar 22 2011 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.101-4 |
---|
238 | - Also allow org.kde.kcontrol.kcmclock.save without password for wheel |
---|
239 | |
---|
240 | * Thu Mar 17 2011 David Zeuthen <davidz@redhat.com> - 0.101-3 |
---|
241 | - Fix typo in pkla file (thanks notting) |
---|
242 | |
---|
243 | * Thu Mar 17 2011 David Zeuthen <davidz@redhat.com> - 0.101-2 |
---|
244 | - Nuke desktop_admin_r and desktop_user_r groups - just use the |
---|
245 | wheel group instead (#688363) |
---|
246 | - Update the set of configuration directives that gives users |
---|
247 | in the wheel group extra privileges |
---|
248 | |
---|
249 | * Thu Mar 03 2011 David Zeuthen <davidz@redhat.com> - 0.101-1 |
---|
250 | - New upstream version |
---|
251 | |
---|
252 | * Mon Feb 21 2011 David Zeuthen <davidz@redhat.com> - 0.100-1 |
---|
253 | - New upstream version |
---|
254 | |
---|
255 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-7 |
---|
256 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
257 | |
---|
258 | * Fri Jan 28 2011 Matthias Clasen <mclasen@redhat.com> - 0.98-6 |
---|
259 | - Own /usr/libexec/polkit-1 |
---|
260 | |
---|
261 | * Sun Nov 14 2010 Matthias Clasen <mclasen@redhat.com> - 0.98-5 |
---|
262 | - Enable introspection |
---|
263 | |
---|
264 | * Thu Sep 02 2010 David Zeuthen <davidz@redhat.com> - 0.98-4 |
---|
265 | - Fix #629515 in a way that doesn't require autoreconf |
---|
266 | |
---|
267 | * Thu Sep 02 2010 David Zeuthen <davidz@redhat.com> - 0.98-2 |
---|
268 | - Include polkitagentenumtypes.h (#629515) |
---|
269 | |
---|
270 | * Mon Aug 23 2010 Matthias Clasen <mclasen@redhat.com> - 0.98-1 |
---|
271 | - Update to upstream release 0.98 |
---|
272 | - Co-own /usr/share/gtk-doc (#604410) |
---|
273 | |
---|
274 | * Wed Aug 18 2010 Matthias Clasen <mclasen@redhat.com> - 0.97-5 |
---|
275 | - Rebuid to work around bodhi limitations |
---|
276 | |
---|
277 | * Wed Aug 18 2010 Matthias Clasen <mclasen@redhat.com> - 0.97-4 |
---|
278 | - Fix a ConsoleKit interaction bug |
---|
279 | |
---|
280 | * Fri Aug 13 2010 David Zeuthen <davidz@redhat.com> - 0.97-3 |
---|
281 | - Add a patch to make pkcheck(1) work the way libvirtd uses it (#623257) |
---|
282 | - Require GLib >= 2.25.12 instead of 2.25.11 |
---|
283 | - Ensure polkit-gnome packages earlier than 0.97 are not used with |
---|
284 | these packages |
---|
285 | |
---|
286 | * Mon Aug 09 2010 David Zeuthen <davidz@redhat.com> - 0.97-2 |
---|
287 | - Rebuild |
---|
288 | |
---|
289 | * Mon Aug 09 2010 David Zeuthen <davidz@redhat.com> - 0.97-1 |
---|
290 | - Update to 0.97. This release contains a port from EggDBus to the |
---|
291 | GDBus code available in recent GLib releases. |
---|
292 | |
---|
293 | * Fri Jan 15 2010 David Zeuthen <davidz@redhat.com> - 0.96-1 |
---|
294 | - Update to 0.96 |
---|
295 | - Disable introspection support for the time being |
---|
296 | |
---|
297 | * Fri Nov 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-2 |
---|
298 | - Rebuild |
---|
299 | |
---|
300 | * Fri Nov 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-1 |
---|
301 | - Update to 0.95 |
---|
302 | - Drop upstreamed patches |
---|
303 | |
---|
304 | * Tue Oct 20 2009 Matthias Clasen <mclasen@redhat.com> - 0.95-0.git20090913.3 |
---|
305 | - Fix a typo in pklocalauthority(8) |
---|
306 | |
---|
307 | * Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.2 |
---|
308 | - Refine how Obsolete: is used and also add Provides: (thanks Jesse |
---|
309 | Keating and nim-nim) |
---|
310 | |
---|
311 | * Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.1 |
---|
312 | - Add bugfix for polkit_unix_process_new_full() (thanks Bastien Nocera) |
---|
313 | - Obsolete old PolicyKit packages |
---|
314 | |
---|
315 | * Sun Sep 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913 |
---|
316 | - Update to git snapshot |
---|
317 | - Drop upstreamed patches |
---|
318 | - Turn on GObject introspection |
---|
319 | - Don't delete desktop_admin_r and desktop_user_r groups when |
---|
320 | uninstalling polkit-desktop-policy |
---|
321 | |
---|
322 | * Fri Sep 11 2009 David Zeuthen <davidz@redhat.com> - 0.94-4 |
---|
323 | - Add some patches from git master |
---|
324 | - Sort pkaction(1) output |
---|
325 | - Bug 23867 – UnixProcess vs. SystemBusName aliasing |
---|
326 | |
---|
327 | * Thu Aug 13 2009 David Zeuthen <davidz@redhat.com> - 0.94-3 |
---|
328 | - Add desktop_admin_r and desktop_user_r groups along with a first cut |
---|
329 | of default authorizations for users in these groups. |
---|
330 | |
---|
331 | * Wed Aug 12 2009 David Zeuthen <davidz@redhat.com> - 0.94-2 |
---|
332 | - Disable GObject Introspection for now as it breaks the build |
---|
333 | |
---|
334 | * Wed Aug 12 2009 David Zeuthen <davidz@redhat.com> - 0.94-1 |
---|
335 | - Update to upstream release 0.94 |
---|
336 | |
---|
337 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-3 |
---|
338 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
339 | |
---|
340 | * Mon Jul 20 2009 David Zeuthen <davidz@redhat.com> - 0.93-2 |
---|
341 | - Rebuild |
---|
342 | |
---|
343 | * Mon Jul 20 2009 David Zeuthen <davidz@redhat.com> - 0.93-1 |
---|
344 | - Update to 0.93 |
---|
345 | |
---|
346 | * Tue Jun 09 2009 David Zeuthen <davidz@redhat.com> - 0.92-3 |
---|
347 | - Don't make docs noarch (I *heart* multilib) |
---|
348 | - Change license to LGPLv2+ |
---|
349 | |
---|
350 | * Mon Jun 08 2009 David Zeuthen <davidz@redhat.com> - 0.92-2 |
---|
351 | - Rebuild |
---|
352 | |
---|
353 | * Mon Jun 08 2009 David Zeuthen <davidz@redhat.com> - 0.92-1 |
---|
354 | - Update to 0.92 release |
---|
355 | |
---|
356 | * Wed May 27 2009 David Zeuthen <davidz@redhat.com> - 0.92-0.git20090527 |
---|
357 | - Update to 0.92 snapshot |
---|
358 | |
---|
359 | * Mon Feb 9 2009 David Zeuthen <davidz@redhat.com> - 0.91-1 |
---|
360 | - Initial spec file. |
---|