93 lines
2.7 KiB
RPMSpec
93 lines
2.7 KiB
RPMSpec
%global on_openeuler 1
|
|
|
|
Name: kiran-authentication-service
|
|
Version: 0.0.2
|
|
Release: 1
|
|
Summary: Kiran Desktop kiran authentication service
|
|
License: MulanPSL-2.0
|
|
URL: http://www.kylinsec.com.cn
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: glib2-devel
|
|
%if 0%{?on_openeuler}
|
|
BuildRequires: zlog
|
|
%else
|
|
BuildRequires: zlog-devel
|
|
%endif
|
|
BuildRequires: cmake
|
|
BuildRequires: make
|
|
BuildRequires: pam-devel
|
|
BuildRequires: kiran-cc-daemon-devel
|
|
BuildRequires: openssl-devel
|
|
BuildRequires: json-glib-devel
|
|
BuildRequires: gcc
|
|
BuildRequires: gcc-c++
|
|
|
|
%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
|
|
|
|
%cmake
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%{_libexecdir}/kiran_authentication_service
|
|
%{_sysconfdir}/dbus-1/system.d/kiran_authentication.conf
|
|
%{_sysconfdir}/kiran-authentication-service/custom.conf
|
|
%{_sysconfdir}/pam.d/kiran-auth-service
|
|
%{_datadir}/dbus-1/system-services/com.kylinsec.Kiran.SystemDaemon.Authentication.service
|
|
%{_prefix}/lib/systemd/system/kiran-system-daemon-authentication.service
|
|
%{_libdir}/libkiran-authentication-service.so.0.0.1
|
|
%{_libdir}/libkiran-authentication-service.so.0.1
|
|
%{_libdir}/security/pam_kiran_authentication.so
|
|
%{_datadir}/locale/zh_CN/LC_MESSAGES/kiran-authentication-service.mo
|
|
|
|
|
|
%files devel
|
|
%{_includedir}/kiran-authentication-service/authentication_i.h
|
|
%{_libdir}/pkgconfig/kiran-authentication-service.pc
|
|
%{_libdir}/libkiran-authentication-service.so
|
|
|
|
%changelog
|
|
* 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)
|