]>
Commit | Line | Data |
---|---|---|
eb5a21fb | 1 | Summary: redirect TCP connections |
07733c8f ER |
2 | Summary(pl.UTF-8): Przekierowywanie połączeń TCP |
3 | Summary(pt_BR.UTF-8): Redir é um redirecionador de conexões | |
eb5a21fb | 4 | Name: redir |
c4ec74f7 AM |
5 | Version: 3.3 |
6 | Release: 1 | |
3b5c0ac2 | 7 | License: GPL |
eb5a21fb | 8 | Group: Applications/Networking |
c4ec74f7 AM |
9 | Source0: https://github.com/troglobit/redir/releases/download/v%{version}/%{name}-%{version}.tar.xz |
10 | # Source0-md5: b452e1ca6faded7bab9c76dd61d9d983 | |
11 | URL: https://github.com/troglobit/redir/ | |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
eb5a21fb AM |
14 | BuildRequires: libwrap-devel |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Redir redirects tcp connections coming in to a local port to a | |
19 | specified address/port combination. | |
20 | ||
2d2bfb69 JR |
21 | %description -l pl.UTF-8 |
22 | Redir przekierowuje połączenia tcp przychodzące na określony lokalny | |
eb5a21fb AM |
23 | port na podany inny adres oraz port. |
24 | ||
2d2bfb69 JR |
25 | %description -l pt_BR.UTF-8 |
26 | Redir é um redirecionador de conexões. | |
7212974a | 27 | |
eb5a21fb AM |
28 | %prep |
29 | %setup -q | |
eb5a21fb AM |
30 | |
31 | %build | |
c4ec74f7 AM |
32 | %{__aclocal} |
33 | %{__autoconf} | |
34 | %{__automake} | |
35 | ||
36 | %configure | |
37 | %{__make} | |
eb5a21fb AM |
38 | |
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
eb5a21fb | 41 | |
c4ec74f7 AM |
42 | %{__make} install \ |
43 | DESTDIR=$RPM_BUILD_ROOT | |
eb5a21fb AM |
44 | |
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
c4ec74f7 AM |
50 | %doc README.md trans*.txt |
51 | %attr(755,root,root) %{_bindir}/redir | |
52 | %{_mandir}/man1/redir.1* |