/[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 677860 - (hide annotations) (download)
Tue Sep 16 15:12:50 2014 UTC (9 years, 7 months ago) by umeabot
File size: 1358 byte(s)
Mageia 5 Mass Rebuild
1 juancho 219078 Summary: Utility to display Apache logs with a top-like interface
2     Name: apachetop
3     Version: 0.12.6
4 umeabot 677860 Release: %mkrel 6
5 juancho 219078 License: BSD
6     Group: Monitoring
7     URL: http://www.webta.org/projects/apachetop
8     Source0: http://www.webta.org/apachetop/%name-%version.tar.bz2
9     # mandrivaize default logfile
10     Patch1: %name-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: ncurses-devel
18     BuildRequires: m4
19     BuildRequires: pcre-devel
20 pterjan 335924 BuildRequires: gamin-devel
21 juancho 219078 BuildRequires: readline-devel
22     BuildRequires: autoconf2.5
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 pterjan 336434 sed -i s/AM_CONFIG_HEADER/AC_CONFIG_HEADER/ configure.ac
37 juancho 219078
38     %build
39 pterjan 335918 %configure2_5x \
40 pterjan 335917 --with-pcre=%_prefix \
41 juancho 219078 --without-adns \
42     --with-logfile=%{_localstatedir}/log/httpd/access_log
43    
44     %make
45    
46    
47     %install
48     %makeinstall
49    
50    
51    
52     %files
53     %defattr(-,root,root,)
54     %_bindir/*
55     %doc AUTHORS LICENSE README ChangeLog TODO
56     %_mandir/man1/*
57    

  ViewVC Help
Powered by ViewVC 1.1.30