polkit-pkla-compat/polkit-pkla-compat.spec
openeuler-ci-bot 1fd0f4d20f
!6 【轻量级 PR】:fix bogus date in %changelog
From: @leeffo 
Reviewed-by: @HuaxinLuGitee 
Signed-off-by: @HuaxinLuGitee
2022-12-20 11:20:21 +00:00

84 lines
2.0 KiB
RPMSpec

Name: polkit-pkla-compat
Version: 0.1
Release: 21
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
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
%build
%configure
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%make_install
%check
make check
%pre
%preun
%post
%postun
%files
%defattr(-,root,root)
%license COPYING 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
* Mon Oct 17 2022 wangyu <wangyu283@huawei.com> - 0.1-21
- Rebuild for new release number
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.1-18
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Wed Oct 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.1-17
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: change the directory of AUTHORS
* 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
* Mon Aug 13 2018 openEuler Buildteam <buildteam@openeuler.org> - 0.1-14
- Package init