!15 添加zlog.conf文件并增加dzlog_init_ex函数
From: @tangjie02 Reviewed-by: @liubuguiii Signed-off-by: @liubuguiii
This commit is contained in:
commit
472725fc5d
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,23 +1,18 @@
|
|||||||
%global ky3_2 0
|
%global ky3_2 0
|
||||||
|
|
||||||
Name: kiran-log
|
Name: kiran-log
|
||||||
Version: 2.2.2
|
Version: 2.4.0
|
||||||
Release: 1.kb1
|
Release: 1
|
||||||
Summary: kiran log out library
|
Summary: kiran log out library
|
||||||
Summary(zh_CN): kiran桌面日志输出库
|
Summary(zh_CN): kiran桌面日志输出库
|
||||||
|
|
||||||
License: Mulan PSL v2
|
License: MulanPSL-2.0
|
||||||
#URL:
|
#URL:
|
||||||
Source0: %{name}-%{version}.tar.gz
|
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,12 @@ 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
|
||||||
|
- KYOS-F: Modify license.
|
||||||
|
|
||||||
* Sat Feb 19 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.2.1-2.kb1
|
* Sat Feb 19 2022 tangjie02 <tangjie02@kylinsec.com.cn> - 2.2.1-2.kb1
|
||||||
- KYOS-B: Fix compile error on openeuler.
|
- KYOS-B: Fix compile error on openeuler.
|
||||||
|
|
||||||
|
|||||||
4
kiran-log.yaml
Normal file
4
kiran-log.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: gitee
|
||||||
|
src_repo: https://gitee.com/openeuler/kiran-log.git
|
||||||
|
tag_prefix: "v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user