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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1189412 - (hide annotations) (download)
Tue Jan 2 14:45:00 2018 UTC (6 years, 2 months ago) by wally
File size: 1304 byte(s)
- rebuild for new readline
1 juancho 219078 Summary: Utility to display Apache logs with a top-like interface
2     Name: apachetop
3 daviddavid 906014 Version: 0.15.6
4 wally 1189412 Release: %mkrel 3
5 juancho 219078 License: BSD
6     Group: Monitoring
7 daviddavid 906014 URL: https://github.com/tessus/apachetop
8     Source0: https://github.com/tessus/apachetop/releases/download/%{version}/%{name}-%{version}.tar.gz
9 juancho 219078 # mandrivaize default logfile
10 daviddavid 906014 Patch1: apachetop-0.12.6-logfile.patch
11 juancho 219078 # 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 daviddavid 906014 BuildRequires: m4
18 ovitters 1143945 BuildRequires: pkgconfig(ncurses)
19     BuildRequires: pkgconfig(libpcre)
20     BuildRequires: pkgconfig(gamin)
21 juancho 219078 BuildRequires: readline-devel
22 daviddavid 906014
23 juancho 219078 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 pterjan 335918 %configure2_5x \
39 daviddavid 906014 --with-pcre=%{_prefix} \
40 juancho 219078 --without-adns \
41     --with-logfile=%{_localstatedir}/log/httpd/access_log
42    
43     %make
44    
45     %install
46 daviddavid 906014 %make_install
47 juancho 219078
48     %files
49 daviddavid 906014 %doc AUTHORS LICENSE README ChangeLog
50     %{_bindir}/*
51     %{_mandir}/man1/*

  ViewVC Help
Powered by ViewVC 1.1.30