socat/socat.spec

103 lines
3.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: socat
Version: 1.7.4.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: https://www.dest-unreach.org/socat
Source: http://www.dest-unreach.org/socat/download/socat-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libncurses-devel
BuildRequires: libopenssl-devel
BuildRequires: libreadline-devel
BuildRequires: libwrap-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%debug_package
%prep
%setup -q
aclocal
autoconf
%build
%configure CFLAGS="%{optflags} -fcommon" LDFLAGS="-lncurses"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/filan
%{_bindir}/procan
%{_bindir}/socat
%{_mandir}/man1/socat.1*
%doc COPYING
#%doc CHANGES README README.FIPS
%changelog
* Tue Feb 23 2021 Automatic Build System <autodist@mambasoft.it> 1.7.4.1-1mamba
- automatic version update by autodist
* Sat Jan 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.3.4-2mamba
- rebuilt with debug package and -fcommon
* Tue Jan 28 2020 Automatic Build System <autodist@mambasoft.it> 1.7.3.4-1mamba
- automatic version update by autodist
* Sat May 04 2019 Automatic Build System <autodist@mambasoft.it> 1.7.3.3-1mamba
- automatic version update by autodist
* Thu Feb 02 2017 Automatic Build System <autodist@mambasoft.it> 1.7.3.2-1mamba
- automatic version update by autodist
* 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