-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathlogswan.spec
42 lines (32 loc) · 1.06 KB
/
logswan.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Name: logswan
Version: 2.1.14
Release: 1%{?dist}
Summary: Fast Web log analyzer using probabilistic data structures
License: BSD-2-Clause
URL: https://github.com/fcambus/logswan
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: jansson-devel
BuildRequires: libmaxminddb-devel
BuildRequires: cmake
BuildRequires: gcc
%description
Logswan is a fast Web log analyzer using probabilistic data structures. It is
targeted at very large log files, typically APIs logs. It has constant memory
usage regardless of the log file size, and takes approximatively 4MB of RAM.
Unique visitors counting is performed using two HyperLogLog counters (one for
IPv4, and another one for IPv6), providing a relative accuracy of 0.10%.
Project design goals include : speed, memory-usage efficiency, and keeping the
code as simple as possible.
%prep
%autosetup
%build
%cmake .
%cmake_build
%install
%cmake_install
%check
%files
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%license LICENSE
%doc README.md