summaryrefslogtreecommitdiffstats
path: root/flock.spec
blob: c04b1c0e940c7c8d9805999a77b23ae6122bece8 (plain)
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
41
42
43
44
45
46
47
48
49
50
Summary: A program to manage locks from shell scripts
Name: flock
Version: 2.0.3
Release: 1
License: MIT
Group: Applications/System
Source0: ftp://ftp.kernel.org/pub/software/utils/script/flock/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
A small utility to manage locks from shell scripts.  This is very
useful in keeping automated tasks from stepping on each other.

%prep
%setup -q

%build
make prefix=%{_prefix} BINDIR=%{_bindir}  MANDIR=%{_mandir}

%install
rm -rf $RPM_BUILD_ROOT
make install prefix=%{_prefix} BINDIR=%{_bindir}  MANDIR=%{_mandir}/man1 \
	INSTALLROOT=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc %{_mandir}/man1/*
%{_bindir}/flock

%doc


%changelog
* Sun Jul 10 2005 H. Peter Anvin <hpa@zytor.com>
- Release 2.0.2, cosmetic fixes.

* Sat Jul  9 2005 H. Peter Anvin <hpa@zytor.com>
- Release 2.0.1, -w 0 fix.

* Sat Jul  9 2005 H. Peter Anvin <hpa@zytor.com>
- Release 2.0, add the ability to spawn a process.

* Fri May  2 2003 H. Peter Anvin <hpa@zytor.com>
- Release 1.0.1, make -h work correctly.

* Mon Mar 17 2003 H. Peter Anvin <hpa@zytor.com>
- Initial build.