R-ps/R-ps.spec

167 lines
5.3 KiB
RPMSpec
Raw Normal View History

# Tests requires processx which requires this package.
2021-06-17 21:09:56 +00:00
%bcond_with bootstrap
2020-12-06 08:04:42 +00:00
%global packname ps
2021-02-28 22:39:25 +00:00
%global packver 1.6.0
2020-12-06 08:04:42 +00:00
%global rlibdir %{_libdir}/R/library
2018-08-20 20:17:19 +00:00
Name: R-%{packname}
2021-02-28 22:39:25 +00:00
Version: 1.6.0
Release: 5%{?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
2019-02-22 23:40:30 +00:00
# Suggests: R-callr, R-covr, R-curl, R-pingr, R-processx >= 3.1.0, R-R6, R-rlang, R-testthat, R-tibble
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}
BuildRequires: R-callr
2019-02-22 23:40:30 +00:00
BuildRequires: R-curl
BuildRequires: R-pingr
BuildRequires: R-processx >= 3.1.0
2020-08-14 01:18:53 +00:00
BuildRequires: R-R6
BuildRequires: R-rlang
BuildRequires: R-testthat
2020-08-14 01:18:53 +00:00
BuildRequires: R-tibble
%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}
%patch0001 -p1
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}
%else
2020-08-14 01:18:53 +00:00
_R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --no-examples --no-tests
%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
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* 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)
* 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
* 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
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* 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
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.3.0-3
- Remove explicit dependencies provided by automatic dependency generator
* 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
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Wed Sep 05 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.0-3
- Improve process checking on 32-bit systems
* 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