]>
Commit | Line | Data |
---|---|---|
525319c9 | 1 | Summary: Lists files open by processes |
e40297c4 ER |
2 | Summary(es.UTF-8): Lista los archivos abiertos por los procesos que están en ejecución |
3 | Summary(pl.UTF-8): Program do śledzenia wszystkich procesów w systemie | |
4 | Summary(pt_BR.UTF-8): Lista os arquivos abertos pelos processos que estão rodando | |
5 | Summary(ru.UTF-8): Показывает открытые процессами файлы | |
6 | Summary(uk.UTF-8): Показує відкриті процесами файли | |
525319c9 | 7 | Name: lsof |
184e7663 | 8 | Version: 4.94.0 |
686c6d84 | 9 | Release: 1 |
ddfe01c5 | 10 | License: Free |
07881db5 | 11 | Group: Applications/System |
184e7663 AO |
12 | Source0: https://github.com/lsof-org/lsof/releases/download/%{version}/lsof_%{version}.linux.tar.bz2 |
13 | # Source0-md5: 2a007f86fb0207fbce3e9d7542e1041c | |
67d6ea9e | 14 | URL: http://people.freebsd.org/~abe/ |
b37e1e19 | 15 | BuildRequires: libselinux-devel |
100896df | 16 | BuildRequires: libtirpc-devel |
40b94e2f | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
525319c9 | 18 | |
19 | %description | |
38a52c95 | 20 | Lsof's name stands for LiSt Open Files, and it does just that. It |
21 | lists information about files that are open by the processes running | |
22 | on a UNIX system. | |
525319c9 | 23 | |
28de67c2 | 24 | %description -l es.UTF-8 |
323b4a1c | 25 | El nombre lsof significa LiSt Open Files, y lo que hace es: lista los |
28de67c2 JR |
26 | archivos abiertos. Hace una relación, con información variada, sobre |
27 | los archivos abiertos por los procesos en ejecución en un sistema | |
323b4a1c | 28 | UNIX. |
29 | ||
28de67c2 JR |
30 | %description -l pl.UTF-8 |
31 | Lsof (LiSt Open Files) śledzi wszystkie procesy jakie są w danej | |
7ce5a568 | 32 | chwili uruchomione w systemie. Program ten jest bardzo pomocnym |
28de67c2 | 33 | narzędziem dla administratora systemu Unix. |
525319c9 | 34 | |
28de67c2 | 35 | %description -l pt_BR.UTF-8 |
323b4a1c | 36 | O nome lsof significa LiSt Open Files, e faz isto: lista os arquivos |
28de67c2 JR |
37 | abertos. Ele lista várias informações sobre os arquivos abertos pelos |
38 | processos que estão rodando em um sistema UNIX. | |
323b4a1c | 39 | |
28de67c2 JR |
40 | %description -l ru.UTF-8 |
41 | Lsof - это сокращение от LiSt Open Files. Именно это программа lsof и | |
42 | делает - выводит информацию о файлах, открытых процессами, работающими | |
43 | в системе. | |
323b4a1c | 44 | |
28de67c2 JR |
45 | %description -l uk.UTF-8 |
46 | Lsof - це скорочення від LiSt Open Files. Саме це програма lsof і | |
47 | робить - виводить інформацію про файли, відкриті працюючими процесами. | |
323b4a1c | 48 | |
525319c9 | 49 | %prep |
184e7663 | 50 | %setup -q -n %{name}_%{version}.linux |
525319c9 | 51 | |
52 | %build | |
b4bea5dd | 53 | LSOF_CC="%{__cc}"; export LSOF_CC |
525319c9 | 54 | ./Configure -n linux |
323b4a1c | 55 | %{__make} \ |
0c661017 | 56 | DEBUG="%{rpmcppflags} %{rpmcflags}" |
525319c9 | 57 | |
525319c9 | 58 | %install |
4b5aa87f | 59 | rm -rf $RPM_BUILD_ROOT |
b8c1cc50 | 60 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8} |
4b5aa87f | 61 | |
b8c1cc50 | 62 | install lsof $RPM_BUILD_ROOT%{_bindir} |
0a80a9af | 63 | install lsof.8 $RPM_BUILD_ROOT%{_mandir}/man8 |
525319c9 | 64 | |
0a80a9af | 65 | %clean |
66 | rm -rf $RPM_BUILD_ROOT | |
525319c9 | 67 | |
68 | %files | |
69 | %defattr(644,root,root,755) | |
184e7663 | 70 | %doc {00*,README.*} |
b8c1cc50 | 71 | %attr(755,root,root) %{_bindir}/lsof |
7e01f69c | 72 | %{_mandir}/man8/lsof.8* |