Compare commits
11 Commits
9e72e8421c
...
aea2ae6a91
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aea2ae6a91 | ||
|
|
db67e1fd81 | ||
|
|
c5330890ea | ||
|
|
9c6f557a89 | ||
|
|
0d4054889c | ||
|
|
f8c0f55788 | ||
|
|
ed9255001e | ||
|
|
34be6ed374 | ||
|
|
0403ca6728 | ||
|
|
1e1b5ec9fc | ||
|
|
25d42e0dff |
24
0001-fix-build-compile-error.patch
Normal file
24
0001-fix-build-compile-error.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From 20f3e8fa4cf4ad8f7ed9ac3ababa16e4e588dd27 Mon Sep 17 00:00:00 2001
|
||||||
|
From: huayadong <huayadong@kylinos.cn>
|
||||||
|
Date: Wed, 24 May 2023 09:24:49 +0800
|
||||||
|
Subject: [PATCH] fix build compile error
|
||||||
|
|
||||||
|
---
|
||||||
|
bioauth/src/giodbus.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/bioauth/src/giodbus.cpp b/bioauth/src/giodbus.cpp
|
||||||
|
index c7983ae..cf8ee02 100644
|
||||||
|
--- a/bioauth/src/giodbus.cpp
|
||||||
|
+++ b/bioauth/src/giodbus.cpp
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
#include "giodbus.h"
|
||||||
|
#include <gio/gio.h>
|
||||||
|
-#include <gio-unix-2.0/gio/gunixfdlist.h>
|
||||||
|
+#include <glib-2.0/gio/gunixfdlist.h>
|
||||||
|
#include <glib.h>
|
||||||
|
|
||||||
|
int get_server_gvariant_stdout (int drvid)
|
||||||
|
--
|
||||||
|
2.36.1
|
||||||
|
|
||||||
Binary file not shown.
BIN
ukui-biometric-auth-1.2.4.tar.gz
Normal file
BIN
ukui-biometric-auth-1.2.4.tar.gz
Normal file
Binary file not shown.
@ -1,18 +1,17 @@
|
|||||||
|
|
||||||
%define debug_package %{nil}
|
|
||||||
|
|
||||||
Name: ukui-biometric-auth
|
Name: ukui-biometric-auth
|
||||||
Summary: ukui-biometric-auth
|
Summary: ukui-biometric-auth
|
||||||
Version: 1.2.1
|
Version: 1.2.4
|
||||||
Release: 1
|
Release: 2
|
||||||
|
|
||||||
License: GPL-3+
|
License: GPL-3+
|
||||||
URL: https://github.com/ukui/ukui-biometric-auth
|
URL: https://github.com/ukui/ukui-biometric-auth
|
||||||
Source0: %{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: cmake qt5-qtbase-devel pam-devel polkit-qt5-1-devel qt5-qttools-devel pkg-config
|
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
|
||||||
Requires: 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
|
||||||
|
|
||||||
|
Patch1: 0001-fix-build-compile-error.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
ukui-biometric-auth
|
ukui-biometric-auth
|
||||||
|
|
||||||
@ -42,41 +41,85 @@ biometric-auth package.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
if [ -e "/usr/include/glib-2.0/gio/gunixfdlist.h" ]; then
|
||||||
|
%patch1 -p1
|
||||||
|
fi
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
%cmake ..
|
||||||
make
|
%{make_build}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
cd build
|
cd build
|
||||||
make DESTDIR=$RPM_BUILD_ROOT install
|
%{make_install} DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
%preun -n libpam-biometric
|
%preun -n libpam-biometric
|
||||||
pam-auth-update --package --remove pam-biometric
|
#pam-auth-update --package --remove pam-biometric
|
||||||
|
|
||||||
%post -n libpam-biometric
|
%post -n libpam-biometric
|
||||||
pam-auth-update --package
|
#pam-auth-update --package
|
||||||
|
|
||||||
%files -n libpam-biometric
|
%files -n libpam-biometric
|
||||||
/etc/biometric-auth/ukui-biometric.conf
|
%{_sysconfdir}/biometric-auth/ukui-biometric.conf
|
||||||
/lib/security/*
|
/lib/security/*
|
||||||
/usr/bin/*
|
%{_bindir}/*
|
||||||
/usr/share/pam-configs/*
|
%{_datadir}/pam-configs/*
|
||||||
/usr/share/polkit-1/actions/*.policy
|
%{_datadir}/polkit-1/actions/*.policy
|
||||||
/usr/share/ukui-biometric/images/
|
%{_datadir}/ukui-biometric/images/
|
||||||
/usr/share/ukui-biometric/i18n_qm/*.qm
|
%{_datadir}/ukui-biometric/i18n_qm/*.qm
|
||||||
/usr/share/ukui-biometric/i18n_qm/bioauth-bin/*.qm
|
%{_datadir}/ukui-biometric/i18n_qm/bioauth-bin/*.qm
|
||||||
|
|
||||||
%files -n ukui-polkit
|
%files -n ukui-polkit
|
||||||
/etc/xdg/*
|
%{_sysconfdir}/xdg/*
|
||||||
/usr/lib/*
|
%{_prefix}/lib/ukui-polkit
|
||||||
/usr/share/ukui-biometric/i18n_qm/polkit/*.qm
|
%{_prefix}/share/ukui-biometric/i18n_qm/polkit/*.qm
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu May 25 2023 peijiankang <peijiankang@kylinos.cn> - 1.2.4-2
|
||||||
|
- update glib2 error
|
||||||
|
|
||||||
|
* Mon May 22 2023 huayadong <huayadong@kylinos.cn> - 1.2.4-1
|
||||||
|
- update to upstream version 1.2.4-1
|
||||||
|
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* 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
|
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 1.2.1-1
|
||||||
- update to upstream version 1.2.1-1
|
- update to upstream version 1.2.1-1
|
||||||
|
|
||||||
|
|||||||
6
ukui-biometric-auth.yaml
Normal file
6
ukui-biometric-auth.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: UKUI/ukui-biometric-auth
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user