]> git.pld-linux.org Git - packages/R-cran-ggplot2.git/blob - R-cran-ggplot2.spec
- new
[packages/R-cran-ggplot2.git] / R-cran-ggplot2.spec
1 %define         fversion        %(echo %{version} |tr r -)
2 %define         modulename      ggplot2
3 Summary:        Fast hierarchical clustering routines for R and Python
4 Name:           R-cran-%{modulename}
5 Version:        0.9.3.1
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:  f01d950c6385750e737ac7eac6260c87
11 URL:            http://cran.fhcrc.org/web/packages/ggplot2/index.html
12 BuildRequires:  R >= 2.8.1
13 BuildRequires:  R-cran-digest
14 BuildRequires:  R-cran-gtable
15 BuildRequires:  R-cran-reshape2
16 BuildRequires:  R-cran-proto
17 BuildRequires:  R-cran-plyr
18 BuildRequires:  R-cran-scales
19 Requires(post,postun):  R >= 2.8.1
20 Requires(post,postun):  perl-base
21 Requires(post,postun):  textutils
22 Requires:       R
23 Requires:       R-cran-digest
24 Requires:       R-cran-gtable
25 Requires:       R-cran-reshape2
26 Requires:       R-cran-proto
27 Requires:       R-cran-plyr
28 Requires:       R-cran-scales
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 An implementation of the grammar of graphics in R. It combines the
33 advantages of both base and lattice graphics: conditioning and shared
34 axes are handled automatically, and you can still build up a plot step
35 by step from multiple data sources. It also implements a sophisticated
36 multidimensional conditioning system and a consistent interface to map
37 data to aesthetic attributes. See the ggplot2 website for more
38 information, documentation and examples.
39
40 %prep
41 %setup -q -c
42
43 %build
44 R CMD build %{modulename}
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
49 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc %{modulename}/DESCRIPTION
57 %{_libdir}/R/library/%{modulename}
This page took 0.039052 seconds and 3 git commands to generate.