2018-08-20 20:29:50 +00:00
|
|
|
# Tests requires processx which requires this package.
|
2024-08-13 00:01:44 +00:00
|
|
|
%bcond_with bootstrap
|
2018-08-20 20:29:50 +00:00
|
|
|
|
2020-12-06 08:04:42 +00:00
|
|
|
%global packname ps
|
2023-04-19 17:12:25 +00:00
|
|
|
%global packver 1.7.5
|
2020-12-06 08:04:42 +00:00
|
|
|
%global rlibdir %{_libdir}/R/library
|
|
|
|
|
2018-08-20 20:17:19 +00:00
|
|
|
Name: R-%{packname}
|
2023-04-19 17:12:25 +00:00
|
|
|
Version: %{packver}
|
2024-08-13 00:01:44 +00:00
|
|
|
Release: 7.1.riscv64%{?dist}
|
2018-08-20 20:17:19 +00:00
|
|
|
Summary: List, Query, Manipulate System Processes
|
|
|
|
|
2020-10-10 08:06:13 +00:00
|
|
|
License: MIT
|
2019-01-23 00:55:26 +00:00
|
|
|
URL: https://CRAN.R-project.org/package=%{packname}
|
2020-02-26 02:44:08 +00:00
|
|
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
|
|
|
# No network on builders.
|
|
|
|
Patch0001: 0001-Don-t-run-example-that-uses-the-network.patch
|
2018-08-20 20:17:19 +00:00
|
|
|
|
|
|
|
# Here's the R view of the dependencies world:
|
|
|
|
# Depends:
|
|
|
|
# Imports: R-utils
|
2023-04-19 17:12:25 +00:00
|
|
|
# Suggests: R-callr, R-covr, R-curl, R-pillar, R-pingr, R-processx >= 3.1.0, R-R6, R-rlang, R-testthat >= 3.0.0, R-webfakes
|
2018-08-20 20:17:19 +00:00
|
|
|
# LinkingTo:
|
|
|
|
# Enhances:
|
|
|
|
|
|
|
|
BuildRequires: R-devel
|
|
|
|
BuildRequires: tex(latex)
|
|
|
|
BuildRequires: R-utils
|
2020-08-14 01:18:53 +00:00
|
|
|
%if %{without bootstrap}
|
2018-08-20 20:29:50 +00:00
|
|
|
BuildRequires: R-callr
|
2019-02-22 23:40:30 +00:00
|
|
|
BuildRequires: R-curl
|
2022-08-18 16:20:34 +00:00
|
|
|
BuildRequires: R-pillar
|
2019-02-22 23:40:30 +00:00
|
|
|
BuildRequires: R-pingr
|
2018-08-20 20:29:50 +00:00
|
|
|
BuildRequires: R-processx >= 3.1.0
|
2020-08-14 01:18:53 +00:00
|
|
|
BuildRequires: R-R6
|
|
|
|
BuildRequires: R-rlang
|
2022-08-18 16:20:34 +00:00
|
|
|
BuildRequires: R-testthat >= 3.0.0
|
2023-04-19 17:12:25 +00:00
|
|
|
BuildRequires: R-webfakes
|
2018-08-20 20:29:50 +00:00
|
|
|
%endif
|
2018-08-20 20:17:19 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
List, query and manipulate all system processes, on 'Windows', 'Linux' and
|
|
|
|
'macOS'.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{packname}
|
|
|
|
|
2019-03-23 02:30:17 +00:00
|
|
|
pushd %{packname}
|
2023-04-19 17:12:25 +00:00
|
|
|
%patch -P0001 -p1
|
2019-03-23 02:30:17 +00:00
|
|
|
|
2018-08-20 20:17:19 +00:00
|
|
|
# Don't need coverage; it's not packaged either.
|
2019-03-23 02:30:17 +00:00
|
|
|
sed -i 's/covr, //g' DESCRIPTION
|
|
|
|
popd
|
2018-08-20 20:17:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p %{buildroot}%{rlibdir}
|
|
|
|
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
|
|
|
|
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
|
|
|
|
rm -f %{buildroot}%{rlibdir}/R.css
|
|
|
|
|
2020-02-26 02:44:08 +00:00
|
|
|
# Only used to run ./configure on Windows.
|
|
|
|
rm %{buildroot}%{rlibdir}/%{packname}/tools/winver.R
|
|
|
|
|
2018-08-20 20:17:19 +00:00
|
|
|
|
|
|
|
%check
|
2020-08-14 01:18:53 +00:00
|
|
|
%if %{without bootstrap}
|
2018-08-20 20:17:19 +00:00
|
|
|
%{_bindir}/R CMD check %{packname}
|
2018-08-20 20:29:50 +00:00
|
|
|
%else
|
2020-08-14 01:18:53 +00:00
|
|
|
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-examples --no-tests
|
2018-08-20 20:29:50 +00:00
|
|
|
%endif
|
2018-08-20 20:17:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{rlibdir}/%{packname}
|
|
|
|
%doc %{rlibdir}/%{packname}/html
|
|
|
|
%{rlibdir}/%{packname}/DESCRIPTION
|
|
|
|
%doc %{rlibdir}/%{packname}/NEWS.md
|
2020-12-06 08:04:42 +00:00
|
|
|
%license %{rlibdir}/%{packname}/LICENSE
|
2018-08-20 20:17:19 +00:00
|
|
|
%doc %{rlibdir}/%{packname}/internals.md
|
|
|
|
%{rlibdir}/%{packname}/INDEX
|
|
|
|
%{rlibdir}/%{packname}/NAMESPACE
|
|
|
|
%{rlibdir}/%{packname}/Meta
|
|
|
|
%{rlibdir}/%{packname}/R
|
|
|
|
%{rlibdir}/%{packname}/help
|
|
|
|
%{rlibdir}/%{packname}/bin
|
|
|
|
%dir %{rlibdir}/%{packname}/libs
|
|
|
|
%{rlibdir}/%{packname}/libs/%{packname}.so
|
2020-05-22 21:06:52 +00:00
|
|
|
%{rlibdir}/%{packname}/tools
|
2019-02-22 23:40:30 +00:00
|
|
|
%{rlibdir}/%{packname}/WORDLIST
|
2018-08-20 20:17:19 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2024-08-13 00:01:44 +00:00
|
|
|
* Mon Aug 12 2024 Jason Montleon <jmontleo@redhat.com> - 1.7.5-7.1.riscv64
|
|
|
|
- Turn off bootstrap (riscv64)
|
|
|
|
|
2024-07-25 12:28:11 +00:00
|
|
|
* Thu Jul 25 2024 David Abdurachmanov <davidlt@rivosinc.com> - 1.7.5-7.0.riscv64
|
|
|
|
- Bootstrap (riscv64)
|
|
|
|
|
2024-07-17 15:56:47 +00:00
|
|
|
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
2024-04-25 14:34:36 +00:00
|
|
|
* Thu Apr 25 2024 Iñaki Úcar <iucar@fedoraproject.org> - 1.7.5-6
|
|
|
|
- R-maint-sig mass rebuild
|
|
|
|
|
2024-01-22 22:03:58 +00:00
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-19 11:16:18 +00:00
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-07-19 12:15:58 +00:00
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-04-21 12:09:34 +00:00
|
|
|
* Fri Apr 21 2023 Iñaki Úcar <iucar@fedoraproject.org> - 1.7.5-2
|
|
|
|
- R-maint-sig mass rebuild
|
|
|
|
|
2023-04-19 17:12:25 +00:00
|
|
|
* Wed Apr 19 2023 Tom Callaway <spot@fedoraproject.org> - 1.7.5-1
|
|
|
|
- update to 1.7.5
|
|
|
|
|
2023-01-18 20:47:49 +00:00
|
|
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-08-18 16:20:34 +00:00
|
|
|
* Thu Aug 18 2022 Tom Callaway <spot@fedoraproject.org> - 1.7.1-1
|
|
|
|
- update to 1.7.1
|
|
|
|
- bootstrap
|
|
|
|
- rebuild for R 4.2.1
|
|
|
|
|
2022-07-20 19:49:57 +00:00
|
|
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-01-19 20:20:57 +00:00
|
|
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-21 16:42:52 +00:00
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-17 21:09:56 +00:00
|
|
|
* Thu Jun 17 2021 Tom Callaway <spot@fedoraproject.org> - 1.6.0-3
|
|
|
|
- bootstrap off
|
|
|
|
|
2021-06-09 15:53:23 +00:00
|
|
|
* Wed Jun 9 2021 Tom Callaway <spot@fedoraproject.org> - 1.6.0-2
|
|
|
|
- bootstrap
|
|
|
|
- Rebuilt for R 4.1.0
|
|
|
|
|
2021-02-28 22:39:25 +00:00
|
|
|
* Sun Feb 28 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.6.0-1
|
|
|
|
- Update to latest version (#1933522)
|
|
|
|
|
2021-01-25 23:17:13 +00:00
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-12-06 08:04:42 +00:00
|
|
|
* Sat Dec 05 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.5.0-1
|
|
|
|
- Update to latest version (#1904711)
|
|
|
|
|
2020-10-10 08:06:13 +00:00
|
|
|
* Thu Oct 08 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.0-1
|
|
|
|
- Update to latest version (#1886009)
|
|
|
|
|
2020-08-14 01:18:53 +00:00
|
|
|
* Thu Aug 13 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.4-1
|
|
|
|
- Update to latest version (#1868090)
|
|
|
|
- Rename with_test to bootstrap conditional
|
|
|
|
|
2020-08-01 07:58:37 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-4
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-27 11:12:57 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-03 19:44:28 +00:00
|
|
|
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 1.3.3-2
|
|
|
|
- expand with_test to cover all BR, then disable to break testthat loop
|
|
|
|
- rebuild for R 4
|
|
|
|
|
2020-05-22 21:06:52 +00:00
|
|
|
* Thu May 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.3-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2020-02-26 02:44:08 +00:00
|
|
|
* Mon Feb 24 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.2-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2020-01-28 10:31:31 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-08-12 05:01:01 +00:00
|
|
|
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.0-3
|
|
|
|
- Remove explicit dependencies provided by automatic dependency generator
|
|
|
|
|
2019-07-24 16:52:48 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-03-23 02:30:17 +00:00
|
|
|
* Fri Mar 22 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.0-1
|
2019-02-22 23:40:30 +00:00
|
|
|
- Update to latest version
|
2019-03-23 02:30:17 +00:00
|
|
|
- Patch to work on non-x86 systems
|
2019-02-22 23:40:30 +00:00
|
|
|
|
2019-01-31 12:26:28 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-09-05 21:15:00 +00:00
|
|
|
* Wed Sep 05 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.0-3
|
|
|
|
- Improve process checking on 32-bit systems
|
|
|
|
|
2018-08-20 20:29:50 +00:00
|
|
|
* Mon Aug 20 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.0-2
|
|
|
|
- Add option to disable tests due to dependency loop
|
|
|
|
|
2018-08-20 20:17:19 +00:00
|
|
|
* Sun Aug 19 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.0-1
|
|
|
|
- initial package for Fedora
|