Init package
This commit is contained in:
parent
51945ccb51
commit
0c5e154ea0
67
R-filehash.spec
Normal file
67
R-filehash.spec
Normal file
@ -0,0 +1,67 @@
|
|||||||
|
%global packname filehash
|
||||||
|
%global packver 2.4-2
|
||||||
|
%global rlibdir %{_libdir}/R/library
|
||||||
|
|
||||||
|
Name: R-%{packname}
|
||||||
|
Version: 2.4.2
|
||||||
|
Release: 1
|
||||||
|
Summary: Simple Key-Value Database
|
||||||
|
|
||||||
|
License: GPLv2+
|
||||||
|
URL: https://CRAN.R-project.org/package=%{packname}
|
||||||
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: R-devel
|
||||||
|
BuildRequires: 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
|
||||||
|
%dir %{rlibdir}/%{packname}/libs
|
||||||
|
%{rlibdir}/%{packname}/libs/%{packname}.so
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Fri Jun 24 2022 misaka00251 <misaka00251@misakanet.cn> - 2.4.2-1
|
||||||
|
- Init package (Thanks to fedora team)
|
||||||
BIN
filehash_2.4-2.tar.gz
Normal file
BIN
filehash_2.4-2.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user