webalizer/webalizer.spec

changeset 154
dfe80a536491
parent 151
d176107091ef
child 156
3831ba5c7ba7
equal deleted inserted replaced
7:f2483685b956 8:860f94cc2674
38 License: GPL 38 License: GPL
39 Version: %{V_here} 39 Version: %{V_here}
40 Release: 20090408 40 Release: 20090408
41 41
42 # package options 42 # package options
43 %option with_dns no 43 %option with_dns no
44 %option with_geoip no
44 45
45 # list of sources 46 # list of sources
46 Source0: ftp://ftp.mrunix.net/pub/webalizer/webalizer-%{V_real}-src.tgz 47 Source0: ftp://ftp.mrunix.net/pub/webalizer/webalizer-%{V_real}-src.tgz
47 Source1: ftp://ftp.mrunix.net/pub/webalizer/geodb/webalizer-geodb-%{V_geodb}.tgz 48 Source1: ftp://ftp.mrunix.net/pub/webalizer/geodb/webalizer-geodb-%{V_geodb}.tgz
48 Source2: ftp://ftp.mrunix.net/pub/webalizer/webalizer-flags.tgz 49 Source2: ftp://ftp.mrunix.net/pub/webalizer/webalizer-flags.tgz
56 BuildPreReq: gd, png, zlib, bzip2, db >= 4.1.24 57 BuildPreReq: gd, png, zlib, bzip2, db >= 4.1.24
57 PreReq: gd, png, zlib, bzip2, db >= 4.1.24 58 PreReq: gd, png, zlib, bzip2, db >= 4.1.24
58 %if "%{with_dns}" == "yes" 59 %if "%{with_dns}" == "yes"
59 BuildPreReq: db::with_compat = yes 60 BuildPreReq: db::with_compat = yes
60 PreReq: db::with_compat = yes 61 PreReq: db::with_compat = yes
62 %endif
63 %if "%{with_geoip}" == "yes"
64 BuildPreReq: geoip
65 PreReq: geoip
61 %endif 66 %endif
62 AutoReq: no 67 AutoReq: no
63 AutoReqProv: no 68 AutoReqProv: no
64 69
65 %description 70 %description
90 --prefix=%{l_prefix} \ 95 --prefix=%{l_prefix} \
91 --sysconfdir=%{l_prefix}/etc/%{name} \ 96 --sysconfdir=%{l_prefix}/etc/%{name} \
92 --with-geodb=%{l_prefix}/var/%{name} \ 97 --with-geodb=%{l_prefix}/var/%{name} \
93 %if "%{with_dns}" == "yes" 98 %if "%{with_dns}" == "yes"
94 --enable-dns \ 99 --enable-dns \
100 %endif
101 %if "%{with_geoip}" == "yes"
102 --enable-geoip \
95 %endif 103 %endif
96 --enable-bz2 \ 104 --enable-bz2 \
97 --with-bz2lib=%{l_prefix}/lib \ 105 --with-bz2lib=%{l_prefix}/lib \
98 --with-bz2=%{l_prefix}/include \ 106 --with-bz2=%{l_prefix}/include \
99 --with-etcdir=%{l_prefix}/etc/webalizer \ 107 --with-etcdir=%{l_prefix}/etc/webalizer \

mercurial