2022-01-25 14:05:15 +08:00
|
|
|
|
%global on_openeuler 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: kiran-biometrics
|
2022-10-28 14:36:08 +08:00
|
|
|
|
Version: 0.0.3
|
2023-04-10 09:56:44 +08:00
|
|
|
|
Release: 3
|
2022-01-25 14:05:15 +08:00
|
|
|
|
Summary: Kiran Desktop kiran-biometrics
|
2022-08-10 11:08:40 +08:00
|
|
|
|
License: MulanPSL-2.0
|
2022-01-25 14:05:15 +08:00
|
|
|
|
URL: http://www.kylinsec.com.cn
|
|
|
|
|
|
|
|
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
2023-03-01 09:56:45 +08:00
|
|
|
|
Patch0: 0001-fix-kiran-biometrics-Modify-the-log-information-leve.patch
|
2023-04-10 09:56:44 +08:00
|
|
|
|
Patch1: 0002-fix-translate-add-some-translation.patch
|
2022-01-25 14:05:15 +08:00
|
|
|
|
|
|
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
|
|
BuildRequires: dbus-glib-devel
|
|
|
|
|
|
%if 0%{?on_openeuler}
|
|
|
|
|
|
#BuildRequires: fingerprint-sdk-devel
|
|
|
|
|
|
%else
|
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
|
BuildRequires: fingerprint-sdk-devel
|
|
|
|
|
|
%endif
|
|
|
|
|
|
%endif
|
|
|
|
|
|
%if 0%{?on_openeuler}
|
|
|
|
|
|
BuildRequires: zlog
|
|
|
|
|
|
%else
|
|
|
|
|
|
BuildRequires: zlog-devel
|
|
|
|
|
|
%endif
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
|
|
BuildRequires: kiran-cc-daemon-devel
|
|
|
|
|
|
#BuildRequires: opencv-glib-devel
|
|
|
|
|
|
#BuildRequires: zeromq-devel
|
|
|
|
|
|
BuildRequires: json-glib-devel
|
|
|
|
|
|
BuildRequires: dbus-glib-devel
|
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
|
|
|
|
|
|
|
#Requires: facematch
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
|
Kiran Biometrics is used do fprint and face auth for system.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
|
Summary: Development files for kiran biometrics
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
|
Development files for kiran-biometrics
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
mkdir build
|
|
|
|
|
|
cd build
|
|
|
|
|
|
%cmake -DCMAKE_INSTALL_PREFIX=/usr ..
|
|
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
|
cd build
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
|
%{_libexecdir}/kiran_biometrics_manager
|
|
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/kiran_biometrics.conf
|
|
|
|
|
|
%{_datadir}/dbus-1/system-services/com.kylinsec.Kiran.SystemDaemon.Biometrics.service
|
|
|
|
|
|
%{_sysconfdir}/kiran-biometrics/settings.conf
|
|
|
|
|
|
%{_datadir}/locale/zh_CN/LC_MESSAGES/kiran-biometrics.mo
|
2023-04-10 09:56:44 +08:00
|
|
|
|
%{_datadir}/locale/bo_CN/LC_MESSAGES/kiran-biometrics.mo
|
|
|
|
|
|
%{_datadir}/locale/kk_KG/LC_MESSAGES/kiran-biometrics.mo
|
|
|
|
|
|
%{_datadir}/locale/kk_KZ/LC_MESSAGES/kiran-biometrics.mo
|
|
|
|
|
|
%{_datadir}/locale/mn_MN/LC_MESSAGES/kiran-biometrics.mo
|
|
|
|
|
|
%{_datadir}/locale/ug_CN/LC_MESSAGES/kiran-biometrics.mo
|
2022-01-25 14:05:15 +08:00
|
|
|
|
%{_prefix}/lib/systemd/system/kiran-system-daemon-biometrics.service
|
|
|
|
|
|
%if 0%{?on_openeuler}
|
|
|
|
|
|
#%{_libdir}/kiran-fprint-modules/libkiran_arat_fingerprint.so
|
|
|
|
|
|
#%{_libdir}/kiran-fprint-modules/libkiran_zk_fingerprint.so
|
|
|
|
|
|
%else
|
|
|
|
|
|
%ifarch x86_64
|
|
|
|
|
|
%{_libdir}/kiran-fprint-modules/libkiran_arat_fingerprint.so
|
|
|
|
|
|
%{_libdir}/kiran-fprint-modules/libkiran_zk_fingerprint.so
|
|
|
|
|
|
%endif
|
|
|
|
|
|
%endif
|
|
|
|
|
|
%{_libdir}/security/pam_kiran_fprintd.so
|
|
|
|
|
|
%{_libdir}/security/pam_kiran_authmode.so
|
|
|
|
|
|
#%{_libdir}/security/pam_kiran_face.so
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
%{_includedir}/kiran-pam-msg.h
|
|
|
|
|
|
%{_includedir}/kiran-fprint-module.h
|
|
|
|
|
|
%{_includedir}/kiran-biometrics/kiran-biometrics-i.h
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2023-04-10 09:56:44 +08:00
|
|
|
|
* Mon Apr 10 2023 wangyucheng <wangyucheng@kylinsec.om.cn> - 0.0.3-3
|
|
|
|
|
|
- KYOS-T: add some translation
|
|
|
|
|
|
|
2023-03-01 09:56:45 +08:00
|
|
|
|
* Wed Mar 01 2023 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 0.0.3-2
|
|
|
|
|
|
- KYOS-B: Modify the log information level of zlog initialization failure to debug.
|
|
|
|
|
|
|
2022-10-28 14:36:08 +08:00
|
|
|
|
* Thu Oct 27 2022 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 0.0.3-1
|
|
|
|
|
|
- KYOS-B: Do not exit when zlog init failed.
|
|
|
|
|
|
|
2022-08-10 11:08:40 +08:00
|
|
|
|
* Wed Aug 10 2022 luoqing <luoqing@kylinsec.com.cn> - 0.0.2-2.kb4
|
|
|
|
|
|
- KYOS-F: Modify license and add yaml file.
|
|
|
|
|
|
|
2022-01-25 14:05:15 +08:00
|
|
|
|
* Tue Jan 25 2022 longcheng <longcheng@kylinos.com.cn> - 0.0.2-2.kb3
|
|
|
|
|
|
- KYOS-B: remove BuildRequires: fingerprint-sdk-devel in openeuler
|
|
|
|
|
|
- KYOS-F:Add the enable zlog ex macro for zlog.
|
|
|
|
|
|
- KYOS-B: Add BuildRequires: gcc-c++ in openeuler
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Jan 24 2022 wxq <wangxiaoqing@kylinos.com.cn> - 0.0.2-2.kb2
|
|
|
|
|
|
- KYOS-F: Add the Mulan license.
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 29 2021 kpkg <kpkg@kylinos.com.cn> - 0.0.2-2.kb1
|
|
|
|
|
|
- rebuild for KY3.4-MATE-modules-dev
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 29 2021 caoyuanji<caoyuanji@kylinos.com.cn> - 0.0.2-2
|
|
|
|
|
|
- Upgrade version number for easy upgrade
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 20 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 0.0.2-1.kb3
|
|
|
|
|
|
- rebuild for KY3.4-4-KiranUI-2.2
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 20 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 0.0.2-1.kb2
|
|
|
|
|
|
- rebuild for KY3.4-4-KiranUI-2.2
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 20 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 0.0.2-1.kb1
|
|
|
|
|
|
- rebuild for KY3.4-4-KiranUI-2.2
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 23 2021 wxq <wangxiaoqing@kylinos.com.cn> - 0.0.2-1
|
|
|
|
|
|
- KYOS-F: update to 0.0.2 (#35700)
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Mar 27 2021 wxq <wangxiaoqing@kylinos.com.cn> - 0.0.1
|
|
|
|
|
|
- KYOS-F: add the face and fprint auth.(#35700)
|