1 Star 0 Fork 21

邹林/lsof

forked from src-openEuler/lsof 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
lsof.spec 1.63 KB
一键复制 编辑 原始数据 按行查看 历史
邹林 提交于 2021-01-23 11:50 . update version to 4.94.0
Name: lsof
Version: 4.94.0
Release: 1
Summary: A tool for list open files
License: zlib and Sendmail and LGPLv2+
URL: https://people.freebsd.org/~abe/
Source0: https://github.com/lsof-org/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc git libtirpc-devel libselinux-devel
%description
Lsof is a free, open-source, Unix administrative tool for displays information
about files open to Unix processes. It runs on many Unix dialects.
%package help
Summary: Doc files for %{name}
BuildArch: noarch
Requires: man
%description help
The %{name}-help package contains doc files for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
%build
./Configure -n linux
%make_build DEBUG="%{build_cflags} -I/usr/include/tirpc" CFGL="%{build_ldflags} -L./lib -llsof -lselinux -ltirpc"
%install
mkdir -p %{buildroot}/%{_bindir}
install -p -m 0755 lsof %{buildroot}/%{_bindir}
mkdir -p %{buildroot}/%{_mandir}/man1
install -p -m 0644 Lsof.8 %{buildroot}/%{_mandir}/man1/lsof.1
%files
%doc 00CREDITS
%{_bindir}/%{name}
%files help
%doc 00README 00FAQ 00LSOF-L 00QUICKSTART
%{_mandir}/man*/*
%changelog
* Sat Jan 23 2021 zoulin <[email protected]> - 4.94.0-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: update version to 4.94.0
* Mon Oct 19 2020 yangshaoxing <[email protected]> - 4.93.2-4
- Handle ffff:ffff in ipv6 addr correctly
* Fri Jan 10 2020 Yeqing Peng <[email protected]> - 4.93.2-3
- delete unused file
* Mon Sep 30 2019 luhuaxin <[email protected]> - 4.93.2-2
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: package rebuild
* Tue Sep 3 2019 luhuaxin <[email protected]> - 4.93.2-1
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zou_lin77/lsof.git
[email protected]:zou_lin77/lsof.git
zou_lin77
lsof
lsof
master

搜索帮助