/[packages]/cauldron/apachetop/current/SPECS/apachetop.spec
ViewVC logotype

Contents of /cauldron/apachetop/current/SPECS/apachetop.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1189412 - (show annotations) (download)
Tue Jan 2 14:45:00 2018 UTC (2 years, 9 months ago) by wally
File size: 1304 byte(s)
- rebuild for new readline
1 Summary: Utility to display Apache logs with a top-like interface
2 Name: apachetop
3 Version: 0.15.6
4 Release: %mkrel 3
5 License: BSD
6 Group: Monitoring
7 URL: https://github.com/tessus/apachetop
8 Source0: https://github.com/tessus/apachetop/releases/download/%{version}/%{name}-%{version}.tar.gz
9 # mandrivaize default logfile
10 Patch1: apachetop-0.12.6-logfile.patch
11 # support logfiles over 2GB (from Debian)
12 Patch2: apachetop-0.12.5-large_logfile.patch
13 # gcc4.1 fixes (from Debian)
14 Patch3: apachetop-0.12.6-gcc41.patch
15 # fix some error
16 Patch4: apachetop-0.12.6-buffer_overflow.patch
17 BuildRequires: m4
18 BuildRequires: pkgconfig(ncurses)
19 BuildRequires: pkgconfig(libpcre)
20 BuildRequires: pkgconfig(gamin)
21 BuildRequires: readline-devel
22
23 Requires: apache
24
25 %description
26 ApacheTop watches a log-file generated by Apache (in standard common or
27 combined log-format, although it doesn't (yet) make use of any of the extra
28 fields in combined) and generates human coherent output in real-time.
29
30 %prep
31 %setup -q
32 %patch1 -p1 -b .log
33 %patch2 -p1 -b .large
34 %patch3 -p1 -b .gcc41
35 %patch4 -p0
36
37 %build
38 %configure2_5x \
39 --with-pcre=%{_prefix} \
40 --without-adns \
41 --with-logfile=%{_localstatedir}/log/httpd/access_log
42
43 %make
44
45 %install
46 %make_install
47
48 %files
49 %doc AUTHORS LICENSE README ChangeLog
50 %{_bindir}/*
51 %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.28