feature(zlog): Add zlog.conf file and dzlog_init_ex function to this project.
- 对dzlog_init进行封装,支持在zlog.conf中使用PROJECT_NAME和PROGRAM_NAME变量 - 添加zlog.conf文件 Signed-off-by: tangjie02 <tangjie02@kylinsec.com.cn>
This commit is contained in:
parent
775428e8af
commit
7b8591d7cd
Binary file not shown.
BIN
kiran-log-2.4.0.tar.gz
Normal file
BIN
kiran-log-2.4.0.tar.gz
Normal file
Binary file not shown.
@ -1,8 +1,8 @@
|
|||||||
%global ky3_2 0
|
%global ky3_2 0
|
||||||
|
|
||||||
Name: kiran-log
|
Name: kiran-log
|
||||||
Version: 2.2.2
|
Version: 2.4.0
|
||||||
Release: 3
|
Release: 1
|
||||||
Summary: kiran log out library
|
Summary: kiran log out library
|
||||||
Summary(zh_CN): kiran桌面日志输出库
|
Summary(zh_CN): kiran桌面日志输出库
|
||||||
|
|
||||||
@ -12,12 +12,7 @@ Source0: %{name}-%{version}.tar.gz
|
|||||||
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
|
||||||
%if 0%{?kylin}
|
|
||||||
BuildRequires: zlog-devel
|
|
||||||
%else
|
|
||||||
BuildRequires: zlog
|
BuildRequires: zlog
|
||||||
%endif
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -29,6 +24,7 @@ Summary(zh_CN): kiran桌面Qt5日志输出库
|
|||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
Requires: qt5-qtbase
|
Requires: qt5-qtbase
|
||||||
Requires: zlog
|
Requires: zlog
|
||||||
|
Requires: %{name}
|
||||||
%description qt5
|
%description qt5
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
@ -45,6 +41,7 @@ Summary(zh_CN): kiran桌面gtk3日志输出库
|
|||||||
BuildRequires: pkgconfig(glibmm-2.4)
|
BuildRequires: pkgconfig(glibmm-2.4)
|
||||||
Requires: glibmm24
|
Requires: glibmm24
|
||||||
Requires: zlog
|
Requires: zlog
|
||||||
|
Requires: %{name}
|
||||||
%description gtk3
|
%description gtk3
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
@ -75,6 +72,9 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_sysconfdir}/kiran-log/zlog.conf
|
||||||
|
|
||||||
%files qt5
|
%files qt5
|
||||||
%{_libdir}/libklog-qt5.so.2*
|
%{_libdir}/libklog-qt5.so.2*
|
||||||
|
|
||||||
@ -95,6 +95,9 @@ make %{?_smp_mflags}
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 26 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.4.0-1
|
||||||
|
- KYOS-F: Add zlog.conf file and dzlog_init_ex function to this project.
|
||||||
|
|
||||||
* Wed Aug 10 2022 luoqing <luoqing@kylinsec.com.cn> - 2.2.2-3
|
* Wed Aug 10 2022 luoqing <luoqing@kylinsec.com.cn> - 2.2.2-3
|
||||||
- KYOS-F: Modify license.
|
- KYOS-F: Modify license.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user