Initial import (#1510209).

This commit is contained in:
Elliott Sales de Andrade 2017-11-07 16:31:42 -05:00
parent fc01cd9856
commit dbf2942e77
4 changed files with 76 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/filehash_2.4-1.tar.gz

74
R-filehash.spec Normal file
View File

@ -0,0 +1,74 @@
%global packname filehash
%global rlibdir %{_libdir}/R/library
Name: R-%{packname}
Version: 2.4.1
Release: 1%{?dist}
Summary: Simple Key-Value Database
License: GPLv2+
URL: https://cran.r-project.org/web/packages/%{packname}/index.html
Source0: https://cran.r-project.org/src/contrib/%{packname}_2.4-1.tar.gz
# Here's the R view of the dependencies world:
# Depends: R-methods
# Imports:
# Suggests:
# LinkingTo:
# Enhances:
Requires: R-methods
BuildRequires: R-devel tex(latex)
BuildRequires: R-methods
%description
Implements a simple key-value style database where character string keys
are associated with data values that are stored on the disk. A simple
interface is provided for inserting, retrieving, and deleting data from
the database. Utilities are provided that allow 'filehash' databases to be
treated much like environments and lists are already used in R. These
utilities are provided to encourage interactive and exploratory analysis
on large datasets. Three different file formats for representing the
database are currently available and new formats can easily be
incorporated by third parties for use in the 'filehash' framework.
%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}/doc
%doc %{rlibdir}/%{packname}/html
%doc %{rlibdir}/%{packname}/CITATION
%license %{rlibdir}/%{packname}/COPYING
%{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
* Mon Nov 06 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.4.1-1
- initial package for Fedora

View File

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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (filehash_2.4-1.tar.gz) = 8346521550805b3691b9eebc54eb854470dcf47148871ea620e2b6a86e7e3a3506e1bcf0f04a989ebb3ce7e1291ce1c01d3042a9d880f3da2a7c72412d50c254