package created using the webbuild interface [release 1.2.0-1mamba;Tue Jul 02 2024]

This commit is contained in:
Silvan Calarco 2024-07-04 18:30:46 +02:00
parent 3b49f0707b
commit 1970fdbd7f
2 changed files with 85 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# log4cxx # log4cxx
Apache Log4cxx is a logging framework for C++ patterned after Apache log4j, which uses Apache Portable Runtime for most platform-specific code and should be usable on any platform supported by APR.

83
log4cxx.spec Normal file
View File

@ -0,0 +1,83 @@
Name: log4cxx
Version: 1.2.0
Release: 1mamba
Summary: A logging framework for C++ patterned after Apache log4j
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://logging.apache.org/log4cxx
Source: https://archive.apache.org/dist/logging/log4cxx/%{version}/apache-log4cxx-%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libapr-devel
BuildRequires: libaprutil-devel
BuildRequires: libexpat-devel
BuildRequires: libfmt-devel
BuildRequires: libgcc
BuildRequires: libopenldap-devel
BuildRequires: libstdc++6-devel
BuildRequires: libuuid-devel
BuildRequires: libxcrypt-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Apache Log4cxx is a logging framework for C++ patterned after Apache log4j, which uses Apache Portable Runtime for most platform-specific code and should be usable on any platform supported by APR.
%package -n lib%{name}
Group: System/Libraries
Summary: A logging framework for C++ patterned after Apache log4j
%description -n lib%{name}
Apache Log4cxx is a logging framework for C++ patterned after Apache log4j, which uses Apache Portable Runtime for most platform-specific code and should be usable on any platform supported by APR.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q -n apache-log4cxx-%{version}
%build
%cmake
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/liblog4cxx.so.*
%doc LICENSE
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/log4cxx
%{_includedir}/log4cxx/*
%{_libdir}/liblog4cxx.so
%dir %{_libdir}/cmake/log4cxx
%{_libdir}/cmake/log4cxx/log4cxx*.cmake
%{_libdir}/pkgconfig/liblog4cxx.pc
%doc README.md
%changelog
* Tue Jul 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1mamba
- package created using the webbuild interface