ALT repositories
Last updated at Fri, 24 Jul 2020 14:09:54 +0000 | SRPMs: 23068
en ru
SRPMs in branches
hide window
  • 0.10.0-alt1_25
  • 0.10.0-alt1_19
  • 0.10.0-alt1_14
Group :: System/Libraries
Source RPM: log4cxx
Raw spec file

Group: System/Libraries
# BEGIN SourceDeps(oneline):

BuildRequires: /usr/bin/dot /usr/bin/iodbc-config gcc-c++ libesmtp-devel libunixODBC-devel
# END SourceDeps(oneline)

# see

%define _localstatedir %{_var}
Name: log4cxx
Version: 0.10.0
Release: alt1_25
Summary: A port to C++ of the Log4j project

License: ASL 2.0
# Filed into upstream bugtracker at:


Patch0: log4cxx-cstring.patch
# From Debian:


Patch1: log4cxx-gcc6.patch
Patch2: log4cxx-gcc6-tests.patch

BuildRequires: libapr1-devel
BuildRequires: libaprutil1-devel
BuildRequires: doxygen

Log4cxx is a popular logging package written in C++. One of its distinctive
features is the notion of inheritance in loggers. Using a logger hierarchy it
is possible to control which log statements are output at arbitrary
granularity. This helps reduce the volume of logged output and minimize the
cost of logging.

%package devel
Group: Development/C
Requires: %{name} = %{version}-%{release}
Summary: Header files for Log4xcc - a port to C++ of the Log4j project

%description devel
Header files and documentation you can use to develop with %{name}.

%package doc
Group: System/Libraries
Summary: Documentation for %{name}
BuildArch: noarch

%description doc
Documentation for %{name}.

%setup -q -n apache-%{name}-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1

sed -i.libdir_syssearch -e \
'/sys_lib_dlsearch_path_spec/s|/usr/lib |/usr/lib /usr/lib64 /lib /lib64 |' \
%configure --disable-static
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool

make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/html .
rm $RPM_BUILD_ROOT/%{_libdir}/



%files devel

%files doc
%doc html/

* Wed Sep 27 2017 Igor Vlasenko <viy at> 0.10.0-alt1_25
- update to new release by fcimport

* Thu Mar 16 2017 Igor Vlasenko <viy at> 0.10.0-alt1_23
- update to new release by fcimport

* Mon Sep 21 2015 Igor Vlasenko <viy at> 0.10.0-alt1_19
- update to new release by fcimport

* Wed Sep 10 2014 Igor Vlasenko <viy at> 0.10.0-alt1_17
- update to new release by fcimport

* Thu Jun 26 2014 Igor Vlasenko <viy at> 0.10.0-alt1_16
- update to new release by fcimport

* Tue Aug 27 2013 Igor Vlasenko <viy at> 0.10.0-alt1_15
- update to new release by fcimport

* Fri Apr 26 2013 Igor Vlasenko <viy at> 0.10.0-alt1_14
- initial fc import

The Geyser project is based on code from Prometheus2.0, which had been made available under the MIT License.