]> git.pld-linux.org Git - packages/R-cran-plyr.git/blob - R-cran-plyr.spec
- new
[packages/R-cran-plyr.git] / R-cran-plyr.spec
1 %define         fversion        %(echo %{version} |tr r -)
2 %define         modulename      plyr
3 Summary:        Tools for splitting, applying and combining data
4 Name:           R-cran-%{modulename}
5 Version:        1.8
6 Release:        1
7 License:        GPL v2
8 Group:          Applications/Math
9 Source0:        ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
10 # Source0-md5:  e1c1d2f0c47fd16b2cef6ec9c2e5883c
11 URL:            http://cran.fhcrc.org/web/packages/plyr/index.html
12 BuildRequires:  R >= 2.8.1
13 Requires(post,postun):  R >= 2.8.1
14 Requires(post,postun):  perl-base
15 Requires(post,postun):  textutils
16 Requires:       R
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 plyr is a set of tools that solves a common set of problems: you need
21 to break a big problem down into manageable pieces, operate on each
22 pieces and then put all the pieces back together. For example,
23 you might want to fit a model to each spatial location or time point
24 in your study, summarise data by panels or collapse high-dimensional
25 arrays to simpler summary statistics. The development of plyr has been
26 generously supported by BD (Becton Dickinson).
27
28 %prep
29 %setup -q -c
30
31 %build
32 R CMD build %{modulename} --no-build-vignettes
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
37 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc %{modulename}/DESCRIPTION
45 %{_libdir}/R/library/%{modulename}
This page took 0.046217 seconds and 3 git commands to generate.