Blame R-filehash.spec

dbf294
%global packname  filehash
9b7630
%global packver   2.4-2
dbf294
%global rlibdir  %{_libdir}/R/library
dbf294
dbf294
Name:             R-%{packname}
9b7630
Version:          2.4.2
9b7630
Release:          1%{?dist}
dbf294
Summary:          Simple Key-Value Database
dbf294
dbf294
License:          GPLv2+
ba565c
URL:              https://CRAN.R-project.org/package=%{packname}
9b7630
Source0:          https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
dbf294
dbf294
# Here's the R view of the dependencies world:
dbf294
# Depends:   R-methods
dbf294
# Imports:
dbf294
# Suggests:
dbf294
# LinkingTo:
dbf294
# Enhances:
dbf294
dbf294
Requires:         R-methods
9b7630
BuildRequires:    R-devel
9b7630
BuildRequires:    tex(latex)
dbf294
BuildRequires:    R-methods
dbf294
dbf294
%description
dbf294
Implements a simple key-value style database where character string keys
dbf294
are associated with data values that are stored on the disk. A simple
dbf294
interface is provided for inserting, retrieving, and deleting data from
dbf294
the database. Utilities are provided that allow 'filehash' databases to be
dbf294
treated much like environments and lists are already used in R. These
dbf294
utilities are provided to encourage interactive and exploratory analysis
dbf294
on large datasets. Three different file formats for representing the
dbf294
database are currently available and new formats can easily be
dbf294
incorporated by third parties for use in the 'filehash' framework.
dbf294
dbf294
dbf294
%prep
dbf294
%setup -q -c -n %{packname}
dbf294
dbf294
dbf294
%build
dbf294
dbf294
dbf294
%install
dbf294
mkdir -p %{buildroot}%{rlibdir}
dbf294
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
dbf294
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
dbf294
rm -f %{buildroot}%{rlibdir}/R.css
dbf294
dbf294
dbf294
%check
dbf294
%{_bindir}/R CMD check %{packname}
dbf294
dbf294
dbf294
%files
dbf294
%dir %{rlibdir}/%{packname}
dbf294
%doc %{rlibdir}/%{packname}/doc
dbf294
%doc %{rlibdir}/%{packname}/html
dbf294
%doc %{rlibdir}/%{packname}/CITATION
dbf294
%license %{rlibdir}/%{packname}/COPYING
dbf294
%{rlibdir}/%{packname}/DESCRIPTION
dbf294
%doc %{rlibdir}/%{packname}/NEWS
dbf294
%{rlibdir}/%{packname}/INDEX
dbf294
%{rlibdir}/%{packname}/NAMESPACE
dbf294
%{rlibdir}/%{packname}/Meta
dbf294
%{rlibdir}/%{packname}/R
dbf294
%{rlibdir}/%{packname}/help
9b7630
%dir %{rlibdir}/%{packname}/libs
9b7630
%{rlibdir}/%{packname}/libs/%{packname}.so
dbf294
dbf294
dbf294
%changelog
9b7630
* Mon Apr 22 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.4.2-1
9b7630
- Update to latest version
9b7630
89c296
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-5
89c296
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
89c296
6198b7
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-4
6198b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
6198b7
d32ce1
* Wed May 16 2018 Tom Callaway <spot@fedoraproject.org> - 2.4.1-3
d32ce1
- rebuild for R 3.5.0
d32ce1
a46518
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-2
a46518
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a46518
dbf294
* Mon Nov 06 2017 Elliott Sales de Andrade <quantum.analyst@gmail.com> 2.4.1-1
dbf294
- initial package for Fedora