Name: liblog4cxx Version: 0.10.0 Release: 2mamba Summary: A port to C++ of the Apache Log4j project Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: gil URL: http://logging.apache.org/log4cxx/index.html Source: ftp://mirror.nohup.it/apache//logging/log4cxx/%{version}/apache-log4cxx-%{version}.tar.gz Patch0: liblog4cxx-0.10.0-cstring.patch License: Apache License Version 2.0 BuildRequires: doxygen ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libapr-devel BuildRequires: libaprutil-devel BuildRequires: libdb47-devel BuildRequires: libesmtp-devel BuildRequires: libexpat-devel BuildRequires: libgcc BuildRequires: libgdbm-devel BuildRequires: libopenldap-devel BuildRequires: libstdc++6-devel BuildRequires: libuuid-devel ## AUTOBUILDREQ-END BuildRequires: libe2fs-devel BuildRequires: libsasl-devel #BuildRequires: libodbc-devel see https://issues.apache.org/jira/browse/LOGCXX-299 BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Apache 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/Libraries Summary: Libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel A port to C++ of the Apache Log4j project. This package contains libraries and header files need for development. %package static Group: Development/Libraries Summary: Static libraries for %{name} Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} %description static A port to C++ of the Apache Log4j project. This package contains static libraries need for development. %prep %setup -q -n apache-log4cxx-%{version} %patch0 -p1 %build sed -i.libdir_syssearch -e '/sys_lib_dlsearch_path_spec/s|/usr/lib |%{_libdir} /%{_lib}|' configure %configure \ --with-SMTP=libesmtp %make # see issues LOGCXX-299 --with-ODBC=unixODBC \ %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall mv %{buildroot}%{_datadir}/log4cxx/html . %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/liblog4cxx.so.* %doc KEYS LICENSE NOTICE %files devel %defattr(-,root,root) %dir %{_includedir}/log4cxx %{_includedir}/log4cxx/*.h %{_includedir}/log4cxx/config %{_includedir}/log4cxx/db %{_includedir}/log4cxx/filter %{_includedir}/log4cxx/helpers %{_includedir}/log4cxx/net %{_includedir}/log4cxx/nt %{_includedir}/log4cxx/pattern %{_includedir}/log4cxx/private %{_includedir}/log4cxx/rolling %{_includedir}/log4cxx/spi %{_includedir}/log4cxx/varia %{_includedir}/log4cxx/xml %{_libdir}/liblog4cxx.so %{_exec_prefix}/lib/pkgconfig/liblog4cxx.pc %doc html/ %files static %defattr(-,root,root) %{_libdir}/liblog4cxx.*a %changelog * Thu Feb 03 2011 gil 0.10.0-2mamba - rebuilt devel * Thu Oct 21 2010 gil 0.10.0-1mamba - package created by autospec