ukui-biometric-auth/ukui-biometric-auth.spec

128 lines
3.5 KiB
RPMSpec
Raw Normal View History

2023-05-23 16:32:12 +08:00
#glib2-devel >= 2.74.4 glib2test 1
%global glib2test 1
2020-07-09 09:40:43 +08:00
Name: ukui-biometric-auth
Summary: ukui-biometric-auth
2023-05-23 16:32:12 +08:00
Version: 1.2.4
Release: 1
2020-07-09 09:40:43 +08:00
2020-07-24 15:07:21 +08:00
License: GPL-3+
2020-07-09 09:40:43 +08:00
URL: https://github.com/ukui/ukui-biometric-auth
Source0: %{name}-%{version}.tar.gz
2023-05-23 16:32:12 +08:00
BuildRequires: cmake qt5-qtbase-devel pam-devel polkit-qt5-1-devel qt5-qttools-devel pkg-config opencv qt5-qtsvg-devel glib2-devel gsettings-qt-devel
2020-07-24 15:07:21 +08:00
Requires: cmake qt5-qtbase-devel pam-devel polkit-qt5-1-devel qt5-qttools-devel pkg-config
2020-07-09 09:40:43 +08:00
2023-05-23 16:32:12 +08:00
Patch1: 0001-fix-build-compile-error.patch
2022-08-01 10:47:24 +08:00
2020-07-09 09:40:43 +08:00
%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
2023-05-23 16:32:12 +08:00
%if %{?glib2test}
%patch1 -p1
2023-05-23 16:32:12 +08:00
%endif
2020-07-09 09:40:43 +08:00
%build
mkdir build
cd build
2023-03-01 15:05:51 +08:00
%cmake ..
%{make_build}
2020-07-09 09:40:43 +08:00
%install
cd build
2023-03-01 15:05:51 +08:00
%{make_install} DESTDIR=$RPM_BUILD_ROOT
2020-07-09 09:40:43 +08:00
%preun -n libpam-biometric
#pam-auth-update --package --remove pam-biometric
2020-07-09 09:40:43 +08:00
%post -n libpam-biometric
#pam-auth-update --package
2020-07-09 09:40:43 +08:00
%files -n libpam-biometric
2021-10-20 16:46:39 +08:00
%{_sysconfdir}/biometric-auth/ukui-biometric.conf
2020-07-09 09:40:43 +08:00
/lib/security/*
2021-10-20 16:46:39 +08:00
%{_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
2020-07-09 09:40:43 +08:00
%files -n ukui-polkit
2021-10-20 16:46:39 +08:00
%{_sysconfdir}/xdg/*
2023-03-01 15:05:51 +08:00
%{_prefix}/lib/ukui-polkit
2021-10-20 16:46:39 +08:00
%{_prefix}/share/ukui-biometric/i18n_qm/polkit/*.qm
2020-07-09 09:40:43 +08:00
%changelog
2023-05-23 16:32:12 +08:00
* Mon May 22 2023 huayadong <huayadong@kylinos.cn> - 1.2.4-1
- update to upstream version 1.2.4-1
2023-03-01 15:05:51 +08:00
* Wed Mar 01 2023 peijiankang <peijiankang@kylinos.cn> - 1.2.1-13
- add debug to fix not strip
* Mon Dec 19 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-12
- Username to long and ends the display
* Thu Aug 04 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-11
- control file add opencv complication dependencies
* 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
2022-08-01 14:11:13 +08:00
* 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
2022-08-01 10:47:24 +08:00
* Mon Aug 01 2022 tanyulong <tanyulong@kylinos.cn> - 1.2.1-5
- add window icon
2022-04-02 17:12:10 +08:00
* 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
2021-10-20 16:46:39 +08:00
* Wed Oct 20 2021 douyan <douyan@kylinos.cn> - 1.2.1-2
- modify spec file
2020-11-03 14:07:55 +08:00
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 1.2.1-1
- update to upstream version 1.2.1-1
2020-07-09 09:40:43 +08:00
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 1.2.0-1
2021-10-20 16:46:39 +08:00
- Init package for openEuler