]>
Commit | Line | Data |
---|---|---|
e1545ba5 JR |
1 | %define fversion %(echo %{version} |tr r -) |
2 | %define modulename Formula | |
3 | Summary: Extended Model Formulas | |
4 | Name: R-cran-%{modulename} | |
5 | Version: 1.1r1 | |
c3309604 | 6 | Release: 2 |
e1545ba5 JR |
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: bf47f043979dc1587c442aca1d8ad4fa | |
11 | URL: http://socserv.socsci.mcmaster.ca/jfox/ | |
12 | BuildRequires: R >= 2.8.1 | |
13 | BuildRequires: texlive-tex-thumbpdf | |
14 | Requires(post,postun): R >= 2.8.1 | |
15 | Requires(post,postun): perl-base | |
16 | Requires(post,postun): textutils | |
17 | Requires: R | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Infrastructure for extended formulas with multiple parts on | |
22 | the right-hand side and/or multiple responses on the left-hand side. | |
23 | ||
24 | %prep | |
25 | %setup -q -c | |
26 | ||
27 | %build | |
28 | R CMD build %{modulename} | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | install -d $RPM_BUILD_ROOT%{_libdir}/R/library/ | |
33 | R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/ | |
34 | ||
35 | %clean | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
e1545ba5 JR |
38 | %files |
39 | %defattr(644,root,root,755) | |
40 | %doc %{modulename}/DESCRIPTION | |
41 | %{_libdir}/R/library/%{modulename} |