!1 First submission of source code
From: @tangjie02 Reviewed-by: @doudou19 Signed-off-by: @doudou19
This commit is contained in:
commit
111c06ded3
BIN
kiran-log-2.1.1.tar.gz
Normal file
BIN
kiran-log-2.1.1.tar.gz
Normal file
Binary file not shown.
110
kiran-log.spec
Normal file
110
kiran-log.spec
Normal file
@ -0,0 +1,110 @@
|
||||
Name: kiran-log
|
||||
Version: 2.1.1
|
||||
Release: 2
|
||||
Summary: kiran log out library
|
||||
Summary(zh_CN): kiran桌面日志输出库
|
||||
|
||||
License: Mulan PSL v2
|
||||
#URL:
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake >= 3.8
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gtest-devel
|
||||
BuildRequires: zlog
|
||||
|
||||
%description
|
||||
Kiran log out library
|
||||
|
||||
%package qt5
|
||||
Summary: kiran log out library for qt5
|
||||
Summary(zh_CN): kiran桌面Qt5日志输出库
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
Requires: qt5-qtbase
|
||||
%description qt5
|
||||
%{summary}.
|
||||
|
||||
%package qt5-devel
|
||||
Summary: kiran log out library for qt5 develop headers
|
||||
Summary(zh_CN): kiran桌面Qt5日志输出库开发头文件
|
||||
Requires: %{name}-qt5%{?_isa} = %{version}-%{release}
|
||||
%description qt5-devel
|
||||
%{summary}.
|
||||
|
||||
%package gtk3
|
||||
Summary: kiran log out library for gtk3
|
||||
Summary(zh_CN): kiran桌面gtk3日志输出库
|
||||
BuildRequires: pkgconfig(glibmm-2.4)
|
||||
Requires: glibmm24
|
||||
%description gtk3
|
||||
%{summary}.
|
||||
|
||||
%package gtk3-devel
|
||||
Summary: kiran log out library for gtk3 develop headers
|
||||
Summary(zh_CN): kiran桌面gtk3日志输出库开发头文件
|
||||
Requires: %{name}-gtk3%{?_isa} = %{version}-%{release}
|
||||
%description gtk3-devel
|
||||
%{summary}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%{__mkdir} -p %{buildroot}
|
||||
%cmake -DENABLE_ZLOG_EX:BOOL=OFF
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%files qt5
|
||||
%{_libdir}/libklog-qt5.so.1*
|
||||
|
||||
%files gtk3
|
||||
%{_libdir}/libklog-gtk3.so.1*
|
||||
|
||||
%files qt5-devel
|
||||
%{_libdir}/libklog-qt5.so
|
||||
%{_includedir}/kiran-log/qt5*
|
||||
%{_libdir}/pkgconfig/klog-qt5.pc
|
||||
|
||||
%files gtk3-devel
|
||||
%{_libdir}/libklog-gtk3.so
|
||||
%{_includedir}/kiran-log/gtk3*
|
||||
%{_libdir}/pkgconfig/klog-gtk3.pc
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%changelog
|
||||
* Mon Oct 18 2021 xiewenhao <xiewenhao@kylinos.com.cn> - 2.1.1-2
|
||||
- KYOS-B: rebuild for KiranUI-2.1-OE (#43502)
|
||||
|
||||
* Tue Aug 03 2021 tangjie02 <tangjie02@kylinos.com.cn> - 2.1.1-1.ky3
|
||||
- KYOS-F: Modify the license to Mulan PSL v2.
|
||||
|
||||
* Mon Jul 05 2021 tangjie02 <tangjie02@kylinos.com.cn> - 2.1.0-1.ky3
|
||||
- KYOS-F: Add LICENSE and compatible upstream zlog version.
|
||||
|
||||
* Fri Jun 04 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 1.0.4-2.ky3
|
||||
- KYOS-B: delete useless log output macro definition.
|
||||
|
||||
* Fri Jun 04 2021 tangjie02 <tangjie02@kylinos.com.cn> - 1.0.4-1.ky3
|
||||
- KYOS-B: Fix the name error that rename glibmm-2.4 to glibmm24.
|
||||
|
||||
* Mon May 24 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 1.0.3
|
||||
- KYOS-F: add log library for gtk3
|
||||
- KYOS-F: all QT5 log output is turned on by default and filtered by zlog
|
||||
|
||||
* Fri May 21 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 1.0.2
|
||||
- KYOS-B: fix the problem of not adding parameters to the project name during log initialization
|
||||
- KYOS-B: fix incorrect macro usage in development header file
|
||||
|
||||
* Thu May 13 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 1.0.1
|
||||
- KYOS-B: add the dependent zlog and QT related header files into the development header file
|
||||
|
||||
* Sat May 08 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 1.0.0-1
|
||||
- KYOS-B: fix log library initialization detection failed,zlog configuration file name error
|
||||
|
||||
* Fri Apr 30 2021 liuxinhao <liuxinhao@kylinos.com.cn> - 1.0.0
|
||||
- Initial build
|
||||
Loading…
x
Reference in New Issue
Block a user