Actual spec file

This commit is contained in:
Gerhard Rieger 2015-04-02 17:06:09 +02:00
parent ce75d9cf9c
commit 3d0c9f5ae9
2 changed files with 8 additions and 6 deletions

View file

@ -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.

View file

@ -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