]> git.pld-linux.org Git - packages/lslk.git/commitdiff
- updated to 1.25, lslk-1_25-1
authorkloczek <kloczek@pld-linux.org>
Fri, 31 Mar 2000 05:49:11 +0000 (05:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- completly rewrited in PLD style.

Changed files:
    lslk.spec -> 1.2

lslk.spec

index 3fd4832665c76dc5c183cbb8108283d96dfbd990..d2836db2a6fb659040182ec7e9deb04c9c3c07bd 100644 (file)
--- a/lslk.spec
+++ b/lslk.spec
@@ -1,18 +1,17 @@
-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
+Summary:       A lock file lister
+Name:          lslk
+Version:       1.25
+Release:       1
+Copyright:     Free
+Group:         Development/Debuggers
+Group(pl):     Programowanie/Odpluskwiacze
+Source0:       ftp://vic.cc.purdue.edu/pub/tools/unix/lslk/%{name}_%{version}_W.tar.gz
+Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %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.
+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
@@ -23,15 +22,17 @@ tar xf lslk_%{version}.tar
 rm -rf $RPM_BUILD_ROOT
 [ -d lslk_%{version} ] && cd lslk_%{version}
 ./Configure -n linux
-make CFGF=-DLINUXV=21131
+make CFGF=-DLINUXV=21131 DEBUG="$RPM_OPT_FLAGS"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/{sbin,man/man8}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
 
 [ -d lslk_%{version} ] && cd lslk_%{version}
-install -s lslk ${RPM_BUILD_ROOT}%{_prefix}/sbin
-install lslk.8 ${RPM_BUILD_ROOT}%{_prefix}/man/man8/
+install -s lslk $RPM_BUILD_ROOT%{_sbindir}
+install lslk.8 $RPM_BUILD_ROOT%{_mandir}/man8/
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/*
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -40,4 +41,4 @@ rm -rf $RPM_BUILD_ROOT
 %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
+%{_mandir}/man8/*
This page took 0.083885 seconds and 4 git commands to generate.