73 lines
1.6 KiB
RPMSpec
73 lines
1.6 KiB
RPMSpec
Name: polkit-pkla-compat
|
|
Version: 0.1
|
|
Release: 16
|
|
Summary: Rules for polkit to add compatibility with pklocalauthority
|
|
License: LGPLv2+
|
|
URL: https://pagure.io/polkit-pkla-compat
|
|
Source0: http://releases.pagure.org/polkit-pkla-compat/polkit-pkla-compat-%{version}.tar.xz
|
|
|
|
BuildRequires:gcc docbook-style-xsl libxslt glib2-devel polkit-devel git
|
|
|
|
Requires(pre): polkit
|
|
|
|
%description
|
|
polkit-pkla-compat is a polkit JavaScript rule and associated helpers
|
|
that mostly provide compatibility with the .pkla file format supported in
|
|
polkit <= 0.105 for users of later polkit releases.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1 -Sgit
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf %{buildroot}
|
|
%make_install
|
|
|
|
%check
|
|
make check
|
|
|
|
%pre
|
|
|
|
%preun
|
|
|
|
%post
|
|
|
|
%postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%license COPYING
|
|
%doc AUTHORS
|
|
%attr(0750,root,polkitd) %dir %{_sysconfdir}/polkit-1/localauthority
|
|
%{_sysconfdir}/polkit-1/localauthority/*
|
|
%{_sysconfdir}/polkit-1/localauthority.conf.d
|
|
%config(noreplace)%{_sysconfdir}/polkit-1/rules.d/*
|
|
%{_bindir}/*
|
|
%dir %attr(0750,root,polkitd) %{_sharedstatedir}/polkit-1
|
|
%{_sharedstatedir}/polkit-1/localauthority
|
|
|
|
%files help
|
|
%doc NEWS README
|
|
%{_mandir}/*/*
|
|
|
|
%changelog
|
|
* Fri Sep 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1-16
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC: move the directory of COPYING
|
|
|
|
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1-15
|
|
- Type:enhancement
|
|
- ID:NA
|
|
- SUG:NA
|
|
- DESC: revise spec file with new rules
|
|
|
|
* Tue Aug 13 2018 openEuler Buildteam <buildteam@openeuler.org> - 0.1-14
|
|
- Package init
|