]> git.pld-linux.org Git - packages/socat.git/blame - socat.spec
- enable libwrap with fixed tcp_wrappers
[packages/socat.git] / socat.spec
CommitLineData
9182ae8a
AM
1Summary: Multipurpose relay
2Name: socat
3Version: 1.3.1.0
4Release: 1
5License: GPL
6Group: Networking/Utilities
7URL: http://www.dest-unreach.org/socat/
8Source0: http://www.dest-unreach.org/socat/download/%{name}-%{version}.tar.bz2
9BuildRequires: openssl-devel
6e0d6f10 10BuildRequires: libwrap-devel >= 7.6-30
9182ae8a
AM
11BuildRequires: readline-devel
12BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14%description
15Socat is a relay for bidirectional data transfer between two independent data channels. Each of these data channels may be a file, pipe, device (terminal or modem, etc.), socket (Unix, IP4, IP6 - raw, UDP, TCP), a client for SOCKS4, proxy CONNECT, or SSL, etc. It provides forking, logging, and dumping, different modes for interprocess communication, and many more options. It can be used, for example, as a TCP relay (one-shot or daemon), as a daemon-based socksifier, as a shell interface to Unix sockets, as an IP6 relay, for redirecting TCP-oriented programs to a serial line, or to establish a relatively secure environment (su and chroot) for running client or server shell scripts with network connections.
16
17%prep
18%setup -q -n %{name}-1.3
19
20%build
6e0d6f10 21%configure
9182ae8a
AM
22%{__make}
23
24%install
25rm -rf $RPM_BUILD_ROOT
26install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
27
28%{__make} install \
29 DESTDIR=$RPM_BUILD_ROOT
30
31%clean
32rm -rf $RPM_BUILD_ROOT
33
34%files
35%defattr(644,root,root,755)
36%doc BUGREPORTS CHANGES DEVELOPMENT EXAMPLES FAQ README SECURITY
37%attr(755,root,root) %{_bindir}/*
38%{_mandir}/man?/*
This page took 0.038748 seconds and 4 git commands to generate.