[packages/R-cran-munsell] - new

baggins baggins at pld-linux.org
Fri Nov 29 12:27:14 CET 2013


commit ded53edc01d00a397c5c02a8dbd01f775907fabd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Nov 29 12:27:00 2013 +0100

    - new

 R-cran-munsell.spec | 41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
---
diff --git a/R-cran-munsell.spec b/R-cran-munsell.spec
new file mode 100644
index 0000000..9081d6c
--- /dev/null
+++ b/R-cran-munsell.spec
@@ -0,0 +1,41 @@
+%define		fversion	%(echo %{version} |tr r -)
+%define		modulename	munsell
+Summary:	Munsell colour system
+Name:		R-cran-%{modulename}
+Version:	0.4.2
+Release:	1
+License:	MIT
+Group:		Applications/Math
+Source0:	ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5:	45561402fe3ffb8e534a1487bb60d938
+URL:		http://cran.fhcrc.org/web/packages/munsell/index.html
+BuildRequires:	R >= 2.8.1
+BuildRequires:	R-cran-colorspace
+Requires(post,postun):	R >= 2.8.1
+Requires(post,postun):	perl-base
+Requires(post,postun):	textutils
+Requires:	R
+Requires:	R-cran-colorspace
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Functions for exploring and using the Munsell colour system.
+
+%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-munsell.git/commitdiff/ded53edc01d00a397c5c02a8dbd01f775907fabd



More information about the pld-cvs-commit mailing list