Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:coolo:alp:hostos:Staging:A
lsof
lsof.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lsof.spec of Package lsof
# # spec file for package lsof # # Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: lsof Version: 4.95.0 Release: 0 Summary: A Program That Lists Information about Files Opened by Processes License: Zlib Group: System/Monitoring URL: https://github.com/lsof-org/lsof Source: https://github.com/lsof-org/lsof/releases/download/%{version}/lsof_%{version}.linux.tar.bz2 # PATCH-FIX-UPSTREAM danilo.spinella@suse.com bsc#1199709 # https://github.com/lsof-org/lsof/pull/217 Patch0: remove-hostname.patch BuildRequires: libselinux-devel BuildRequires: xz %description Lsof lists information about files opened by processes. An open file may be a regular file, a directory, a block special file, a character special file, an executing text reference, a library, a stream, or a network file (Internet socket, NFS file, or UNIX domain socket.) A specific file or all the files in a file system may be selected by path. %prep %setup -q -n %{name}_%{version}.linux %patch0 -p1 %build ./Configure -n linux %make_build %install install -m755 -d %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man8 install -m755 lsof %{buildroot}%{_bindir} install -m644 lsof.8 %{buildroot}%{_mandir}/man8/lsof.8 mkdir SUSE_docs for s in 00* ; do mv $s SUSE_docs/${s#00} done sed -i -e "s|%{_prefix}/local/bin/perl4\?|%{_bindir}/perl|g" scripts/* mv scripts/00MANIFEST scripts/MANIFEST mv scripts/00README scripts/README %check cd tests chmod u+w TestDB ./Add2TestDB %make_build DEBUG="-Wall -Wno-unused" %files %doc SUSE_docs/* scripts %{_mandir}/man8/lsof.8%{?ext_man} %{_bindir}/lsof %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor