Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
fe8a0c6058
!15 fix libpam-biometric package installation error and uninstall failure
From: @hua_yadong 
Reviewed-by: @dou33 
Signed-off-by: @dou33
2022-07-29 05:39:03 +00:00
huayadong
dd6226f333 fix libpam-biometric package installation error and uninstall failure 2022-07-29 12:28:49 +08:00
openeuler-ci-bot
e864bca374 !7 modify spec
From: @dou33
Reviewed-by: @tanyulong2021
Signed-off-by: @tanyulong2021
2021-10-22 08:45:51 +00:00
dou33
25d42e0dff modify spec 2021-10-22 11:04:23 +08:00
openeuler-ci-bot
9e72e8421c !5 sync
From: @myshow2258
Reviewed-by: @dou33
Signed-off-by: @dou33
2021-01-26 09:57:50 +08:00
dou33
5e9a246b26 !4 update to version 1.2.1
Merge pull request !4 from dou33/master
2020-11-03 15:18:26 +08:00
dou33
a32e7a76d9 update to version 1.2.1 2020-11-03 14:07:55 +08:00
openeuler-ci-bot
0bd45e11a8 !2 update source
Merge pull request !2 from yangzhao_kl/update_source
2020-07-24 17:36:50 +08:00
yangzhao_kl
b9899a73a4 update_source 2020-07-24 15:07:21 +08:00
openeuler-ci-bot
18b577a9f8 !1 Init package
Merge pull request !1 from dou33/add_package
2020-07-09 13:41:00 +08:00
dou33
801c062675 Init package 2020-07-09 09:40:43 +08:00
2 changed files with 88 additions and 0 deletions

Binary file not shown.

88
ukui-biometric-auth.spec Normal file
View File

@ -0,0 +1,88 @@
%define debug_package %{nil}
Name: ukui-biometric-auth
Summary: ukui-biometric-auth
Version: 1.2.1
Release: 3
License: GPL-3+
URL: https://github.com/ukui/ukui-biometric-auth
Source0: %{name}-%{version}.tar.gz
BuildRequires: cmake qt5-qtbase-devel pam-devel polkit-qt5-1-devel qt5-qttools-devel pkg-config
Requires: cmake qt5-qtbase-devel pam-devel polkit-qt5-1-devel qt5-qttools-devel pkg-config
%description
ukui-biometric-auth
%package -n libpam-biometric
Summary: Insertable authentication module for PAM
Requires: cmake qt5-qtbase-devel pam-devel polkit-qt5-1 qt5-qttools-devel pkg-config
Suggests: biometric-auth
%description -n libpam-biometric
The indispensable part for biometric authentication in
ukui desktop environment.
This package contains a modules for PAM.
%package -n ukui-polkit
Summary: UKUI authentication agent for PolicyKit-1
Requires: cmake qt5-qtbase-devel pam-devel polkit-qt5-1 qt5-qttools-devel pkg-config
Provides: polkit-1-auth-agent
Suggests: biometric-auth
%description -n ukui-polkit
The ukui-polkit package supports general authentication and
biometric authentication that the service is provided by the
biometric-auth package.
%prep
%setup -q
%build
mkdir build
cd build
cmake ..
make
%install
cd build
make DESTDIR=$RPM_BUILD_ROOT install
%preun -n libpam-biometric
%post -n libpam-biometric
%files -n libpam-biometric
%{_sysconfdir}/biometric-auth/ukui-biometric.conf
/lib/security/*
%{_bindir}/*
%{_datadir}/pam-configs/*
%{_datadir}/polkit-1/actions/*.policy
%{_datadir}/ukui-biometric/images/
%{_datadir}/ukui-biometric/i18n_qm/*.qm
%{_datadir}/ukui-biometric/i18n_qm/bioauth-bin/*.qm
%files -n ukui-polkit
%{_sysconfdir}/xdg/*
%{_prefix}/lib/*
%{_prefix}/share/ukui-biometric/i18n_qm/polkit/*.qm
%changelog
* Fri Jul 29 2022 huayadong <huayadong@kylinos.cn> - 1.2.1-3
- fix libpam-biometric package installation error and uninstall failure
* Wed Oct 20 2021 douyan <douyan@kylinos.cn> - 1.2.1-2
- modify spec file
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 1.2.1-1
- update to upstream version 1.2.1-1
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 1.2.0-1
- Init package for openEuler