kiran-authentication-devices/kiran-authentication-devices.spec
2023-09-07 17:46:17 +08:00

109 lines
3.7 KiB
RPMSpec
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: kiran-authentication-devices
Version: 2.5.2
Release: 2
Summary: Kiran Authentication Devices
License: MulanPSL-2.0
Source0: %{name}-%{version}.tar.gz
Patch0001: 0001-fix-kiran-authentication-devices-fix-QUuid-WithoutBr.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-linguist
BuildRequires: kiran-log-qt5-devel
BuildRequires: systemd-devel
Requires: qt5-qtbase
Requires: kiran-log-qt5
Requires: systemd
Requires: libusb
%description
Manage authentication devices
%package devel
Summary: Development files for kiran authentication devices
Requires: %{name} = %{version}-%{release}
%description devel
Development files for kiran authentication devices
%prep
%autosetup -p1
%build
%cmake
make %{?_smp_mflags}
%install
%make_install
%post
%systemd_post kiran-authentication-devices.service
systemctl enable kiran-authentication-devices.service
%preun
%systemd_preun kiran-authentication-devices.service
%files
%{_bindir}/kiran-authentication-devices
%{_bindir}/kiran-ukey-manager
%{_datadir}/kiran-authentication-devices/translations/*.qm
%{_datadir}/dbus-1/system-services/com.kylinsec.Kiran.AuthDevice.service
%{_sysconfdir}/dbus-1/system.d/com.kylinsec.Kiran.AuthDevice.Device.conf
%{_sysconfdir}/dbus-1/system.d/com.kylinsec.Kiran.AuthDevice.conf
%{_sysconfdir}/kiran-authentication-devices/driver.conf
%{_sysconfdir}/kiran-authentication-devices/device.conf
%{_sysconfdir}/kiran-authentication-devices/ukey-manager.conf
%{_usr}/lib/systemd/system/kiran-authentication-devices.service
%files devel
%{_includedir}/kiran-authentication-devices/kiran-auth-device-i.h
%clean
rm -rf ${buildroot}
%changelog
* Thu Sep 7 2023 yinhongchang <yinhongchang@kylinsec.com.cn> - 2.5.2-2
- KYOS-F: fix QUuid::WithoutBraces for qt low version
* Wed Jun 28 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.2-1
- KYOS-F: Fixed an issue where fish's UKey device could not Verify on arm machines
- KYOS-F: Remove the context class;
- KYOS-F: ConfigHelper is responsible for obtaining device configuration information based on the id, and DeviceCreator is responsible for creating the device
- KYOS-F: After the vid and pid are obtained, the configuration file is read. The driver name in the configuration file can generate the specific driver object and device object
* Fri Jun 16 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.1-5
- KYOS-F: Fix the issue of duplicate binding of the same UKey device (#I78P3F)
* Fri Jun 2 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.1-4
- KYOS-F: Fix the issue of not obtaining features from the database when deviceSerialNumber is empty
* Fri Jun 2 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.1-3
- KYOS-F: Fix the issue where only one ukey can be bound to a device, some self-test bugs.(#I78P3F)
* Wed May 24 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.1-2
- KYOS-F: fix compilation issues with std:: function in lower versions.
* Wed May 24 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.1-1
- KYOS-F: add Ukey management tool.
- KYOS-F: added iristar device , supporting iris and facial enroll and identify.
- KYOS-F: fix some defects.
* Fri Apr 21 2023 wangyucheng <wangyucheng@kylinsec.com.cn> - 2.5.0-5
- KYOS-F: fix ld error: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'.
* Fri Apr 21 2023 wangyucheng <wangyucheng@kylinsec.com.cn> - 2.5.0-4
- KYOS-F: qt5 cmake command compatible.
* Thu Apr 20 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.0-3
- KYOS-F: Add libusb dependency.
* Wed Apr 19 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.0-2
- KYOS-F: The UKey device is adapted.
* Mon Apr 03 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.0-1
- Inital build