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

Revision 7938, 11.3 KB checked in by Takemikaduchi, 11 years ago (diff)

GNOME-3.10.1

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