51d091
Name:		polkit-pkla-compat
51d091
Version:	0.1
51d091
Release:	21%{?dist}
51d091
Summary:	Rules for polkit to add compatibility with pklocalauthority
51d091
# GPLv2-licensed ltmain.sh and Apache-licensed mocklibc are not shipped in
51d091
# the binary package.
51d091
License:	LGPLv2+
51d091
URL:		https://pagure.io/polkit-pkla-compat
51d091
Source0:	http://releases.pagure.org/polkit-pkla-compat/polkit-pkla-compat-%{version}.tar.xz
51d091
51d091
BuildRequires: make
51d091
BuildRequires:  gcc
51d091
BuildRequires:	docbook-style-xsl, libxslt, glib2-devel, polkit-devel
51d091
# To ensure the polkitd group already exists when this is installed
51d091
Requires(pre): polkit
51d091
51d091
%global _hardened_build 1
51d091
51d091
%description
51d091
A polkit JavaScript rule and associated helpers that mostly provide
51d091
compatibility with the .pkla file format supported in polkit <= 0.105 for users
51d091
of later polkit releases.
51d091
51d091
%prep
51d091
%setup -q
51d091
51d091
%build
51d091
%configure
51d091
make %{?_smp_mflags} V=1
51d091
51d091
%install
51d091
%make_install INSTALL='install -p'
51d091
51d091
%check
51d091
make check
51d091
51d091
%files
51d091
%doc AUTHORS COPYING NEWS README
51d091
%dir %attr(0750,root,polkitd) %dir %{_sysconfdir}/polkit-1/localauthority
51d091
%dir %{_sysconfdir}/polkit-1/localauthority/*.d
51d091
%dir %{_sysconfdir}/polkit-1/localauthority.conf.d
51d091
%config(noreplace) %{_sysconfdir}/polkit-1/rules.d/49-polkit-pkla-compat.rules
51d091
%{_bindir}/pkla-admin-identities
51d091
%{_bindir}/pkla-check-authorization
51d091
%{_mandir}/man8/pkla-admin-identities.8*
51d091
%{_mandir}/man8/pkla-check-authorization.8*
51d091
%{_mandir}/man8/pklocalauthority.8*
51d091
%dir %attr(0750,root,polkitd) %{_localstatedir}/lib/polkit-1
51d091
%dir %{_localstatedir}/lib/polkit-1/localauthority
51d091
%dir %{_localstatedir}/lib/polkit-1/localauthority/*.d
51d091
51d091
%changelog
51d091
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 0.1-21
51d091
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
51d091
  Related: rhbz#1991688
51d091
51d091
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.1-20
51d091
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
51d091
51d091
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-19
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
51d091
51d091
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-18
51d091
- Second attempt - Rebuilt for
51d091
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
51d091
51d091
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-17
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
51d091
51d091
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-16
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
51d091
51d091
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-15
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
51d091
51d091
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-14
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
51d091
51d091
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-13
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
51d091
51d091
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-12
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
51d091
51d091
* Sat Oct 21 2017 Miloslav Trmač <mitr@redhat.com> - 0.1-11
51d091
- Update URL: and Source0: to point to Pagure instead of fedorahosted.org
51d091
  Resolves: #1502386
51d091
51d091
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-10
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
51d091
51d091
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-9
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
51d091
51d091
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-8
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
51d091
51d091
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1-7
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
51d091
51d091
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-6
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
51d091
51d091
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
51d091
51d091
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
51d091
51d091
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
51d091
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
51d091
51d091
* Thu May  9 2013 Miloslav Trmač <mitr@redhat.com> - 0.1-2
51d091
- Add a comment above License about SRPM-only licenses
51d091
- Reword Summary: to avoid a rpmlint warning
51d091
- Move INSTALL= to the %%install section
51d091
51d091
* Tue May  7 2013 Miloslav Trmač <mitr@redhat.com> - 0.1-1
51d091
- Initial package