diff --git a/kiran-authentication-devices-2.5.0.tar.gz b/kiran-authentication-devices-2.5.0.tar.gz new file mode 100644 index 0000000..b043da5 Binary files /dev/null and b/kiran-authentication-devices-2.5.0.tar.gz differ diff --git a/kiran-authentication-devices.spec b/kiran-authentication-devices.spec new file mode 100644 index 0000000..4deffa0 --- /dev/null +++ b/kiran-authentication-devices.spec @@ -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 - 2.5.0-1 +- Inital build diff --git a/kiran-authentication-devices.yaml b/kiran-authentication-devices.yaml new file mode 100644 index 0000000..41f974b --- /dev/null +++ b/kiran-authentication-devices.yaml @@ -0,0 +1,4 @@ +version_control: gitee +src_repo: https://gitee.com/openeuler/kiran-authentication-devices.git +tag_prefix: "v" +seperator: "."