Commit 77c8b7c0 authored by Klaus Zimmermann's avatar Klaus Zimmermann
Browse files

Initial commit

dir = $(shell pwd)
pkg = $(notdir $(dir))
spec_file = $(pkg).spec
sources: $(spec_file)
spectool -g $^
%global packname viridisLite
%global rlibdir %{_datadir}/R/library
Name: R-%{packname}
Version: 0.2.0
Release: 1%{?dist}
Summary: Default Color Maps from 'matplotlib' (Lite Version)
Group: Applications/Engineering
License: MIT
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# Here's the R view of the dependencies world:
# Depends:
# Imports:
# Suggests: R-hexbin R-ggplot2 R-testthat R-covr
# LinkingTo:
# Enhances:
BuildArch: noarch
Requires: R-core
BuildRequires: R-devel tex(latex)
BuildRequires: R-testthat
Port of the new 'matplotlib' color maps ('viridis' - the default -,
'magma', 'plasma' and 'inferno') to 'R'. 'matplotlib'
< > is a popular plotting library for 'python'.
These color maps are designed in such a way that they will analytically be
perfectly perceptually-uniform, both in regular form and also when
converted to black-and-white. They are also designed to be perceived by
readers with the most common form of color blindness. This is the 'lite'
version of the more complete 'viridis' package that can be found at
%setup -q -c -n %{packname}
rm -rf %{buildroot}
mkdir -p %{buildroot}%{rlibdir}
%{_bindir}/R CMD INSTALL -l %{buildroot}%{rlibdir} %{packname}
test -d %{packname}/src && (cd %{packname}/src; rm -f *.o *.so)
rm -f %{buildroot}%{rlibdir}/R.css
rm -rf %{buildroot}
%defattr(-, root, root, -)
%dir %{rlibdir}/%{packname}
%doc %{rlibdir}/%{packname}/html
%doc %{rlibdir}/%{packname}/LICENSE
* Thu May 18 2017 Klaus Zimmermann <> 0.2.0-1
- initial package for Fedora
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment