diff options
author | James Hunt <jamesodhunt@ubuntu.com> | 2015-11-26 19:48:01 +0000 |
---|---|---|
committer | James Hunt <jamesodhunt@ubuntu.com> | 2015-11-26 19:48:01 +0000 |
commit | 0cba25b23475ad8f3f6fc7c2f921e11348ca782f (patch) | |
tree | c8aa460c5bdcf6cc6ee9d91c0c0ca60ea6ce0f37 /procenv.spec.in |
Import procenv_0.43.orig.tar.gz
[dgit import orig procenv_0.43.orig.tar.gz]
Diffstat (limited to 'procenv.spec.in')
-rw-r--r-- | procenv.spec.in | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/procenv.spec.in b/procenv.spec.in new file mode 100644 index 0000000..2f15363 --- /dev/null +++ b/procenv.spec.in @@ -0,0 +1,78 @@ +Name: @PACKAGE@ +Version: @PROCENV_VERSION@ +Release: 1%{?dist} +Summary: Utility to show process environment + +Group: Applications/System +License: GPLv3+ +URL: https://github.com/jamesodhunt/procenv +Source0: https://github.com/jamesodhunt/procenv/archive/@PROCENV_VERSION@.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +# fixme: should be autoconf >= 2.68, but Fedora packages or alien'ed dpkg +# need a later m4 too +BuildRequires: gcc, make, binutils, autoconf, automake, pkgconfig, expat, libcap-devel, libselinux-devel +# Only used in testing, not in EPEL. +%if 0%{?fedora} +BuildRequires: perl-JSON-PP +%endif +%ifnarch %{arm} s390 s390x +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 %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT + +%check +%if 0%{?fedora} +make check +%endif + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{_bindir}/procenv +%{_mandir}/man1/procenv.1.gz +%doc NEWS ChangeLog TODO + +%changelog +* Thu Jun 5 2014 Dave Love <d.love@liverpool.ac.uk> - 0.35-2 +- Only BR perl-JSON-PP and run tests on fedora + +* Fri Jan 31 2014 James Hunt <james.hunt@ubuntu.com> - 0.32-1 +- Update to 0.31. + +* Thu Jan 23 2014 James Hunt <james.hunt@ubuntu.com> - 0.30-1 +- Update to 0.30. + +* Thu Nov 14 2013 Dave Love <d.love@liverpool.ac.uk> - 0.27-1 +- Update to 0.27, fix Source0 + +* Sun Dec 9 2012 Dave Love <fx@gnu.org> - 0.18-1 +- Update to 0.18 + +* Tue Dec 4 2012 Dave Love <fx@gnu.org> - 0.16-2 +- Re-fix locale-reporting. + +* Mon Dec 3 2012 Dave Love <fx@gnu.org> - 0.16-1 +- Update to 0.16 + +* Thu Nov 22 2012 Dave Love <fx@gnu.org> - 0.12-1 +- Initial packaging |