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