]> git.pld-linux.org Git - packages/R-cran-digest.git/blame - R-cran-digest.spec
- new
[packages/R-cran-digest.git] / R-cran-digest.spec
CommitLineData
1e666455
JR
1%define fversion %(echo %{version} |tr r -)
2%define modulename digest
3Summary: Create cryptographic hash digests of R objects
4Name: R-cran-%{modulename}
5Version: 0.6.3
6Release: 1
7License: GPL v2
8Group: Applications/Math
9Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
10# Source0-md5: d7913e8091a31885ee2ab798badd7958
11URL: http://cran.fhcrc.org/web/packages/digest/index.html
12BuildRequires: R >= 2.8.1
13Requires(post,postun): R >= 2.8.1
14Requires(post,postun): perl-base
15Requires(post,postun): textutils
16Requires: R
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20The digest package provides a function 'digest()' for the creation of
21hash digests of arbitrary R objects (using the md5, sha-1, sha-256 and
22crc32 algorithms) permitting easy comparison of R language objects,
23as well as a function 'hmac()' to create hash-based message
24authentication code.
25
26%prep
27%setup -q -c
28
29%build
30R CMD build %{modulename}
31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
35R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
40%files
41%defattr(644,root,root,755)
42%doc %{modulename}/DESCRIPTION
43%{_libdir}/R/library/%{modulename}
This page took 0.120289 seconds and 4 git commands to generate.