socat/socat.spec

81 lines
2.8 KiB
RPMSpec

Name: socat
Version: 1.7.3.1
Release: 1mamba
Summary: A multipurpose relay (SOcket CAT)
Group: Applications/Networking
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://www.dest-unreach.org/socat
Source: http://www.dest-unreach.org/socat/download/socat-%{version}.tar.bz2
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libncurses-devel
BuildRequires: libopenssl-devel
BuildRequires: libreadline-devel
BuildRequires: libwrap-devel
## AUTOBUILDREQ-END
%description
socat is a relay for bidirectional data transfer between two independent data channels.
Each of these data channels may be a file, pipe, device (serial line etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the GNU line editor (readline), a program, or a combination of two of these.
These modes include generation of "listening" sockets, named pipes, and pseudo terminals.
%prep
%setup -q
%build
aclocal
autoconf
%configure LDFLAGS="-lncurses"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/socat.1.gz
%doc CHANGES COPYING README README.FIPS
%changelog
* Wed Feb 03 2016 Automatic Build System <autodist@mambasoft.it> 1.7.3.1-1mamba
- automatic version update by autodist
* Sun Jan 25 2015 Automatic Build System <autodist@mambasoft.it> 1.7.3.0-1mamba
- automatic version update by autodist
* Mon Mar 10 2014 Automatic Build System <autodist@mambasoft.it> 1.7.2.4-1mamba
- automatic version update by autodist
* Wed Jan 29 2014 Automatic Build System <autodist@mambasoft.it> 1.7.2.3-1mamba
- automatic version update by autodist
* Mon May 27 2013 Automatic Build System <autodist@mambasoft.it> 1.7.2.2-1mamba
- automatic version update by autodist
* Thu Aug 09 2012 Automatic Build System <autodist@mambasoft.it> 1.7.2.1-1mamba
- automatic version update by autodist
* Tue Mar 27 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.2.0-2mamba
- explicitly link to libncurses as readline configure test does not do it
* Sat Dec 10 2011 Automatic Build System <autodist@mambasoft.it> 1.7.2.0-1mamba
- automatic version update by autodist
* Sun Aug 08 2010 Automatic Build System <autodist@mambasoft.it> 1.7.1.3-1mamba
- automatic update by autodist
* Wed Apr 14 2010 Automatic Build System <autodist@mambasoft.it> 1.7.1.2-1mamba
- automatic update by autodist
* Wed Dec 09 2009 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.7.1.1-1mamba
- package created by autospec