118 lines
4.3 KiB
RPMSpec
118 lines
4.3 KiB
RPMSpec
Name: kiran-authentication-service
|
|
Version: 2.5.0
|
|
Release: 3
|
|
Summary: Kiran Desktop kiran authentication service
|
|
License: MulanPSL-2.0
|
|
URL: http://www.kylinsec.com.cn
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
Patch0001: 0001-fix-translate-add-some-translation.patch
|
|
Patch0002: 0002-fix-cmake-qt5-cmake-command-compatible.patch
|
|
|
|
BuildRequires: systemd
|
|
BuildRequires: systemd-devel
|
|
BuildRequires: gcc
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: cmake
|
|
BuildRequires: make
|
|
BuildRequires: pam-devel
|
|
BuildRequires: qt5-qtbase-devel
|
|
BuildRequires: qt5-linguist
|
|
BuildRequires: kiran-log-qt5-devel
|
|
BuildRequires: kiran-cc-daemon-devel
|
|
BuildRequires: kiran-authentication-devices-devel
|
|
|
|
Requires: pam
|
|
Requires: qt5-qtbase
|
|
Requires: kiran-log-qt5
|
|
Requires: kiran-system-daemon
|
|
Requires: kiran-session-daemon
|
|
Requires: kiran-control-panel
|
|
Requires: kiran-authentication-devices
|
|
|
|
%description
|
|
Kiran authentication service is used to do system auth with password, fingerprint, face
|
|
|
|
%package devel
|
|
Summary: Development files for kiran authentication service
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Development files for kiran authentication service
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%{__mkdir} -p %{buildroot}
|
|
%cmake
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%{_datadir}/polkit-1/actions/com.kylinsec.Kiran.Authentication.policy
|
|
%{_sysconfdir}/dbus-1/system.d/com.kylinsec.Kiran.Authentication.conf
|
|
%{_datadir}/dbus-1/system-services/com.kylinsec.Kiran.Authentication.service
|
|
%{_prefix}/lib/systemd/system/kiran-authentication-daemon.service
|
|
%{_sysconfdir}/kiran-authentication-service/kad.ini
|
|
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.zh_CN.qm
|
|
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.bo_CN.qm
|
|
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.kk_KZ.qm
|
|
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.ky_KG.qm
|
|
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.mn_MN.qm
|
|
%{_datadir}/kiran-authentication-service/translations/kiran-authentication-daemon.ug_CN.qm
|
|
%{_bindir}/kiran-authentication-daemon
|
|
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.zh_CN.qm
|
|
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.bo_CN.qm
|
|
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.kk_KZ.qm
|
|
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.ky_KG.qm
|
|
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.mn_MN.qm
|
|
%{_datadir}/kiran-authentication-service/translations/pam_kiran_authentication.ug_CN.qm
|
|
%{_libdir}/security/pam_kiran_authentication.so
|
|
|
|
%files devel
|
|
%{_includedir}/kiran-authentication-service/kas-authentication-i.h
|
|
|
|
%changelog
|
|
* Fri Apr 21 2023 wangyucheng <wangyucheng@kylinsec.om.cn> - 2.5.0-3
|
|
- KYOS-F: qt5 cmake command compatible.
|
|
|
|
* Sat Apr 08 2023 wangyucheng <wangyucheng@kylinsec.om.cn> - 2.5.0-2
|
|
- KYOS-T: add some translation
|
|
|
|
* Tue Apr 04 2023 liuxinhao <liuxinhao@kylinsec.com.cn> - 2.5.0-1
|
|
- KYOS-F: New version authentication service
|
|
|
|
* Wed Mar 01 2023 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 0.0.2-2
|
|
- KYOS-B: Modify the log information level of zlog initialization failure to debug.
|
|
|
|
* Thu Oct 27 2022 wangxiaoqing <wangxiaoqing@kylinsec.com.cn> - 0.0.2-1
|
|
- KYOS-B: Do not exit when zlog init failed.
|
|
|
|
* Wed Aug 10 2022 luoqing <luoqing@kylinsec.com.cn> - 0.0.1-2.kb4
|
|
- KYOS-F: Modify license and add yaml file.
|
|
|
|
* Tue Jan 25 2022 wxq <wangxiaoqing@kylinos.com.cn> - 0.0.1-2.kb3
|
|
- KYOS-B: Add the enable zlog ex macro for zlog.
|
|
|
|
* Mon Jan 24 2022 wxq <wangxiaoqing@kylinos.com.cn> - 0.0.1-2.kb2
|
|
- KYOS-F: Add the requires for develop package.
|
|
|
|
* Wed Dec 29 2021 kpkg <kpkg@kylinos.com.cn> - 0.0.1-2.kb1
|
|
- rebuild for KY3.4-MATE-modules-dev
|
|
|
|
* Wed Dec 29 2021 caoyuanji<caoyuanji@kylinos.com.cn> - 0.0.1-2
|
|
- Upgrade version number for easy upgrade
|
|
|
|
* Fri Dec 24 2021 caoyuanji <caoyuanji@kylinos.com.cn> - 0.0.1-1.kb6
|
|
- rebuild for KY3.4-4-KiranUI-2.2
|
|
|
|
* Thu Dec 23 2021 wxq <wangxiaoqing@kylinos.com.cn> - 0.0.1.kb5
|
|
- KYOS-B: Add the requires for develop package.
|
|
|
|
* Tue Aug 24 2021 wxq <wangxiaoqing@kylinos.com.cn> - 0.0.1
|
|
- KYOS-F: build 0.0.1 version. (#38334)
|