- new
[packages/R-cran-Hmisc.git] / R-cran-Hmisc.spec
1 %define         fversion        %(echo %{version} |tr r -)
2 %define         modulename      Hmisc
3 Summary:        Harrell Miscellaneous
4 Name:           R-cran-%{modulename}
5 Version:        3.13r0
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:  5ed3c94c11f67244be99922730495206
11 URL:            http://socserv.socsci.mcmaster.ca/jfox/
12 BuildRequires:  R >= 2.8.1
13 BuildRequires:  R-cran-Formula
14 Requires(post,postun):  R >= 2.8.1
15 Requires(post,postun):  perl-base
16 Requires(post,postun):  textutils
17 Requires:       R
18 Requires:       R-cran-Formula
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 The Hmisc package contains many functions useful for data analysis,
23 high-level graphics, utility operations, functions for computing
24 sample size and power, importing datasets, imputing missing values,
25 advanced table making, variable clustering, character string
26 manipulation, conversion of S objects to LaTeX code, and recoding
27 variables.
28
29 %prep
30 %setup -q -c
31
32 %build
33 R CMD build %{modulename}
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
38 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc %{modulename}/DESCRIPTION
46 %{_libdir}/R/library/%{modulename}
This page took 0.085342 seconds and 3 git commands to generate.