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

Revision 7633, 11.2 KB checked in by Takemikaduchi, 11 years ago (diff)

GNOME-3.8.1

Line 
1Summary: PolicyKit Authorization Framework
2Summary(ja): PolicyKit 認証フレームワーク
3Name: polkit
4Version: 0.110
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        --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
71make
72
73%install
74rm -rf $RPM_BUILD_ROOT
75make install DESTDIR=$RPM_BUILD_ROOT
76
77rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
78rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
79
80%find_lang polkit-1
81
82
83%clean
84rm -rf $RPM_BUILD_ROOT
85
86%pre
87groupadd -g 27 -r polkitd 2>&1 > /dev/null || :
88useradd -u 27 -g polkitd -r -d '/' -s /sbin/nologin -c "User for polkitd" polkitd 2>&1 > /dev/null || :
89exit 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* Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.110-1
137- new upstream release
138
139* Thu Sep 27 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.107-1
140- new upstream release
141- add BuildRequires: js-devel
142- remove BuildRequires: eggdbus-devel
143- remove polkit-desktop-policy subpackage (based on fedora)
144- historical changelogs are following:
145
146  * Tue May 08 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.105-1
147  - new upstream release
148
149  * Sat Feb 25 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.104-1
150  - new upstream release
151
152  * Sat Aug 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.102-1
153  - new upstream release
154
155  * Sat Oct 02 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.99-1
156  - new upstream release
157
158  * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 0.96-2
159  - build with rpm-4.8.1-1 for pkg-config file
160
161  * Mon Feb 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.96-1
162  - update to 0.96
163  - BR: eggdbus-devel >= 0.6
164
165  * Mon Oct 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.95-0.2.git20090913
166  - remove Obsoletes:/Provides: PolicyKit*
167
168  * Sat Sep 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.95-0.1.git20090913
169  - initial build for Vine Linux
170
171* Wed Jul 11 2012 David Zeuthen <davidz@redhat.com> 0.107-1%{?dist}
172- Update to upstream release 0.107
173
174* Fri Jun 29 2012 David Zeuthen <davidz@redhat.com> 0.106-2%{?dist}
175- Add forgotten Requires(pre): shadow-utils
176
177* Thu Jun 07 2012 David Zeuthen <davidz@redhat.com> 0.106-1%{?dist}
178- Update to upstream release 0.106
179- Authorizations are no longer controlled by .pkla files - from now
180  on, use the new .rules files described in the polkit(8) man page
181
182* Tue Apr 24 2012 David Zeuthen <davidz@redhat.com> 0.105-1%{?dist}
183- Update to upstream release 0.105
184- Nuke patches that are now upstream
185- Change 'PolicyKit' to 'polkit' in summary and descriptions
186
187* Thu Mar 08 2012 David Zeuthen <davidz@redhat.com> 0.104-6%{?dist}
188- Don't leak file descriptors (bgo #671486)
189
190* Mon Feb 13 2012 Matthias Clasen <mclasen@redhat.com> - 0.104-5%{?dist}
191- Make the -docs subpackage noarch
192
193* Mon Feb 06 2012 David Zeuthen <davidz@redhat.com> 0.104-4%{?dist}
194- Set error if we cannot obtain a PolkitUnixSession for a given PID (#787222)
195
196* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.104-3
197- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
198
199* Tue Jan 03 2012 David Zeuthen <davidz@redhat.com> 0.104-2%{?dist}
200- Nuke the ConsoleKit run-time requirement
201
202* Tue Jan 03 2012 David Zeuthen <davidz@redhat.com> 0.104-1%{?dist}
203- Update to upstream release 0.104
204- Force usage of systemd (instead of ConsoleKit) for session tracking
205
206* Tue Dec 06 2011 David Zeuthen <davidz@redhat.com> 0.103-1%{?dist}
207- Update to upstream release 0.103
208- Drop upstreamed patch
209- Drop Fedora-specific policy, it is now upstream (fdo #41008)
210
211* Wed Oct 26 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.102-3
212- Rebuilt for glibc bug#747377
213
214* Tue Oct 18 2011 David Zeuthen <davidz@redhat.com> 0.102-2%{?dist}
215- Add patch to neuter the annoying systemd behavior where stdout/stderr
216  is sent to the system logs
217
218* Thu Aug 04 2011 David Zeuthen <davidz@redhat.com> 0.102-1
219- Update to 0.102 release
220
221* Fri May 13 2011 Bastien Nocera <bnocera@redhat.com> 0.101-7
222- Allow setting the pretty hostname without a password for wheel,
223  change matches systemd in git
224
225* Mon May  2 2011 Matthias Clasen <mclasen@redhat.com> - 0.101-6
226- Update the action id of the datetime mechanism
227
228* Tue Apr 19 2011 David Zeuthen <davidz@redhat.com> - 0.101-5
229- CVE-2011-1485 (#697951)
230
231* Tue Mar 22 2011 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.101-4
232- Also allow org.kde.kcontrol.kcmclock.save without password for wheel
233
234* Thu Mar 17 2011 David Zeuthen <davidz@redhat.com> - 0.101-3
235- Fix typo in pkla file (thanks notting)
236
237* Thu Mar 17 2011 David Zeuthen <davidz@redhat.com> - 0.101-2
238- Nuke desktop_admin_r and desktop_user_r groups - just use the
239  wheel group instead (#688363)
240- Update the set of configuration directives that gives users
241  in the wheel group extra privileges
242
243* Thu Mar 03 2011 David Zeuthen <davidz@redhat.com> - 0.101-1
244- New upstream version
245
246* Mon Feb 21 2011 David Zeuthen <davidz@redhat.com> - 0.100-1
247- New upstream version
248
249* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-7
250- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
251
252* Fri Jan 28 2011 Matthias Clasen <mclasen@redhat.com> - 0.98-6
253- Own /usr/libexec/polkit-1
254
255* Sun Nov 14 2010 Matthias Clasen <mclasen@redhat.com> - 0.98-5
256- Enable introspection
257
258* Thu Sep 02 2010 David Zeuthen <davidz@redhat.com> - 0.98-4
259- Fix #629515 in a way that doesn't require autoreconf
260
261* Thu Sep 02 2010 David Zeuthen <davidz@redhat.com> - 0.98-2
262- Include polkitagentenumtypes.h (#629515)
263
264* Mon Aug 23 2010 Matthias Clasen <mclasen@redhat.com> - 0.98-1
265- Update to upstream release 0.98
266- Co-own /usr/share/gtk-doc (#604410)
267
268* Wed Aug 18 2010 Matthias Clasen <mclasen@redhat.com> - 0.97-5
269- Rebuid to work around bodhi limitations
270
271* Wed Aug 18 2010 Matthias Clasen <mclasen@redhat.com> - 0.97-4
272- Fix a ConsoleKit interaction bug
273
274* Fri Aug 13 2010 David Zeuthen <davidz@redhat.com> - 0.97-3
275- Add a patch to make pkcheck(1) work the way libvirtd uses it (#623257)
276- Require GLib >= 2.25.12 instead of 2.25.11
277- Ensure polkit-gnome packages earlier than 0.97 are not used with
278  these packages
279
280* Mon Aug 09 2010 David Zeuthen <davidz@redhat.com> - 0.97-2
281- Rebuild
282
283* Mon Aug 09 2010 David Zeuthen <davidz@redhat.com> - 0.97-1
284- Update to 0.97. This release contains a port from EggDBus to the
285  GDBus code available in recent GLib releases.
286
287* Fri Jan 15 2010 David Zeuthen <davidz@redhat.com> - 0.96-1
288- Update to 0.96
289- Disable introspection support for the time being
290
291* Fri Nov 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-2
292- Rebuild
293
294* Fri Nov 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-1
295- Update to 0.95
296- Drop upstreamed patches
297
298* Tue Oct 20 2009 Matthias Clasen <mclasen@redhat.com> - 0.95-0.git20090913.3
299- Fix a typo in pklocalauthority(8)
300
301* Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.2
302- Refine how Obsolete: is used and also add Provides: (thanks Jesse
303  Keating and nim-nim)
304
305* Mon Sep 14 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913.1
306- Add bugfix for polkit_unix_process_new_full() (thanks Bastien Nocera)
307- Obsolete old PolicyKit packages
308
309* Sun Sep 13 2009 David Zeuthen <davidz@redhat.com> - 0.95-0.git20090913
310- Update to git snapshot
311- Drop upstreamed patches
312- Turn on GObject introspection
313- Don't delete desktop_admin_r and desktop_user_r groups when
314  uninstalling polkit-desktop-policy
315
316* Fri Sep 11 2009 David Zeuthen <davidz@redhat.com> - 0.94-4
317- Add some patches from git master
318- Sort pkaction(1) output
319- Bug 23867 – UnixProcess vs. SystemBusName aliasing
320
321* Thu Aug 13 2009 David Zeuthen <davidz@redhat.com> - 0.94-3
322- Add desktop_admin_r and desktop_user_r groups along with a first cut
323  of default authorizations for users in these groups.
324
325* Wed Aug 12 2009 David Zeuthen <davidz@redhat.com> - 0.94-2
326- Disable GObject Introspection for now as it breaks the build
327
328* Wed Aug 12 2009 David Zeuthen <davidz@redhat.com> - 0.94-1
329- Update to upstream release 0.94
330
331* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-3
332- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
333
334* Mon Jul 20 2009 David Zeuthen <davidz@redhat.com> - 0.93-2
335- Rebuild
336
337* Mon Jul 20 2009 David Zeuthen <davidz@redhat.com> - 0.93-1
338- Update to 0.93
339
340* Tue Jun 09 2009 David Zeuthen <davidz@redhat.com> - 0.92-3
341- Don't make docs noarch (I *heart* multilib)
342- Change license to LGPLv2+
343
344* Mon Jun 08 2009 David Zeuthen <davidz@redhat.com> - 0.92-2
345- Rebuild
346
347* Mon Jun 08 2009 David Zeuthen <davidz@redhat.com> - 0.92-1
348- Update to 0.92 release
349
350* Wed May 27 2009 David Zeuthen <davidz@redhat.com> - 0.92-0.git20090527
351- Update to 0.92 snapshot
352
353* Mon Feb  9 2009 David Zeuthen <davidz@redhat.com> - 0.91-1
354- Initial spec file.
Note: See TracBrowser for help on using the repository browser.