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

Revision 12349, 11.9 KB checked in by tomop, 4 years ago (diff)

updated 4 packages

gjs-1.54.3-1

mozjs60-60.9.0-6

pam-1.3.1-1

polkit-0.116-1

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