Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37513432
en ru br
ALT Linux repos
S:0.1.19-alt1
5.0: 0.1.11-alt1

Group :: File tools
RPM: lockfile-progs

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: lockfile-progs
Version: 0.1.19
Release: alt1

Summary: Programs for locking and unlocking files and mailboxes
License: GPL-2.0
Group: File tools
URL: https://packages.debian.org/unstable/misc/lockfile-progs

Source: %name-%version.tar
Patch1: lockfile-progs-format-overflow.patch

BuildRequires: liblockfile-devel

%description
This package includes several programs to safely lock and unlock files
and mailboxes from the command line.

These include:
- lockfile-create
- lockfile-remove
- lockfile-touchlock
- mail-lock
- mail-unlock
- mail-touchlock.

These programs use liblockfile to perform the file locking and
unlocking.

%prep
%setup
%patch1 -p2

%build
%make CC=gcc

%install
install -d %buildroot{%_bindir,%_man1dir}

cp -a bin/* %buildroot%_bindir
cp -a man/* %buildroot%_man1dir

echo '.so lockfile-progs.1' > lockfile-progs.1
install lockfile-progs.1 %buildroot%_man1dir/lockfile-create.1
install lockfile-progs.1 %buildroot%_man1dir/lockfile-remove.1
install lockfile-progs.1 %buildroot%_man1dir/lockfile-touch.1
install lockfile-progs.1 %buildroot%_man1dir/mail-lock.1
install lockfile-progs.1 %buildroot%_man1dir/mail-unlock.1
install lockfile-progs.1 %buildroot%_man1dir/mail-touchlock.1

%files
%doc TODO debian/changelog
%_bindir/lockfile-create
%_bindir/lockfile-remove
%_bindir/lockfile-touch
%_bindir/lockfile-check
%_bindir/mail-lock
%_bindir/mail-touchlock
%_bindir/mail-unlock
%_man1dir/lockfile-create.1*
%_man1dir/lockfile-progs.1*
%_man1dir/lockfile-remove.1*
%_man1dir/lockfile-touch.1*
%_man1dir/lockfile-check.1*
%_man1dir/mail-lock.1*
%_man1dir/mail-touchlock.1*
%_man1dir/mail-unlock.1*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin