]> git.pld-linux.org Git - packages/lslk.git/blame - lslk.spec
- tabs in preamble
[packages/lslk.git] / lslk.spec
CommitLineData
170706c6 1Summary: A lock file lister
77e96281 2Summary(pl.UTF-8): Program wypisujący pliki blokujące
170706c6 3Name: lslk
3b92c551 4Version: 1.29
bf3fdd96 5Release: 4
32dc93c2 6License: Free
170706c6 7Group: Development/Debuggers
170706c6 8Source0: ftp://vic.cc.purdue.edu/pub/tools/unix/lslk/%{name}_%{version}_W.tar.gz
b523166d 9# Source0-md5: cbd17b18bb7ad435c604aa7dc2026c47
f413d65c 10BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49712012
JR
11
12%description
ce0b23de 13Lslk is a lock file lister. Lslk attempts to list all of the locks on
14the executing system's local files (i.e., on the active inodes).
15Install lslk if you need a utility for listing file locks.
49712012 16
f86a30c8
JR
17%description -l pl.UTF-8
18lslk to program wypisujący pliki blokujące. Próbuje wypisać wszystkie
44d38e9b
JB
19blokady na lokalnych plikach (czyli aktywnych inodach).
20
49712012
JR
21%prep
22%setup -q -c -n lslk
23tar xf lslk_%{version}.tar
49712012 24
bf3fdd96
JB
25# force linux/proc dialect even if /proc is not mounted on builder
26sed -e 's@test -r /proc/locks@true@' lslk_%{version}/Configure > c.tmp
27mv -f c.tmp lslk_%{version}/Configure
28chmod +x lslk_%{version}/Configure
29
49712012 30%build
8758fb2d 31cd lslk_%{version}
49712012 32./Configure -n linux
ab4dd7b0
JB
33%{__make} \
34 DEBUG="%{rpmcflags}"
49712012
JR
35
36%install
37rm -rf $RPM_BUILD_ROOT
170706c6 38install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
49712012 39
8758fb2d 40cd lslk_%{version}
170706c6 41
8758fb2d 42install lslk $RPM_BUILD_ROOT%{_sbindir}
44d38e9b 43install lslk.8 $RPM_BUILD_ROOT%{_mandir}/man8
49712012
JR
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50# XXX should be mode 4755, but for now leave the setuid off
ab4dd7b0 51%attr(755,root,root) %{_sbindir}/lslk
170706c6 52%{_mandir}/man8/*
This page took 0.04024 seconds and 4 git commands to generate.