]>
Commit | Line | Data |
---|---|---|
03b3e754 JR |
1 | %define fversion %(echo %{version} |tr r -) |
2 | %define modulename vcd | |
3 | Summary: Visualizing Categorical Data | |
4 | Name: R-cran-%{modulename} | |
5 | Version: 1.3r1 | |
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: 3529759583680bd45f8b4ddf3252dc39 | |
11 | URL: http://cran.fhcrc.org/web/packages/vcd/index.html | |
12 | BuildRequires: R >= 2.8.1 | |
13 | BuildRequires: R-cran-colorspace | |
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-colorspace | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | Visualization techniques, data sets, summary and inference procedures | |
23 | aimed particularly at categorical data. Special emphasis is given to | |
24 | highly extensible grid graphics. The package was inspired by the book | |
25 | "Visualizing Categorical Data" by Michael Friendly. | |
26 | ||
27 | %prep | |
28 | %setup -q -c | |
29 | ||
30 | %build | |
31 | R CMD build %{modulename} --no-build-vignettes | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT%{_libdir}/R/library/ | |
36 | R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/ | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc %{modulename}/DESCRIPTION | |
44 | %{_libdir}/R/library/%{modulename} |