Initial import (#1607215).

This commit is contained in:
Elliott Sales de Andrade 2018-07-23 17:30:45 -04:00
parent 9472873fbd
commit 41ef5cf633
4 changed files with 82 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/diffobj_0.1.10.tar.gz

80
R-diffobj.spec Normal file
View File

@ -0,0 +1,80 @@
%global packname diffobj
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 0.1.10
Release: 1%{?dist}
Summary: Diffs for R Objects
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-crayon >= 1.3.2, R-tools, R-methods, R-utils, R-stats
# Suggests: R-knitr, R-rmarkdown, R-testthat
# LinkingTo:
# Enhances:
Requires: R-crayon >= 1.3.2
Requires: R-tools
Requires: R-methods
Requires: R-utils
Requires: R-stats
BuildRequires: R-devel
BuildRequires: tex(latex)
BuildRequires: R-crayon >= 1.3.2
BuildRequires: R-tools
BuildRequires: R-methods
BuildRequires: R-utils
BuildRequires: R-stats
BuildRequires: R-knitr
BuildRequires: R-rmarkdown
BuildRequires: R-testthat
%description
Generate a colorized diff of two R objects for an intuitive visualization
of their differences.
%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
export LANG=C.UTF-8
%{_bindir}/R CMD check %{packname}
%files
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/doc
%doc %{rlibdir}/%{packname}/html
%{rlibdir}/%{packname}/DESCRIPTION
%doc %{rlibdir}/%{packname}/NEWS.md
%license %{rlibdir}/%{packname}/COPYRIGHTS
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help
%dir %{rlibdir}/%{packname}/libs
%{rlibdir}/%{packname}/libs/%{packname}.so
%{rlibdir}/%{packname}/css
%{rlibdir}/%{packname}/script
%changelog
* Sun Jul 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.1.10-1
- initial package for Fedora

View File

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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (diffobj_0.1.10.tar.gz) = e14fad3940d6c7edc606844f1990bab0d9bed782a8d73ab6aa5096dadf03a81a877138d9e7eeced4b42c171f15dce81d8177acb8e555320e36d7130bf4993f44