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

Revision 12000, 11.7 KB checked in by tomop, 5 years ago (diff)

new: elogind-239.3 (and packages that depends on elogind)

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