2021-06-17 21:07:24 +00:00
|
|
|
%bcond_with bootstrap
|
2020-06-03 20:12:21 +00:00
|
|
|
|
2020-02-12 08:14:52 +00:00
|
|
|
%global packname processx
|
2021-06-09 15:38:27 +00:00
|
|
|
%global packver 3.5.2
|
2018-03-23 23:13:49 +00:00
|
|
|
%global rlibdir %{_libdir}/R/library
|
|
|
|
|
|
|
|
Name: R-%{packname}
|
2021-06-09 15:38:27 +00:00
|
|
|
Version: 3.5.2
|
2021-06-17 21:07:24 +00:00
|
|
|
Release: 2%{?dist}
|
2018-03-23 23:13:49 +00:00
|
|
|
Summary: Execute and Control System Processes
|
|
|
|
|
|
|
|
License: MIT
|
2019-01-23 00:55:25 +00:00
|
|
|
URL: https://CRAN.R-project.org/package=%{packname}
|
2020-02-12 08:14:52 +00:00
|
|
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
2018-03-23 23:13:49 +00:00
|
|
|
|
|
|
|
# Here's the R view of the dependencies world:
|
|
|
|
# Depends:
|
2019-03-23 02:56:35 +00:00
|
|
|
# Imports: R-ps >= 1.2.0, R-R6, R-utils
|
2021-03-26 09:33:46 +00:00
|
|
|
# Suggests: R-callr >= 3.2.0, R-cli, R-codetools, R-covr, R-curl, R-debugme, R-parallel, R-testthat, R-withr
|
2018-08-20 21:29:11 +00:00
|
|
|
# LinkingTo:
|
2018-03-23 23:13:49 +00:00
|
|
|
# Enhances:
|
|
|
|
|
2018-05-08 00:29:13 +00:00
|
|
|
BuildRequires: R-devel
|
|
|
|
BuildRequires: tex(latex)
|
2019-03-23 02:56:35 +00:00
|
|
|
BuildRequires: R-ps >= 1.2.0
|
2018-05-08 00:29:13 +00:00
|
|
|
BuildRequires: R-R6
|
|
|
|
BuildRequires: R-utils
|
2020-12-04 10:18:51 +00:00
|
|
|
%if %{without bootstrap}
|
2019-07-16 09:43:24 +00:00
|
|
|
BuildRequires: R-callr >= 3.2.0
|
2021-03-26 09:33:46 +00:00
|
|
|
BuildRequires: R-cli
|
2019-07-16 09:43:24 +00:00
|
|
|
BuildRequires: R-codetools
|
2019-05-09 02:03:01 +00:00
|
|
|
BuildRequires: R-curl
|
2018-08-20 21:29:11 +00:00
|
|
|
BuildRequires: R-debugme
|
|
|
|
BuildRequires: R-parallel
|
2018-05-08 00:29:13 +00:00
|
|
|
BuildRequires: R-testthat
|
|
|
|
BuildRequires: R-withr
|
2020-06-03 20:12:21 +00:00
|
|
|
%endif
|
2018-03-23 23:13:49 +00:00
|
|
|
|
|
|
|
%description
|
2018-05-08 00:29:13 +00:00
|
|
|
Tools to run system processes in the background. It can check if a
|
|
|
|
background process is running; wait on a background process to finish; get
|
2018-08-20 21:29:11 +00:00
|
|
|
the exit status of finished processes; kill background processes. It can
|
|
|
|
read the standard output and error of the processes, using non-blocking
|
|
|
|
connections. 'processx' can poll a process for standard output or error,
|
|
|
|
with a timeout. It can also poll several processes at once.
|
2018-03-23 23:13:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -c -n %{packname}
|
|
|
|
|
|
|
|
# Don't need coverage; it's not packaged either.
|
2020-07-25 00:34:06 +00:00
|
|
|
sed -i 's/covr, //g' %{packname}/DESCRIPTION
|
2018-03-23 23:13:49 +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
|
|
|
|
|
2019-02-21 07:05:41 +00:00
|
|
|
# FIXME: Why does this not install?
|
|
|
|
install -pm 0644 %{packname}/README.md %{buildroot}%{rlibdir}/%{packname}/
|
|
|
|
|
2018-03-23 23:13:49 +00:00
|
|
|
|
|
|
|
%check
|
2020-12-04 10:18:51 +00:00
|
|
|
%if %{without bootstrap}
|
2019-07-23 07:41:14 +00:00
|
|
|
%{_bindir}/R CMD check %{packname}
|
2020-06-03 20:12:21 +00:00
|
|
|
%endif
|
2018-03-23 23:13:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{rlibdir}/%{packname}
|
|
|
|
%doc %{rlibdir}/%{packname}/html
|
|
|
|
%{rlibdir}/%{packname}/DESCRIPTION
|
|
|
|
%doc %{rlibdir}/%{packname}/NEWS.md
|
2019-02-21 07:05:41 +00:00
|
|
|
%doc %{rlibdir}/%{packname}/README.md
|
2018-05-17 14:52:57 +00:00
|
|
|
%doc %{rlibdir}/%{packname}/CODE_OF_CONDUCT.md
|
2018-03-23 23:13:49 +00:00
|
|
|
%license %{rlibdir}/%{packname}/LICENSE
|
|
|
|
%{rlibdir}/%{packname}/INDEX
|
|
|
|
%{rlibdir}/%{packname}/NAMESPACE
|
|
|
|
%{rlibdir}/%{packname}/Meta
|
|
|
|
%{rlibdir}/%{packname}/R
|
|
|
|
%{rlibdir}/%{packname}/help
|
2018-05-08 00:29:13 +00:00
|
|
|
%{rlibdir}/%{packname}/bin
|
2018-03-23 23:13:49 +00:00
|
|
|
%dir %{rlibdir}/%{packname}/libs
|
|
|
|
%{rlibdir}/%{packname}/libs/%{packname}.so
|
2019-07-16 09:43:24 +00:00
|
|
|
%{rlibdir}/%{packname}/libs/client.so
|
2018-03-23 23:13:49 +00:00
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2021-06-17 21:07:24 +00:00
|
|
|
* Thu Jun 17 2021 Tom Callaway <spot@fedoraproject.org> - 3.5.2-2
|
|
|
|
- bootstrap off
|
|
|
|
|
2021-06-09 15:38:27 +00:00
|
|
|
* Wed Jun 9 2021 Tom Callaway <spot@fedoraproject.org> - 3.5.2-1
|
|
|
|
- Update to 3.5.2
|
|
|
|
- bootstrap
|
|
|
|
- Rebuilt for R 4.1.0
|
|
|
|
|
2021-04-05 06:21:54 +00:00
|
|
|
* Mon Apr 05 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.5.1-1
|
|
|
|
- Update to latest version (#1946117)
|
|
|
|
|
2021-03-26 09:33:46 +00:00
|
|
|
* Fri Mar 26 2021 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.5.0-1
|
|
|
|
- Update to latest version (#1942163)
|
|
|
|
|
2021-01-25 23:16:25 +00:00
|
|
|
* Mon Jan 25 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-12-04 10:18:51 +00:00
|
|
|
* Fri Dec 04 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.4.5-1
|
|
|
|
- Update to latest version (#1902707)
|
|
|
|
- Rename check conditional to bootstrap
|
|
|
|
|
2020-09-05 08:41:02 +00:00
|
|
|
* Sat Sep 05 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.4.4-1
|
|
|
|
- Update to latest version (#1875519)
|
|
|
|
|
2020-08-01 07:58:11 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.3-3
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-27 11:12:17 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-25 00:34:06 +00:00
|
|
|
* Tue Jul 21 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.4.3-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2020-06-03 20:12:21 +00:00
|
|
|
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 3.4.2-2
|
|
|
|
- rebuild for R 4
|
|
|
|
- conditionalize check to break testthat loop
|
|
|
|
|
2020-02-12 08:14:52 +00:00
|
|
|
* Wed Feb 12 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.4.2-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2020-01-28 10:30:53 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-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> - 3.4.1-3
|
|
|
|
- Remove explicit dependencies provided by automatic dependency generator
|
|
|
|
|
2019-07-24 16:52:17 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-07-23 06:37:56 +00:00
|
|
|
* Tue Jul 23 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.4.1-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-07-16 09:43:24 +00:00
|
|
|
* Tue Jul 16 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.4.0-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-05-09 02:03:01 +00:00
|
|
|
* Wed May 08 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.3.1-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-03-23 02:56:35 +00:00
|
|
|
* Fri Mar 22 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.3.0-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-03-06 09:32:13 +00:00
|
|
|
* Wed Mar 06 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.2.1-2
|
|
|
|
- Enable more tests
|
|
|
|
|
2019-02-21 07:05:41 +00:00
|
|
|
* Thu Feb 21 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.2.1-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2019-01-31 12:26:10 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-08-20 21:29:11 +00:00
|
|
|
* Sun Aug 19 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.2.0-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2018-07-12 19:37:19 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-05-17 14:52:57 +00:00
|
|
|
* Thu May 17 2018 Tom Callaway <spot@fedoraproject.org> - 3.1.0-1
|
|
|
|
- update to 3.1.0
|
|
|
|
|
2018-05-08 00:29:13 +00:00
|
|
|
* Mon May 07 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 3.0.3-1
|
|
|
|
- Update to latest version
|
|
|
|
|
2018-03-23 23:13:49 +00:00
|
|
|
* Wed Mar 21 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.0.1-1
|
|
|
|
- initial package for Fedora
|