File: run.spec.in

package info (click to toggle)
run 0.9.2-8
  • links: PTS
  • area: main
  • in suites: woody
  • size: 280 kB
  • ctags: 44
  • sloc: ansic: 773; sh: 339; makefile: 56
file content (40 lines) | stat: -rw-r--r-- 981 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Summary: Maintains a single running process of a program
Name: run
Version: @VERSION@
Release: 1
Copyright: GPL
Group: Utilities/System
Distribution: Obsidian Systems
Packager: Paul Sheer <psheer@obsidian.co.za>
Source: ftp://ftp.obsidian.co.za/pub/run/run-@VERSION@.tar.gz

%description
Run allows you to run a program, and ensure that you have only
one of that program running simultaneously. i.e. we would like to
run some program, but not if its already running. We also may
need to restart the program if it dies. Run accomplishes these
tasks giving all the functionality that would otherwise require
tedious shell scripting to accomplish.

%prep
%setup

%build
CFLAGS='-O2 -Wall' ./configure --prefix=/usr --exec-prefix=/
make

%install
make install-strip

%post
chmod a+s /bin/run
ln -sf /bin/run /bin/isrunning
ln -sf /bin/run /bin/stop

%files
%doc AUTHORS BUGS COPYING ChangeLog README VERSION
/bin/run
/usr/man/man1/run.1
/usr/man/man1/isrunning.1
/usr/man/man1/stop.1