e883d59
Name:		polkit-pkla-compat
e883d59
Version:	0.1
ba71db0
Release:	6%{?dist}
e883d59
Summary:	Rules for polkit to add compatibility with pklocalauthority
e883d59
# GPLv2-licensed ltmain.sh and Apache-licensed mocklibc are not shipped in
e883d59
# the binary package.
e883d59
License:	LGPLv2+
e883d59
URL:		https://fedorahosted.org/polkit-pkla-compat/
e883d59
Source0:	https://fedorahosted.org/releases/p/o/polkit-pkla-compat/polkit-pkla-compat-%{version}.tar.xz
e883d59
e883d59
BuildRequires:	docbook-style-xsl, libxslt, glib2-devel, polkit-devel
e883d59
# To ensure the polkitd group already exists when this is installed
e883d59
Requires(pre): polkit
e883d59
e883d59
%global _hardened_build 1
e883d59
e883d59
%description
e883d59
A polkit JavaScript rule and associated helpers that mostly provide
e883d59
compatibility with the .pkla file format supported in polkit <= 0.105 for users
e883d59
of later polkit releases.
e883d59
e883d59
%prep
e883d59
%setup -q
e883d59
e883d59
%build
e883d59
%configure
e883d59
make %{?_smp_mflags} V=1
e883d59
e883d59
%install
e883d59
%make_install INSTALL='install -p'
e883d59
e883d59
%check
e883d59
make check
e883d59
e883d59
%files
e883d59
%doc AUTHORS COPYING NEWS README
e883d59
%dir %attr(0750,root,polkitd) %dir %{_sysconfdir}/polkit-1/localauthority
e883d59
%dir %{_sysconfdir}/polkit-1/localauthority/*.d
e883d59
%dir %{_sysconfdir}/polkit-1/localauthority.conf.d
e883d59
%config(noreplace) %{_sysconfdir}/polkit-1/rules.d/49-polkit-pkla-compat.rules
e883d59
%{_bindir}/pkla-admin-identities
e883d59
%{_bindir}/pkla-check-authorization
e883d59
%{_mandir}/man8/pkla-admin-identities.8*
e883d59
%{_mandir}/man8/pkla-check-authorization.8*
e883d59
%{_mandir}/man8/pklocalauthority.8*
e883d59
%dir %attr(0750,root,polkitd) %{_localstatedir}/lib/polkit-1
e883d59
%dir %{_localstatedir}/lib/polkit-1/localauthority
e883d59
%dir %{_localstatedir}/lib/polkit-1/localauthority/*.d
e883d59
e883d59
%changelog
ba71db0
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-6
ba71db0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
ba71db0
5556c71
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5
5556c71
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
5556c71
086e3bd
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
086e3bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
086e3bd
b2245fe
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
b2245fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b2245fe
e883d59
* Thu May  9 2013 Miloslav Trmač <mitr@redhat.com> - 0.1-2
e883d59
- Add a comment above License about SRPM-only licenses
e883d59
- Reword Summary: to avoid a rpmlint warning
e883d59
- Move INSTALL= to the %%install section
e883d59
e883d59
* Tue May  7 2013 Miloslav Trmač <mitr@redhat.com> - 0.1-1
e883d59
- Initial package
e883d59