mrtg/mrtg.spec

changeset 773
849be77d11d6
parent 673
004b21be0b4c
equal deleted inserted replaced
7:fa722886a545 8:9e3cb53ff73b
38 Source0: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz 38 Source0: http://oss.oetiker.ch/mrtg/pub/mrtg-%{version}.tar.gz
39 Source1: mrtg.cfg 39 Source1: mrtg.cfg
40 Source2: rc.mrtg 40 Source2: rc.mrtg
41 Source3: uptime.pl 41 Source3: uptime.pl
42 Source4: webstat.pl 42 Source4: webstat.pl
43 Patch0: mrtg.patch
43 44
44 # build information 45 # build information
45 BuildPreReq: OpenPKG, openpkg >= 20100101, perl, zlib, gd, png 46 BuildPreReq: OpenPKG, openpkg >= 20100101, perl, zlib, gd, png
46 PreReq: OpenPKG, openpkg >= 20100101, perl, zlib, gd, png, snmp 47 PreReq: OpenPKG, openpkg >= 20100101, perl, zlib, gd, png, snmp
47 48
57 regex = mrtg-(__VER__)\.tar\.gz 58 regex = mrtg-(__VER__)\.tar\.gz
58 } 59 }
59 60
60 %prep 61 %prep
61 %setup -q 62 %setup -q
63 %patch -p0
62 %{l_shtool} subst \ 64 %{l_shtool} subst \
63 -e 's;mrtg2";mrtg";g' \ 65 -e 's;mrtg2";mrtg";g' \
64 -e "s;/usr\(/bin/perl\);%{l_prefix}\1;" \ 66 -e "s;/usr\(/bin/perl\);%{l_prefix}\1;" \
65 bin/* 67 bin/*
66 68

mercurial