124 lines
3.4 KiB
RPMSpec
124 lines
3.4 KiB
RPMSpec
|
|
%define debug_package %{nil}
|
|
|
|
Name: ukui-biometric-auth
|
|
Summary: ukui-biometric-auth
|
|
Version: 1.2.1
|
|
Release: 10
|
|
|
|
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
|
|
|
|
Patch0: 0001-add-window-icon.patch
|
|
Patch1: 0002-add-and-use-attribute-of-UseHighDpiPixmaps.patch
|
|
Patch2: 0003-modify-pam-module.patch
|
|
Patch3: 0004-solve-the-problem-that-ukui-greeter-wayland-can-t-use-biometric-authentication.patch
|
|
Patch4: 0005-fix-the-problem-that-the-probability-window-is-not-displayed-in-the-center-of-screen.patch
|
|
Patch5: 0006-can-t-exit-with-ctrl-c-using-biometric-autentication.patch
|
|
|
|
%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
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
%patch3 -p1
|
|
%patch4 -p1
|
|
%patch5 -p1
|
|
|
|
%build
|
|
mkdir build
|
|
cd build
|
|
cmake ..
|
|
make
|
|
|
|
%install
|
|
cd build
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%preun -n libpam-biometric
|
|
#pam-auth-update --package --remove pam-biometric
|
|
|
|
%post -n libpam-biometric
|
|
#pam-auth-update --package
|
|
|
|
%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
|
|
* Wed Aug 03 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-10
|
|
- can't exit with ctrl-c using biometric autentication
|
|
|
|
* Tue Aug 02 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-9
|
|
- fix the problem that the probability window is not displayed in the center of screen
|
|
|
|
* Tue Aug 02 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-8
|
|
- solve the problem that ukui-greeter-wayland can't use biometric authentication
|
|
|
|
* Mon Aug 01 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-7
|
|
- modify pam module
|
|
|
|
* Mon Aug 01 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-6
|
|
- add and use attribute of UseHighDpiPixmaps
|
|
|
|
* Mon Aug 01 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-5
|
|
- add window icon
|
|
|
|
* Sat Apr 02 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-4
|
|
- add yaml file
|
|
|
|
* Tue Feb 22 2022 douyan <douyan@kylinos.cn> - 1.2.1-3
|
|
- fix libpam-biometric uninstall error
|
|
|
|
* 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
|