]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = lsof |
4b050c77 | 7 | version = 4.85 |
26c49a05 | 8 | release = 2 |
892f5783 | 9 | |
832fe3cd | 10 | groups = Development/Debuggers |
f0b93618 | 11 | url = ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/ |
802ea3af MT |
12 | license = zlib |
13 | summary = A utility which lists open files on a Linux/UNIX system. | |
892f5783 | 14 | |
802ea3af | 15 | description |
f0b93618 SS |
16 | Lsof stands for LiSt Open Files, and it does just that: |
17 | it lists information about files that are open by the | |
892f5783 | 18 | processes running on a system. |
802ea3af MT |
19 | end |
20 | ||
f0b93618 | 21 | thisapp = %{name}_%{version}_src |
892f5783 | 22 | |
802ea3af MT |
23 | build |
24 | requires | |
25 | libselinux-devel | |
26 | end | |
892f5783 | 27 | |
26c49a05 MT |
28 | export LSOF_CFGL = %{CFLAGS} %{LDFLAGS} |
29 | ||
802ea3af | 30 | build |
26c49a05 MT |
31 | ./Configure -n linux |
32 | make %{PARALLELISMFLAGS} | |
802ea3af MT |
33 | end |
34 | ||
35 | install | |
26c49a05 MT |
36 | mkdir -pv %{BUILDROOT}%{sbindir} |
37 | install -m 755 lsof %{BUILDROOT}%{sbindir} | |
38 | mkdir -pv %{BUILDROOT}%{mandir}/man8 | |
39 | cp -vf lsof.8 %{BUILDROOT}%{mandir}/man8 | |
802ea3af MT |
40 | end |
41 | end | |
42 | ||
43 | packages | |
44 | package %{name} | |
1f9bc2f0 MT |
45 | |
46 | package %{name}-debuginfo | |
47 | template DEBUGINFO | |
48 | end | |
802ea3af | 49 | end |