40 lines
710 B
RPMSpec
40 lines
710 B
RPMSpec
Name: log4cplus
|
|
Version: 2.0.5
|
|
Release: 1
|
|
Summary: simple logging API by using C++
|
|
License: BSD
|
|
URL: https://sourceforge.net/projects/log4cplus
|
|
Source0: https://github.com/google/leveldb/archive/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: cmake
|
|
|
|
%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.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}/
|
|
|
|
%build
|
|
%cmake
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%pre
|
|
%preun
|
|
%post
|
|
%postun
|
|
|
|
%check
|
|
|
|
%files
|
|
%license LICENSE
|
|
%{_bindir}/*
|
|
%{_includedir}/*
|
|
%{_libdir}/*
|
|
|
|
%changelog
|
|
* Sun Mar 29 2020 Wei Xiong <myeuler@163.com>
|
|
- Package init
|
|
|