[packages/R-cran-RColorBrewer] - new

baggins baggins at pld-linux.org
Thu Oct 18 13:05:07 CEST 2012


commit 9622680ffe51c44e6810a6744ab7911510a3a5db
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Thu Oct 18 13:04:25 2012 +0200

    - new

 R-cran-RColorBrewer.spec | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
---
diff --git a/R-cran-RColorBrewer.spec b/R-cran-RColorBrewer.spec
new file mode 100644
index 0000000..5594ae0
--- /dev/null
+++ b/R-cran-RColorBrewer.spec
@@ -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}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/R-cran-RColorBrewer.git/commitdiff/9622680ffe51c44e6810a6744ab7911510a3a5db



More information about the pld-cvs-commit mailing list