webalizer/webalizer.spec

changeset 175
66c4ec7f657e
parent 156
3831ba5c7ba7
child 177
ba548e351342
equal deleted inserted replaced
9:02283594dab0 10:56bbe201dee2
35 Distribution: OpenPKG Community 35 Distribution: OpenPKG Community
36 Class: PLUS 36 Class: PLUS
37 Group: Logfile 37 Group: Logfile
38 License: GPL 38 License: GPL
39 Version: %{V_here} 39 Version: %{V_here}
40 Release: 20090414 40 Release: 20090418
41 41
42 # package options 42 # package options
43 %option with_dns no 43 %option with_dns no
44 %option with_geoip no 44 %option with_geoip no
45 %option with_gwidth 512 45 %option with_gwidth 512
47 # list of sources 47 # list of sources
48 Source0: ftp://ftp.mrunix.net/pub/webalizer/webalizer-%{V_real}-src.tgz 48 Source0: ftp://ftp.mrunix.net/pub/webalizer/webalizer-%{V_real}-src.tgz
49 Source1: ftp://ftp.mrunix.net/pub/webalizer/geodb/webalizer-geodb-%{V_geodb}.tgz 49 Source1: ftp://ftp.mrunix.net/pub/webalizer/geodb/webalizer-geodb-%{V_geodb}.tgz
50 Source2: ftp://ftp.mrunix.net/pub/webalizer/webalizer-flags.tgz 50 Source2: ftp://ftp.mrunix.net/pub/webalizer/webalizer-flags.tgz
51 Source3: rc.webalizer 51 Source3: rc.webalizer
52 Source4: webgraphicon.png
52 Patch0: webalizer.patch 53 Patch0: webalizer.patch
53 54
54 # build information 55 # build information
55 Prefix: %{l_prefix} 56 Prefix: %{l_prefix}
56 BuildRoot: %{l_buildroot} 57 BuildRoot: %{l_buildroot}
138 webalizer.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/ 139 webalizer.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
139 %{l_shtool} install -c -m 644 \ 140 %{l_shtool} install -c -m 644 \
140 sample.conf $RPM_BUILD_ROOT%{l_prefix}/etc/webalizer/webalizer.conf 141 sample.conf $RPM_BUILD_ROOT%{l_prefix}/etc/webalizer/webalizer.conf
141 %{l_shtool} install -c -m 644 \ 142 %{l_shtool} install -c -m 644 \
142 GeoDB.dat $RPM_BUILD_ROOT%{l_prefix}/var/webalizer/ 143 GeoDB.dat $RPM_BUILD_ROOT%{l_prefix}/var/webalizer/
144 %{l_shtool} install -c -m 644 \
145 webgraphicon.png $RPM_BUILD_ROOT%{l_prefix}/web/webalizer/
143 mv flags $RPM_BUILD_ROOT%{l_prefix}/share/webalizer/ 146 mv flags $RPM_BUILD_ROOT%{l_prefix}/share/webalizer/
144 ln $RPM_BUILD_ROOT%{l_prefix}/bin/webalizer \ 147 ln $RPM_BUILD_ROOT%{l_prefix}/bin/webalizer \
145 $RPM_BUILD_ROOT%{l_prefix}/bin/webazolver 148 $RPM_BUILD_ROOT%{l_prefix}/bin/webazolver
146 %{l_shtool} install -c -m 755 %{l_value -s -a} \ 149 %{l_shtool} install -c -m 755 %{l_value -s -a} \
147 %{SOURCE rc.webalizer} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/ 150 %{SOURCE rc.webalizer} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/

mercurial