Blame SPECS/polkit-pkla-compat.spec

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