]> git.pld-linux.org Git - packages/R-cran-reshape2.git/blame - R-cran-reshape2.spec
- new
[packages/R-cran-reshape2.git] / R-cran-reshape2.spec
CommitLineData
1fdea0c5
JR
1%define fversion %(echo %{version} |tr r -)
2%define modulename reshape2
3Summary: Flexibly reshape data: a reboot of the reshape package
4Name: R-cran-%{modulename}
5Version: 1.2.2
6Release: 1
7License: GPL v2
8Group: Applications/Math
9Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
10# Source0-md5: 4b13c53b2a184c0498b351608ff8a085
11URL: http://cran.fhcrc.org/web/packages/reshape2/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
20Reshape lets you flexibly restructure and aggregate data using just
21two functions: melt and cast.
22
23%prep
24%setup -q -c
25
26%build
27R CMD build %{modulename}
28
29%install
30rm -rf $RPM_BUILD_ROOT
31install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
32R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
33
34%clean
35rm -rf $RPM_BUILD_ROOT
36
37%files
38%defattr(644,root,root,755)
39%doc %{modulename}/DESCRIPTION
40%{_libdir}/R/library/%{modulename}
This page took 0.047177 seconds and 4 git commands to generate.