R-base64enc/R-base64enc.spec
Elliott Sales de Andrade 6e27b173a1 Initial import (#1485591).
2017-08-29 19:33:17 -04:00

57 lines
1.3 KiB
RPMSpec

%global packname base64enc
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 0.1.3
Release: 1%{?dist}
Summary: Tools for base64 encoding
License: GPLv2+
URL: https://cran.r-project.org/web/packages/%{packname}/index.html
Source0: https://cran.r-project.org/src/contrib/%{packname}_0.1-3.tar.gz
# Here's the R view of the dependencies world:
# Depends:
# Imports:
# Suggests:
# LinkingTo:
# Enhances:
BuildRequires: R-devel tex(latex)
%description
This package provides tools for handling base64 encoding. It is more
flexible than the orphaned base64 package.
%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
%{rlibdir}/%{packname}/INDEX
%{rlibdir}/%{packname}/NAMESPACE
%{rlibdir}/%{packname}/Meta
%{rlibdir}/%{packname}/R
%{rlibdir}/%{packname}/help
%{rlibdir}/%{packname}/libs
%changelog
* Sat Aug 26 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 0.1.3-1
- initial package for Fedora