Initial import (#1607215).
This commit is contained in:
parent
9472873fbd
commit
41ef5cf633
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/diffobj_0.1.10.tar.gz
|
80
R-diffobj.spec
Normal file
80
R-diffobj.spec
Normal 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
|
Loading…
Reference in New Issue
Block a user