]> git.pld-linux.org Git - packages/redir.git/blob - redir.spec
- new Source url and added URL.
[packages/redir.git] / redir.spec
1 Summary:        redirect TCP connections
2 Summary(pl):    Przekieruj po³±czenia TCP
3 Name:           redir
4 Version:        2.2
5 Release:        2
6 License:        GPL
7 Vendor:         Sammy <sammy@oh.verio.com>
8 Group:          Applications/Networking
9 Source0:        http://sammy.net/~sammy/hacks/%{name}-%{version}.tar.gz
10 Patch0:         %{name}-debian.patch
11 Patch1:         %{name}-passive-ftp.patch
12 URL:            http://sammy.net/~sammy/hacks/
13 BuildRequires:  libwrap-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Redir redirects tcp connections coming in to a local port to a
18 specified address/port combination.
19
20 %description -l pl
21 Redir przekierowuje po³±czenia tcp przychodz±ce na okre¶lony lokalnyt
22 port na podany inny adres oraz port.
23
24 %prep
25 %setup  -q
26 %patch0 -p1
27
28 %build
29 %{__make} OPT_FLAGS="%{rpmcflags}" CC=%{__cc}
30
31 %install
32 rm -rf $RPM_BUILD_ROOT
33 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man1}
34
35 install redir $RPM_BUILD_ROOT%{_sbindir}
36 install redir.man $RPM_BUILD_ROOT%{_mandir}/man1
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc README trans*.txt
44 %attr(755,root,root) %{_sbindir}/*
45 %{_mandir}/man*/*
This page took 0.060468 seconds and 4 git commands to generate.