summaryrefslogtreecommitdiff
path: root/procenv.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-09-12 07:19:11 +0000
committerCoprDistGit <infra@openeuler.org>2023-09-12 07:19:11 +0000
commitd383d41447d730046d1cb0de2e29f32356991b3b (patch)
treead66f6aca64ba984869aa5559db65385846bf283 /procenv.spec
parentaa3f4a9bf2acc4095e1127ecdf73cab93aed92e2 (diff)
automatic import of procenvopeneuler23.03openeuler20.03
Diffstat (limited to 'procenv.spec')
-rw-r--r--procenv.spec45
1 files changed, 45 insertions, 0 deletions
diff --git a/procenv.spec b/procenv.spec
new file mode 100644
index 0000000..1921379
--- /dev/null
+++ b/procenv.spec
@@ -0,0 +1,45 @@
+Name: procenv
+Version: 0.61
+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
+* Mon Sep 11 2023 lvzixin <lyuzixin@outlook.com> - 0.61-1
+- Initial packaging