]> git.pld-linux.org Git - packages/R-cran-RColorBrewer.git/commitdiff
- new auto/th/R-cran-RColorBrewer-1.0r5-1
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 18 Oct 2012 11:04:25 +0000 (13:04 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 18 Oct 2012 11:04:25 +0000 (13:04 +0200)
R-cran-RColorBrewer.spec [new file with mode: 0644]

diff --git a/R-cran-RColorBrewer.spec b/R-cran-RColorBrewer.spec
new file mode 100644 (file)
index 0000000..5594ae0
--- /dev/null
@@ -0,0 +1,39 @@
+%define                fversion        %(echo %{version} |tr r -)
+%define                modulename      RColorBrewer
+Summary:       ColorBrewer palettes
+Name:          R-cran-%{modulename}
+Version:       1.0r5
+Release:       1
+License:       LGPL v2+
+Group:         Applications/Math
+Source0:       ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: da52d639e105254e33346d5a39fa44d4
+BuildRequires: R >= 2.8.1
+Requires(post,postun): R >= 2.8.1
+Requires(post,postun): perl-base
+Requires(post,postun): textutils
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The packages provides palettes for drawing nice maps
+shaded according to a variable.
+
+%prep
+%setup -q -c
+
+%build
+R CMD build %{modulename}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/R/library
+
+R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{modulename}/DESCRIPTION
+%{_libdir}/R/library/%{modulename}
This page took 0.117578 seconds and 4 git commands to generate.