waitfor/waitfor.spec

Name: waitfor
Summary: waits until specified network resource is available or event has occured
Version: 0.5
Release: 1.2
License: GPL
Group: Applications/System
URL: http://www.hennessynet.com/waitfor/
Description: The waitfor utility will wait until a url is available, until a port is being listened to, until an amount of time has passed or until a shell command succeeds. It's very useful when you want to coordinate the startup or shutdown of services.

CentOS 7 x86_64

The build could not start because the following file is missing: waitfor-0.5.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: waitfor-0.5.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

Summary: waits until specified network resource is available or event has occured
Name: waitfor
Version: 0.5
Release: 1.2%{?dist}
License: GPL
Group: Applications/System
URL: http://www.hennessynet.com/waitfor/

Source: http://www.hennessynet.com/waitfor/waitfor-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
Requires: python2

%description
The waitfor utility will wait until a url is available, until a port is being
listened to, until an amount of time has passed or until a shell command
succeeds. It's very useful when you want to coordinate the startup or
shutdown of services.

%prep
%setup

%build
%{__make} %{?_smp_mflags} waitfor.1

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 waitfor %{buildroot}%{_bindir}/waitfor
%{__install} -Dp -m0644 waitfor.1 %{buildroot}%{_mandir}/man1/waitfor.1

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc COPYING INSTALL README
%doc %{_mandir}/man1/waitfor.1*
%{_bindir}/waitfor

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.5-1.2
- Rebuild for Fedora Core 5.

* Wed Sep 22 2004 Dag Wieers <dag@wieers.com> - 0.5-1
- Initial package. (using DAR)