commit a54af15fa1f4f1a3c978d183791828061fd56868
Author: Jan Rękorajski <bagg...@pld-linux.org>
Date:   Fri Nov 29 12:23:58 2013 +0100

    - new

 R-cran-colorspace.spec | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
---
diff --git a/R-cran-colorspace.spec b/R-cran-colorspace.spec
new file mode 100644
index 0000000..930434d
--- /dev/null
+++ b/R-cran-colorspace.spec
@@ -0,0 +1,42 @@
+%define                fversion        %(echo %{version} |tr r -)
+%define                modulename      colorspace
+Summary:       Color Space Manipulation
+Name:          R-cran-%{modulename}
+Version:       1.2r4
+Release:       1
+License:       BSD
+Group:         Applications/Math
+Source0:       
ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: 1f9a05587ffae27fc3e4da7503d016fc
+URL:           http://cran.fhcrc.org/web/packages/colorspace/index.html
+BuildRequires: R >= 2.8.1
+Requires(post,postun): R >= 2.8.1
+Requires(post,postun): perl-base
+Requires(post,postun): textutils
+Requires:      R
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Carries out mapping between assorted color spaces including RGB, HSV,
+HLS, CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB and polar CIELAB.
+Qualitative, sequential, and diverging color palettes based on HCL
+colors are provided.
+
+%prep
+%setup -q -c
+
+%build
+R CMD build %{modulename} --no-build-vignettes
+
+%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-colorspace.git/commitdiff/a54af15fa1f4f1a3c978d183791828061fd56868

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to