61241dc175
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
99 lines
2.7 KiB
RPMSpec
99 lines
2.7 KiB
RPMSpec
%global packname diffobj
|
|
%global rlibdir %{_libdir}/R/library
|
|
|
|
Name: R-%{packname}
|
|
Version: 0.2.3
|
|
Release: 2%{?dist}
|
|
Summary: Diffs for R Objects
|
|
|
|
License: GPLv2+
|
|
URL: https://CRAN.R-project.org/package=%{packname}
|
|
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
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Mon May 13 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.3-1
|
|
- Update to latest version
|
|
|
|
* Sun Mar 17 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.2-1
|
|
- Update to latest version
|
|
|
|
* Wed Feb 20 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.2.1-1
|
|
- Update to latest version
|
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.11-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Tue Jul 31 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.1.11-1
|
|
- Update to latest version
|
|
|
|
* Sun Jul 22 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.1.10-1
|
|
- initial package for Fedora
|