commit 5ffccca7ea002cc0253786ce44ee0a4da587b12a Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:13:56 2019 -0400 Package init diff --git a/polkit-pkla-compat-0.1.tar.xz b/polkit-pkla-compat-0.1.tar.xz new file mode 100644 index 0000000..ad11915 Binary files /dev/null and b/polkit-pkla-compat-0.1.tar.xz differ diff --git a/polkit-pkla-compat.spec b/polkit-pkla-compat.spec new file mode 100644 index 0000000..b092d95 --- /dev/null +++ b/polkit-pkla-compat.spec @@ -0,0 +1,72 @@ +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 - 0.1-16 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: move the directory of COPYING + +* Tue Sep 24 2019 openEuler Buildteam - 0.1-15 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC: revise spec file with new rules + +* Tue Aug 13 2018 openEuler Buildteam - 0.1-14 +- Package init