R-processx/R-processx.spec

95 lines
2.7 KiB
RPMSpec
Raw Normal View History

2018-03-23 23:13:49 +00:00
%global packname processx
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
2018-05-17 14:52:57 +00:00
Version: 3.1.0
2018-03-23 23:13:49 +00:00
Release: 1%{?dist}
Summary: Execute and Control System Processes
License: MIT
URL: https://cran.r-project.org/web/packages/%{packname}/index.html
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{version}.tar.gz
# Here's the R view of the dependencies world:
# Depends:
2018-05-17 14:52:57 +00:00
# Imports: R-assertthat, R-crayon, R-R6, R-utils
# Suggests: R-covr, R-debugme, R-parallel, R-testthat, R-withr
# LinkingTo: R-testthat
2018-03-23 23:13:49 +00:00
# Enhances:
2018-05-08 00:29:13 +00:00
Requires: R-assertthat
Requires: R-crayon
Requires: R-debugme
2018-05-17 14:52:57 +00:00
Requires: R-parallel
2018-05-08 00:29:13 +00:00
Requires: R-R6
Requires: R-utils
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-assertthat
BuildRequires: R-crayon
BuildRequires: R-debugme
2018-05-17 14:52:57 +00:00
BuildRequires: R-parallel
2018-05-08 00:29:13 +00:00
BuildRequires: R-R6
BuildRequires: R-utils
BuildRequires: R-testthat
BuildRequires: R-withr
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
the exit status of finished processes; kill background processes and their
children; restart 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.
sed -i 's/covr, //g' %{packname}/DESCRIPTION
%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
%check
%{_bindir}/R CMD check %{packname}
%files
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/html
%{rlibdir}/%{packname}/DESCRIPTION
%doc %{rlibdir}/%{packname}/NEWS.md
%doc %{rlibdir}/%{packname}/README.markdown
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
%changelog
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