5 Summary: A utility which lists open files on a Linux/UNIX system
6 URL: http://people.freebsd.org/~abe/
8 # lsof contains licensed code that we cannot ship. Therefore we use
9 # upstream2downstream.sh script to remove the code before shipping it.
10 Source0: %{name}_%{version}-linux-only.tar.xz
11 #Source1: upstream2downstream.sh
12 Source1001: lsof.manifest
15 Lsof stands for LiSt Open Files, and it does just that: it lists
16 information about files that are open by the processes running on a
20 %setup -q -n %{name}_%{version}-linux-only
24 LSOF_VSTR=2.6.16 LINUX_BASE=/proc ./Configure -n linux
26 make DEBUG="%{optflags} -fPIC" CFGL="-pie " %{?_smp_mflags}
29 install -Dm755 lsof %{buildroot}%{_sbindir}/lsof
30 install -Dm644 lsof.8 %{buildroot}%{_mandir}/man8/lsof.8
36 %manifest %{name}.manifest