A new user interface for you! Read more...

File execwrap.spec of Package execwrap

Name: execwrap
Version: 0.5.1
Release: 1
Summary: Exec wrapper for CGI scripts
Group: System/Base
License: Other
URL: http://stbuehler.de/debianserver/execwrap.html
Source0: %{name}-%{version}.tar.gz
Source1: cgiwrap
Source2: COPYING
Source3: execwrap_config.h

%description
%{summary}.

%files
%defattr(-,root,root,-)
%doc README
%doc %{_docdir}/%{name}/COPYING
%{_sbindir}/*
%{_mandir}/man8/*

%prep
%setup -q


%build
cp %{SOURCE3} .
gcc -W -Wall -O2 -fpie -pie -o execwrap execwrap.c


%install
install -m4755 -D execwrap %{buildroot}/%{_sbindir}/execwrap
install -m755 -D %{SOURCE1} %{buildroot}/%{_sbindir}/cgiwrap
install -m644 -D %{SOURCE2} %{buildroot}/%{_docdir}/%{name}/COPYING
install -m644 -D execwrap.8 %{buildroot}/%{_mandir}/man8/execwrap.8