Package init

This commit is contained in:
overweight 2019-09-30 11:13:56 -04:00
commit 5ffccca7ea
2 changed files with 72 additions and 0 deletions

Binary file not shown.

72
polkit-pkla-compat.spec Normal file
View File

@ -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 <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