]> git.pld-linux.org Git - packages/R-cran-dichromat.git/commitdiff
- new master auto/th/R-cran-dichromat-2.0r0-1
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 29 Nov 2013 10:58:49 +0000 (11:58 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 29 Nov 2013 10:58:49 +0000 (11:58 +0100)
R-cran-dichromat.spec [new file with mode: 0644]

diff --git a/R-cran-dichromat.spec b/R-cran-dichromat.spec
new file mode 100644 (file)
index 0000000..34f995d
--- /dev/null
@@ -0,0 +1,40 @@
+%define                fversion        %(echo %{version} |tr r -)
+%define                modulename      dichromat
+Summary:       Color Schemes for Dichromats
+Name:          R-cran-%{modulename}
+Version:       2.0r0
+Release:       1
+License:       GPL v2
+Group:         Applications/Math
+Source0:       ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: 84e194ac95a69763d740947a7ee346a6
+URL:           http://socserv.socsci.mcmaster.ca/jfox/
+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
+Collapse red-green or green-blue distinctions to simulate the effects
+of different types of color-blindness.
+
+%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.093114 seconds and 4 git commands to generate.