]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - lsof/lsof.nm
logrotate: -debuginfo package should not be in Base group.
[people/ms/ipfire-3.x.git] / lsof / lsof.nm
CommitLineData
892f5783 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
892f5783
SS
4###############################################################################
5
802ea3af
MT
6name = lsof
7version = 4.82
8release = 1
892f5783 9
802ea3af
MT
10groups = Base Development/Debuggers
11url = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof
12license = zlib
13summary = A utility which lists open files on a Linux/UNIX system.
892f5783 14
802ea3af 15description
892f5783
SS
16 Lsof stands for LiSt Open Files, and it does just that: \
17 it lists information about files that are open by the \
18 processes running on a system.
802ea3af
MT
19end
20
21source_dl =
22sources = %{name}_%{version}_src.tar.gz
892f5783 23
802ea3af
MT
24build
25 requires
26 libselinux-devel
27 end
892f5783 28
802ea3af 29 DIR_APP = /usr/src/%{name}_%{version}_src
892f5783 30
802ea3af 31 build
6f1ca1a1
MT
32 LINUX_BASE=/proc \
33 LSOF_VSTR="2.6.16" \
802ea3af
MT
34 ./Configure linux -n
35 make DEBUG="%{CFLAGS}" %{PARALLELISMFLAGS}
36 end
37
38 install
39 mkdir -pv %{BUILDROOT}/usr/sbin
40 install -m 755 lsof %{BUILDROOT}/usr/sbin
41 mkdir -pv %{BUILDROOT}/usr/share/man/man8
42 cp -vf lsof.8 %{BUILDROOT}/usr/share/man/man8
43 end
44end
45
46packages
47 package %{name}
48 end
1f9bc2f0
MT
49
50 package %{name}-debuginfo
51 template DEBUGINFO
52 end
802ea3af 53end