Initial import (#1619095).
This commit is contained in:
parent
ade95e9460
commit
7480504ee1
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/ps_1.1.0.tar.gz
|
77
R-ps.spec
Normal file
77
R-ps.spec
Normal file
@ -0,0 +1,77 @@
|
||||
%global packname ps
|
||||
%global rlibdir %{_libdir}/R/library
|
||||
|
||||
Name: R-%{packname}
|
||||
Version: 1.1.0
|
||||
Release: 1%{?dist}
|
||||
Summary: List, Query, Manipulate System Processes
|
||||
|
||||
License: BSD
|
||||
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:
|
||||
# Imports: R-utils
|
||||
# Suggests: R-callr, R-covr, R-processx >= 3.1.0, R-R6, R-rlang, R-testthat, R-tibble
|
||||
# LinkingTo:
|
||||
# Enhances:
|
||||
|
||||
Requires: R-utils
|
||||
Suggests: R-tibble
|
||||
BuildRequires: R-devel
|
||||
BuildRequires: tex(latex)
|
||||
BuildRequires: R-utils
|
||||
BuildRequires: R-callr
|
||||
BuildRequires: R-processx >= 3.1.0
|
||||
BuildRequires: R-R6
|
||||
BuildRequires: R-rlang
|
||||
BuildRequires: R-testthat
|
||||
BuildRequires: R-tibble
|
||||
|
||||
%description
|
||||
List, query and manipulate all system processes, on 'Windows', 'Linux' and
|
||||
'macOS'.
|
||||
|
||||
|
||||
%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
|
||||
%license %{rlibdir}/%{packname}/LICENSE
|
||||
%doc %{rlibdir}/%{packname}/NEWS.md
|
||||
%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
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Aug 19 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.1.0-1
|
||||
- initial package for Fedora
|
Loading…
Reference in New Issue
Block a user