From 3d0c9f5ae9a5eefb744d2255e4e5bac7c26411aa Mon Sep 17 00:00:00 2001 From: Gerhard Rieger Date: Thu, 2 Apr 2015 17:06:09 +0200 Subject: [PATCH] Actual spec file --- CHANGES | 2 ++ socat.spec | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/CHANGES b/CHANGES index df99da5..068f5e2 100644 --- a/CHANGES +++ b/CHANGES @@ -313,6 +313,8 @@ porting: support external BUILD_DATE env var to allow to build reproducable binaries + Joachim Fenkes provided an new adapted spec file. + new features: added option max-children that limits the number of concurrent child processes. Thanks to Sam Liddicott for providing the patch. diff --git a/socat.spec b/socat.spec index ec7c0ae..ca2cfe2 100644 --- a/socat.spec +++ b/socat.spec @@ -1,14 +1,14 @@ -%define majorver 1.7 -%define minorver 1.0 +%define majorver 2.0 +%define minorver 0-b7 Summary: socat - multipurpose relay Name: socat Version: %{majorver}.%{minorver} Release: 1 -Copyright: GPL +License: GPL Group: Applications/Communications -Source0: http://www.dest-unreach.org/socat/download/socat-%{version}.tar.gz +Source0: http://www.dest-unreach.org/socat/download/socat-%{version}.tar.bz2 Requires: readline Requires: openssl BuildRoot: /var/tmp/%{name}-buildroot @@ -20,7 +20,7 @@ modem etc.), socket (UNIX, IP4, IP6 - raw, UDP, TCP), a file descriptor (stdin etc.), a program, or an arbitrary combination of two of these. %prep -%setup -n %{name}-%{majorver} +%setup -n %{name}-%{version} %build # the CPPFLAGS setting is required for RedHat Linux @@ -44,7 +44,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) -%doc README CHANGES EXAMPLES SECURITY xio.help socat.html FAQ BUGREPORTS +%doc README CHANGES EXAMPLES SECURITY doc/xio.help doc/socat.html FAQ BUGREPORTS %doc COPYING COPYING.OpenSSL FILES PORTING DEVELOPMENT %{_bindir}/socat %{_bindir}/procan