]> git.pld-linux.org Git - packages/fastforward.git/blob - fastforward.spec
- added gcc4.patch
[packages/fastforward.git] / fastforward.spec
1 Summary:        Fast Forward (TCP and UDP) Proxy for Linux
2 Summary(pl.UTF-8):      Fast Forward - proxy TCP i UDP dla Linuksa
3 Name:           fastforward
4 Version:        1.00
5 Release:        5
6 License:        LGPL
7 Group:          Networking/Daemons
8 Source0:        http://open.nit.ca/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  62dc7241eee4c3538d4a242be2aea435
10 Patch0:         %{name}-opt.patch
11 Patch1:         %{name}-includes.patch
12 Patch2:         %{name}-types.patch
13 Patch3:         %{name}-gcc3.patch
14 Patch4:         %{name}-gcc4.patch
15 URL:            http://open.nit.ca/fastforward/
16 BuildRequires:  libstdc++-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Fast Forward belongs to a class of programs known as proxy servers.
21 Its job is to accept TCP or UDP connections on one address and port,
22 and forward them off to some other address and port. There are lots of
23 programs around that do this, but Fast Forward provides simplified
24 configuration, uses less memory, and is generally faster than any
25 other solution we know of. It uses zero-forking technology to keep its
26 resource usage to a minimum while still running faster than most other
27 proxies.
28
29 %description -l pl.UTF-8
30 Fast Forward należy do grupy programów znanych jako serwery proxy.
31 Jego zadanie to przyjmowanie połączeń TCP lub UDP na jednym adresie i
32 porcie oraz przekazywanie ich na inny adres i port. Jest wiele
33 programów realizujących to samo zadanie, ale Fast Forward ma
34 uproszczoną konfigurację, używa mało pamięci i jest szybszy. Nie
35 forkuje się, aby zminimalizować zużycie zasobów.
36
37 %prep
38 %setup -q
39 %patch0 -p1
40 %patch1 -p1
41 %patch2 -p1
42 %patch3 -p1
43 %patch4 -p1
44
45 %build
46 %{__make} \
47         CXX="%{__cxx}" \
48         COPTS="%{rpmcflags}"
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT%{_sbindir}
53
54 install fastforward/fastforward $RPM_BUILD_ROOT%{_sbindir}
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README
62 %attr(755,root,root) %{_sbindir}/*
This page took 0.054454 seconds and 3 git commands to generate.