]> git.pld-linux.org Git - packages/R-cran-RColorBrewer.git/blob - R-cran-RColorBrewer.spec
- release 2 (by relup.sh)
[packages/R-cran-RColorBrewer.git] / R-cran-RColorBrewer.spec
1 %define         fversion        %(echo %{version} |tr r -)
2 %define         modulename      RColorBrewer
3 Summary:        ColorBrewer palettes
4 Name:           R-cran-%{modulename}
5 Version:        1.0r5
6 Release:        2
7 License:        LGPL v2+
8 Group:          Applications/Math
9 Source0:        ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
10 # Source0-md5:  da52d639e105254e33346d5a39fa44d4
11 BuildRequires:  R >= 2.8.1
12 Requires(post,postun):  R >= 2.8.1
13 Requires(post,postun):  perl-base
14 Requires(post,postun):  textutils
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 The packages provides palettes for drawing nice maps
19 shaded according to a variable.
20
21 %prep
22 %setup -q -c
23
24 %build
25 R CMD build %{modulename}
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_libdir}/R/library
30
31 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(644,root,root,755)
38 %doc %{modulename}/DESCRIPTION
39 %{_libdir}/R/library/%{modulename}
This page took 0.05983 seconds and 3 git commands to generate.