Initial import (#1511395).

This commit is contained in:
Elliott Sales de Andrade 2017-11-09 17:48:46 -05:00
parent 79a65fae09
commit 4031877bd6
4 changed files with 69 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/backports_1.1.1.tar.gz

67
R-backports.spec Normal file
View File

@ -0,0 +1,67 @@
%global packname backports
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 1.1.1
Release: 1%{?dist}
Summary: Reimplementations of Functions Introduced Since R-3.0.0
License: GPLv2
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:
# LinkingTo:
# Enhances:
Requires: R-utils
BuildRequires: R-devel tex(latex)
BuildRequires: R-utils
%description
Implementations of functions which have been introduced in R since version
3.0.0. The backports are conditionally exported which results in R
resolving the function names to the version shipped with R (if available)
and uses the implemented backports as fallback. This way package
developers can make use of the new functions without worrying about the
minimum required R version.
%prep
%setup -q -c -n %{packname}
%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
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help
%{rlibdir}/%{packname}/libs
%changelog
* Thu Nov 09 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 1.1.1-1
- initial package for Fedora

View File

@ -1,3 +0,0 @@
# R-backports
The R-backports package

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (backports_1.1.1.tar.gz) = 4297fdffdad80a0a42075f4058dbd2b887261aa25a9888ef8aecf18db439a58e7b59be225dbe5584a72352fa9534a0cc017e92c424d7c3eb8ed2e2da552a9fa5