Accepting request 1007894 from devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/1007894 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/log4cxx?expand=0&rev=3
This commit is contained in:
commit
3df32e92a3
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c316705ee3c4e5b919d3561d5f305162d21687aa6ae1f31f02f6cdadc958b393
|
|
||||||
size 1145075
|
|
3
apache-log4cxx-0.13.0.tar.gz
Normal file
3
apache-log4cxx-0.13.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4e5be64b6b1e6de8525f8b87635270b81f772a98902d20d7ac646fdf1ac08284
|
||||||
|
size 551303
|
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 2 13:13:38 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.13.0:
|
||||||
|
* switch to cmake
|
||||||
|
* Add macros to utilize libfmt formatting for messages
|
||||||
|
* Allow distribution log4j to be used for socketservertest
|
||||||
|
* Allow for hiding of location data
|
||||||
|
* Add ability to get thread name not just ID
|
||||||
|
* Doxygen documentation is not reproducible
|
||||||
|
* Bugfixes see https://logging.apache.org/log4cxx/latest_stable/changelog.html#0.13.0
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Sep 27 20:11:25 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
Sun Sep 27 20:11:25 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||||
|
|
||||||
|
41
log4cxx.spec
41
log4cxx.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package log4cxx
|
# spec file for package log4cxx
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,28 +17,25 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: log4cxx
|
Name: log4cxx
|
||||||
Version: 0.11.0
|
Version: 0.13.0
|
||||||
Release: 0
|
Release: 0
|
||||||
%define soname 11
|
%define soname 13
|
||||||
Summary: Log4j like C++ Logging Library
|
Summary: Log4j like C++ Logging Library
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
URL: https://logging.apache.org/log4cxx/latest_stable/
|
URL: https://logging.apache.org/log4cxx/latest_stable/
|
||||||
Source: https://downloads.apache.org/logging/log4cxx/%{version}/apache-log4cxx-%{version}.tar.gz
|
Source: https://downloads.apache.org/logging/log4cxx/%{version}/apache-log4cxx-%{version}.tar.gz
|
||||||
|
BuildRequires: cmake
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
BuildRequires: libapr-util1-devel
|
BuildRequires: libapr-util1-devel
|
||||||
BuildRequires: libapr1-devel
|
BuildRequires: libapr1-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
BuildRequires: openldap2-devel
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: unixODBC-devel
|
BuildRequires: unixODBC-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: zip
|
||||||
%if 0%{?sles_version} > 10
|
|
||||||
BuildRequires: libesmtp-devel
|
|
||||||
%else
|
|
||||||
BuildRequires: openldap2-devel
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Log4cxx is a port to C++ of the log4j logging library.
|
Log4cxx is a port to C++ of the log4j logging library.
|
||||||
@ -103,27 +100,12 @@ Log4cxx is a port to C++ of the log4j logging library.
|
|||||||
%setup -qn apache-log4cxx-%{version}
|
%setup -qn apache-log4cxx-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
%cmake -DLOG4CXX_CHARSET=utf-8
|
||||||
# --enable-latex-docs apparently doesn't do anything
|
%cmake_build
|
||||||
%configure --disable-static \
|
|
||||||
--with-ODBC=unixODBC \
|
|
||||||
--with-charset=utf-8 \
|
|
||||||
--with-logchar=utf-8 \
|
|
||||||
--enable-wchar_t \
|
|
||||||
--enable-html-docs \
|
|
||||||
--enable-dot \
|
|
||||||
%if 0%{?sles_version} > 10
|
|
||||||
--with-SMTP=libesmtp \
|
|
||||||
%endif
|
|
||||||
--enable-doxygen
|
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%makeinstall
|
%cmake_install
|
||||||
rm -f "%buildroot/%_libdir"/*.la
|
|
||||||
mkdir -p %{buildroot}%{_docdir}/liblog4cxx
|
mkdir -p %{buildroot}%{_docdir}/liblog4cxx
|
||||||
mv %{buildroot}%{_datadir}/doc/log4cxx %{buildroot}%{_docdir}/liblog4cxx
|
|
||||||
|
|
||||||
%post -n liblog4cxx%{soname} -p /sbin/ldconfig
|
%post -n liblog4cxx%{soname} -p /sbin/ldconfig
|
||||||
%postun -n liblog4cxx%{soname} -p /sbin/ldconfig
|
%postun -n liblog4cxx%{soname} -p /sbin/ldconfig
|
||||||
@ -132,9 +114,10 @@ mv %{buildroot}%{_datadir}/doc/log4cxx %{buildroot}%{_docdir}/liblog4cxx
|
|||||||
%{_libdir}/liblog4cxx.so.*
|
%{_libdir}/liblog4cxx.so.*
|
||||||
|
|
||||||
%files -n liblog4cxx-devel
|
%files -n liblog4cxx-devel
|
||||||
|
%{_docdir}/liblog4cxx
|
||||||
|
%{_includedir}/log4cxx
|
||||||
|
%{_libdir}/cmake/log4cxx/
|
||||||
%{_libdir}/liblog4cxx.so
|
%{_libdir}/liblog4cxx.so
|
||||||
%{_libdir}/pkgconfig/liblog4cxx.pc
|
%{_libdir}/pkgconfig/liblog4cxx.pc
|
||||||
%{_includedir}/log4cxx
|
|
||||||
%{_docdir}/liblog4cxx
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user