1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 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
|