Compare commits

..

No commits in common. "aea2ae6a911860d90e07fb34f354cd0626c2c8b0" and "9e72e8421cdfd86f41eebdf2c5d3e5df31817219" have entirely different histories.

5 changed files with 23 additions and 96 deletions

View File

@ -1,24 +0,0 @@
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.

Binary file not shown.

View File

@ -1,17 +1,18 @@
%define debug_package %{nil}
Name: ukui-biometric-auth
Summary: ukui-biometric-auth
Version: 1.2.4
Release: 2
Version: 1.2.1
Release: 1
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 opencv qt5-qtsvg-devel glib2-devel gsettings-qt-devel
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
Patch1: 0001-fix-build-compile-error.patch
%description
ukui-biometric-auth
@ -41,87 +42,43 @@ biometric-auth package.
%prep
%setup -q
if [ -e "/usr/include/glib-2.0/gio/gunixfdlist.h" ]; then
%patch1 -p1
fi
%build
mkdir build
cd build
%cmake ..
%{make_build}
cmake ..
make
%install
cd build
%{make_install} DESTDIR=$RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%preun -n libpam-biometric
#pam-auth-update --package --remove pam-biometric
pam-auth-update --package --remove pam-biometric
%post -n libpam-biometric
#pam-auth-update --package
pam-auth-update --package
%files -n libpam-biometric
%{_sysconfdir}/biometric-auth/ukui-biometric.conf
/etc/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
/usr/bin/*
/usr/share/pam-configs/*
/usr/share/polkit-1/actions/*.policy
/usr/share/ukui-biometric/images/
/usr/share/ukui-biometric/i18n_qm/*.qm
/usr/share/ukui-biometric/i18n_qm/bioauth-bin/*.qm
%files -n ukui-polkit
%{_sysconfdir}/xdg/*
%{_prefix}/lib/ukui-polkit
%{_prefix}/share/ukui-biometric/i18n_qm/polkit/*.qm
/etc/xdg/*
/usr/lib/*
/usr/share/ukui-biometric/i18n_qm/polkit/*.qm
%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
- update to upstream version 1.2.1-1
* Thu Jul 9 2020 douyan <douyan@kylinos.cn> - 1.2.0-1
- Init package for openEuler
- Init package for openEuler

View File

@ -1,6 +0,0 @@
version_control: github
src_repo: UKUI/ukui-biometric-auth
tag_prefix: "^v"
seperator: "."