]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - lsof/lsof.nm
Add a -debuginfo for every package that is not noarch.
[people/ms/ipfire-3.x.git] / lsof / lsof.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = lsof
7 version = 4.82
8 release = 1
9
10 groups = Base Development/Debuggers
11 url = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof
12 license = zlib
13 summary = A utility which lists open files on a Linux/UNIX system.
14
15 description
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.
19 end
20
21 source_dl =
22 sources = %{name}_%{version}_src.tar.gz
23
24 build
25 requires
26 libselinux-devel
27 end
28
29 DIR_APP = /usr/src/%{name}_%{version}_src
30
31 build
32 LINUX_BASE=/proc \
33 LSOF_VSTR="2.6.16" \
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
44 end
45
46 packages
47 package %{name}
48 end
49
50 package %{name}-debuginfo
51 template DEBUGINFO
52 end
53 end