diff --git a/log4cplus-2.0.5.tar.gz b/log4cplus-2.0.5.tar.gz new file mode 100644 index 0000000..ebf983c Binary files /dev/null and b/log4cplus-2.0.5.tar.gz differ diff --git a/log4cplus.spec b/log4cplus.spec new file mode 100644 index 0000000..6f16c71 --- /dev/null +++ b/log4cplus.spec @@ -0,0 +1,39 @@ +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 +- Package init +