source: projects/specs/trunk/p/polkit/polkit-vl.spec @ 6890

Revision 6890, 11.1 KB checked in by Takemikaduchi, 12 years ago (diff)

GNOME-3.6.0 & Cinnamon-1.6.1

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