Initial build

This commit is contained in:
luoqing 2023-03-29 17:09:20 +08:00
parent 1641f8aec5
commit 7fc9843b29
3 changed files with 69 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,65 @@
Name: kiran-authentication-devices
Version: 2.5.0
Release: 1
Summary: Kiran Authentication Devices
License: MulanPSL-2.0
Source0: %{name}-%{version}.tar.gz
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
%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
%{_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/drivers.conf
%{_sysconfdir}/kiran-authentication-devices/third-party-devices.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
* Mon Apr 03 2023 luoqing <luoqing@kylinsec.com.cn> - 2.5.0-1
- Inital build

View File

@ -0,0 +1,4 @@
version_control: gitee
src_repo: https://gitee.com/openeuler/kiran-authentication-devices.git
tag_prefix: "v"
seperator: "."