!1 init package
From: @mywaaagh_admin Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
5e6ef26f51
BIN
procenv-0.60.tar.gz
Normal file
BIN
procenv-0.60.tar.gz
Normal file
Binary file not shown.
44
procenv.spec
Normal file
44
procenv.spec
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
Name: procenv
|
||||||
|
Version: 0.60
|
||||||
|
Release: 1
|
||||||
|
Summary: Utility to show process environment
|
||||||
|
|
||||||
|
License: GPL-3.0-or-later
|
||||||
|
URL: https://github.com/jamesodhunt/procenv
|
||||||
|
Source0: https://github.com/jamesodhunt/procenv/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: groff-base
|
||||||
|
BuildRequires: expat, libcap-devel, libselinux-devel, check-devel, gcc
|
||||||
|
%ifnarch %{arm}
|
||||||
|
BuildRequires: numactl-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains a command-line tool that displays as much
|
||||||
|
detail about itself and its environment as possible. It can be
|
||||||
|
used as a test tool, to understand the type of environment a
|
||||||
|
process runs in, and for comparing system environments.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
|
%files
|
||||||
|
%{_bindir}/procenv
|
||||||
|
%{_mandir}/man1/procenv.1*
|
||||||
|
# ChangeLog is empty
|
||||||
|
%doc README.md NEWS AUTHORS TODO
|
||||||
|
%license COPYING
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Sep 9 2022 lichaoran <pkwarcraft@hotmail.com> - 0.60-1
|
||||||
|
- Initial packaging
|
||||||
4
procenv.yaml
Normal file
4
procenv.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: jamesodhunt/procenv
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user