]> git.pld-linux.org Git - packages/redir.git/blob - redir.spec
Up to 3.3.
[packages/redir.git] / redir.spec
1 Summary:        redirect TCP connections
2 Summary(pl.UTF-8):      Przekierowywanie połączeń TCP
3 Summary(pt_BR.UTF-8):   Redir é um redirecionador de conexões
4 Name:           redir
5 Version:        3.3
6 Release:        1
7 License:        GPL
8 Group:          Applications/Networking
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
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
21 %description -l pl.UTF-8
22 Redir przekierowuje połączenia tcp przychodzące na określony lokalny
23 port na podany inny adres oraz port.
24
25 %description -l pt_BR.UTF-8
26 Redir é um redirecionador de conexões.
27
28 %prep
29 %setup  -q
30
31 %build
32 %{__aclocal}
33 %{__autoconf}
34 %{__automake}
35
36 %configure
37 %{__make}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43     DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README.md trans*.txt
51 %attr(755,root,root) %{_bindir}/redir
52 %{_mandir}/man1/redir.1*
This page took 0.18169 seconds and 3 git commands to generate.