Compare commits

..

No commits in common. "d51a9f42d3bb34bfb8d0929d2aac96e5454d8c6d" and "7250cabbc7d46160d3d5f45215e4b92e25ad05ed" have entirely different histories.

4 changed files with 7 additions and 33 deletions

BIN
log4cplus-2.0.5.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,19 +1,12 @@
%define git_version %(echo %{version} | sed -e 's/\\./_/g')
Name: log4cplus Name: log4cplus
Version: 2.1.0 Version: 2.0.5
Release: 1 Release: 2
Summary: simple logging API by using C++ Summary: simple logging API by using C++
License: BSD-2-Clause and BSL-1.0 and Apache-2.0 License: BSD
URL: https://sourceforge.net/projects/log4cplus URL: https://sourceforge.net/projects/log4cplus
Source0: https://github.com/log4cplus/log4cplus/releases/download/REL_%{git_version}/%{name}-REL_2_1_0.tar.gz Source0: https://github.com/google/leveldb/archive/%{name}-%{version}.tar.gz
# https://github.com/log4cplus/log4cplus/issues/169
# git clone --recursive https://github.com/log4cplus/log4cplus.git
# cd log4cplus
# tar -cvf threadpool.tar.gz threadpool
Source1: threadpool.tar.gz
BuildRequires: cmake g++ BuildRequires: cmake
%description %description
log4cplus is a simple to use C++ logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration. It is modelled after the Java log4j API. log4cplus is a simple to use C++ logging API providing thread-safe, flexible, and arbitrarily granular control over log management and configuration. It is modelled after the Java log4j API.
@ -27,11 +20,7 @@ flexible, and arbitrarily granular control over log management and
configuration. It is modeled after the Java log4j API. configuration. It is modeled after the Java log4j API.
%prep %prep
%setup -q -n %{name}-REL_2_1_0/ %setup -q -n %{name}-%{version}/
rm -rf threadpool
cp %{SOURCE1} .
tar -xvf threadpool.tar.gz
rm -rf threadpool.tar.gz
%build %build
export CFLAGS=$RPM_OPT_FLAGS export CFLAGS=$RPM_OPT_FLAGS
@ -57,21 +46,6 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/lib*.so %{_libdir}/lib*.so
%changelog %changelog
* Fri Nov 10 2023 Ge Wang <wang__ge@126.com> - 2.1.0-1
- Update to version 2.1.0
* Tue Jun 7 2022 lijian <lijian2@kylinos.cn> - 2.0.7-2
- License compliance rectification
* Tue Jan 18 2022 SimpleUpdate Robot <tc@openeuler.org> - 2.0.7-1
- Upgrade to version 2.0.7
* Tue Jun 08 2021 wulei <wulei80@huawei.com> - 2.0.5-4
- fixes failed: error: no acceptable C compiler found in $PATH
* Mon Oct 12 2020 liqingqing_1229 <liqingqing3@huawei.com> - 2.0.5-3
- update source0
* Tue Aug 11 2020 douyan <douyan@kylinos.cn> - 2.0.5-2 * Tue Aug 11 2020 douyan <douyan@kylinos.cn> - 2.0.5-2
- add devel package - add devel package

Binary file not shown.