]> git.pld-linux.org Git - packages/lslk.git/commitdiff
almost raw
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 19 Aug 1999 20:07:26 +0000 (20:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lslk.spec -> 1.1

lslk.spec [new file with mode: 0644]

diff --git a/lslk.spec b/lslk.spec
new file mode 100644 (file)
index 0000000..3fd4832
--- /dev/null
+++ b/lslk.spec
@@ -0,0 +1,43 @@
+Summary: A lock file lister.
+Name: lslk
+Version: 1.19
+Release: 5
+Copyright: Free
+Group: Development/Debuggers
+Source: ftp://vic.cc.purdue.edu/pub/tools/unix/lslk/lslk_%{version}_W.tar.gz
+Prefix: %{_prefix}
+Buildroot: /var/tmp/%{name}-root
+
+%description
+Lslk is a lock file lister.  Lslk attempts to list all of the locks on
+the executing system's local files (i.e., on the active inodes).
+
+Install lslk if you need a utility for listing file locks.
+
+%prep
+%setup -q -c -n lslk
+tar xf lslk_%{version}.tar
+[ -d lslk_%{version} ] && cd lslk_%{version}
+
+%build
+rm -rf $RPM_BUILD_ROOT
+[ -d lslk_%{version} ] && cd lslk_%{version}
+./Configure -n linux
+make CFGF=-DLINUXV=21131
+
+%install
+rm -rf $RPM_BUILD_ROOT
+mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/{sbin,man/man8}
+
+[ -d lslk_%{version} ] && cd lslk_%{version}
+install -s lslk ${RPM_BUILD_ROOT}%{_prefix}/sbin
+install lslk.8 ${RPM_BUILD_ROOT}%{_prefix}/man/man8/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+# XXX should be mode 4755, but for now leave the setuid off
+%attr(0755,root,kmem) %{_prefix}/sbin/lslk
+%{_prefix}/man/man8/lslk.8
This page took 0.05744 seconds and 4 git commands to generate.