| 23 |
23 |
| 24 |
24 |
| 25 # package information |
25 # package information |
| 26 Name: sproxy |
26 Name: sproxy |
| 27 Summary: URL Harvesting HTTP Proxy |
27 Summary: URL Harvesting HTTP Proxy |
| 28 URL: http://www.joedog.org/index/sproxy-home/ |
28 URL: http://www.joedog.org/sproxy-home/ |
| 29 Vendor: Jeffrey Fulmer |
29 Vendor: Jeffrey Fulmer |
| 30 Packager: Michael Schloh von Bennewitz |
30 Packager: Michael Schloh von Bennewitz |
| 31 Distribution: Europalab Production |
31 Distribution: Europalab Networks Production |
| 32 Class: EVAL |
32 Class: EVAL |
| 33 Group: Network |
33 Group: Network |
| 34 License: GPL |
34 License: GPL |
| 35 Version: 1.01 |
35 Version: 1.02 |
| 36 Release: 20090106 |
36 Release: 20120800 |
| 37 |
37 |
| 38 # list of sources |
38 # list of sources |
| 39 Source0: ftp://sid.joedog.org/pub/sproxy/sproxy-%{version}.tar.gz |
39 Source0: http://www.joedog.org/pub/sproxy/sproxy-%{version}.tar.gz |
| 40 |
40 |
| 41 # build information |
41 # build information |
| 42 Prefix: %{l_prefix} |
42 BuildPreReq: OpenPKG, openpkg >= 20100101, perl, make |
| 43 BuildRoot: %{l_buildroot} |
43 PreReq: OpenPKG, openpkg >= 20100101, perl, perl-www |
| 44 BuildPreReq: OpenPKG, openpkg >= 20040130, perl |
|
| 45 PreReq: OpenPKG, openpkg >= 20040130, perl, perl-www |
|
| 46 AutoReq: no |
|
| 47 AutoReqProv: no |
|
| 48 |
44 |
| 49 %description |
45 %description |
| 50 Sproxy is a tool designed to harvest URLs for a HTTP/HTTPS test tool |
46 Sproxy is a tool designed to harvest URLs for a HTTP/HTTPS test tool |
| 51 such as Siege. Sproxy is designed to work like a regular HTTP proxy. |
47 such as Siege. Sproxy is designed to work like a regular HTTP proxy. |
| 52 It listens for HTTP requests on port 9001 (default) and it returns |
48 It listens for HTTP requests on port 9001 (default) and it returns |
| 71 |
67 |
| 72 %build |
68 %build |
| 73 ./configure \ |
69 ./configure \ |
| 74 --prefix=%{l_prefix} \ |
70 --prefix=%{l_prefix} \ |
| 75 --sysconfdir=%{l_prefix}/etc/sproxy |
71 --sysconfdir=%{l_prefix}/etc/sproxy |
| 76 %{l_make} %{l_mflags} |
72 %{l_make} %{l_mflags -O} |
| 77 |
73 |
| 78 %install |
74 %install |
| 79 rm -rf $RPM_BUILD_ROOT |
|
| 80 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
75 %{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT |
| 81 rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/sproxy |
76 rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/sproxy |
| 82 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
77 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
| 83 |
78 |
| 84 %files -f files |
79 %files -f files |
| 85 |
80 |
| |
81 %clean |
| |
82 |