summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-10-10 11:45:11 +0000
committerCoprDistGit <infra@openeuler.org>2024-10-10 11:45:11 +0000
commit8c5eb8e05dccbd1e504eccb741cced9513cc3392 (patch)
treea3d009368b525b6af945fa3c282997ed450367c5
parent99161001b729b38fba07d140b54a1bbb804d0d84 (diff)
-rw-r--r--.gitignore1
-rw-r--r--procenv.spec44
-rw-r--r--sources1
3 files changed, 46 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..41acfa9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/procenv-0.60.tar.gz
diff --git a/procenv.spec b/procenv.spec
new file mode 100644
index 0000000..2b19bfb
--- /dev/null
+++ b/procenv.spec
@@ -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
diff --git a/sources b/sources
new file mode 100644
index 0000000..eaf094a
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+4e2fa1752658f76e4172a667fe3465e7 procenv-0.60.tar.gz