]> git.pld-linux.org Git - packages/R-cran-scales.git/blame - R-cran-scales.spec
- typo
[packages/R-cran-scales.git] / R-cran-scales.spec
CommitLineData
0fbb8b97
JR
1%define fversion %(echo %{version} |tr r -)
2%define modulename scales
3Summary: Scale functions for graphics
4Name: R-cran-%{modulename}
5Version: 0.2.3
6Release: 1
7License: GPL v2
8Group: Applications/Math
9Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
10# Source0-md5: 426e5a785d4bc5b9ba8aa10d2bc043a3
11URL: http://cran.fhcrc.org/web/packages/scales/index.html
12BuildRequires: R >= 2.8.1
13BuildRequires: R-cran-RColorBrewer
14BuildRequires: R-cran-stringr
15BuildRequires: R-cran-dichromat
16BuildRequires: R-cran-munsell >= 0.2
17BuildRequires: R-cran-plyr >= 1.2
18BuildRequires: R-cran-labeling
19Requires(post,postun): R >= 2.8.1
20Requires(post,postun): perl-base
21Requires(post,postun): textutils
22Requires: R
23Requires: R-cran-RColorBrewer
fd40e278 24Requires: R-cran-stringr
0fbb8b97
JR
25Requires: R-cran-dichromat
26Requires: R-cran-munsell >= 0.2
27Requires: R-cran-plyr >= 1.2
28Requires: R-cran-labeling
29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31%description
32Scales map data to aesthetics, and provide methods for automatically
33determining breaks and labels for axes and legends.
34
35%prep
36%setup -q -c
37
38%build
39R CMD build %{modulename}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
44R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
45
46%clean
47rm -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.070024 seconds and 4 git commands to generate.