]> git.pld-linux.org Git - packages/R-cran-scales.git/blob - R-cran-scales.spec
- typo
[packages/R-cran-scales.git] / R-cran-scales.spec
1 %define         fversion        %(echo %{version} |tr r -)
2 %define         modulename      scales
3 Summary:        Scale functions for graphics
4 Name:           R-cran-%{modulename}
5 Version:        0.2.3
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:  426e5a785d4bc5b9ba8aa10d2bc043a3
11 URL:            http://cran.fhcrc.org/web/packages/scales/index.html
12 BuildRequires:  R >= 2.8.1
13 BuildRequires:  R-cran-RColorBrewer
14 BuildRequires:  R-cran-stringr
15 BuildRequires:  R-cran-dichromat
16 BuildRequires:  R-cran-munsell >= 0.2
17 BuildRequires:  R-cran-plyr >= 1.2
18 BuildRequires:  R-cran-labeling
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-RColorBrewer
24 Requires:       R-cran-stringr
25 Requires:       R-cran-dichromat
26 Requires:       R-cran-munsell >= 0.2
27 Requires:       R-cran-plyr >= 1.2
28 Requires:       R-cran-labeling
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Scales map data to aesthetics, and provide methods for automatically
33 determining breaks and labels for axes and legends.
34
35 %prep
36 %setup -q -c
37
38 %build
39 R CMD build %{modulename}
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
44 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc %{modulename}/DESCRIPTION
52 %{_libdir}/R/library/%{modulename}
This page took 0.040616 seconds and 3 git commands to generate.