|
|
|
@ -1,18 +1,20 @@
|
|
|
|
|
%global packname colorspace
|
|
|
|
|
%global packvers 1.4-1
|
|
|
|
|
%global packname colorspace
|
|
|
|
|
%global packver 2.0-0
|
|
|
|
|
%global rlibdir %{_libdir}/R/library
|
|
|
|
|
|
|
|
|
|
%global __suggests_exclude ^R\\((kernlab|rcartocolor|scico|shinyjs|vcd|viridis)\\)
|
|
|
|
|
|
|
|
|
|
# Not yet available.
|
|
|
|
|
%global with_suggests 0
|
|
|
|
|
|
|
|
|
|
Name: R-%{packname}
|
|
|
|
|
Version: 1.4.1
|
|
|
|
|
Version: 2.0.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A Toolbox for Manipulating and Assessing Colors and Palettes
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: https://CRAN.R-project.org/package=%{packname}
|
|
|
|
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packvers}.tar.gz
|
|
|
|
|
Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packver}.tar.gz
|
|
|
|
|
|
|
|
|
|
# Here's the R view of the dependencies world:
|
|
|
|
|
# Depends: R-methods
|
|
|
|
@ -21,24 +23,6 @@ Source0: https://cran.r-project.org/src/contrib/%{packname}_%{packvers}
|
|
|
|
|
# LinkingTo:
|
|
|
|
|
# Enhances:
|
|
|
|
|
|
|
|
|
|
Requires: R-methods
|
|
|
|
|
Requires: R-graphics
|
|
|
|
|
Requires: R-grDevices
|
|
|
|
|
Requires: R-stats
|
|
|
|
|
Suggests: R-datasets
|
|
|
|
|
Suggests: R-utils
|
|
|
|
|
Suggests: R-tcltk
|
|
|
|
|
Suggests: R-shiny
|
|
|
|
|
Suggests: R-shinyjs
|
|
|
|
|
Suggests: R-ggplot2
|
|
|
|
|
Suggests: R-scales
|
|
|
|
|
Suggests: R-grid
|
|
|
|
|
Suggests: R-png
|
|
|
|
|
Suggests: R-jpeg
|
|
|
|
|
Suggests: R-RColorBrewer
|
|
|
|
|
Suggests: R-rcartocolor
|
|
|
|
|
Suggests: R-scico
|
|
|
|
|
Suggests: R-viridis
|
|
|
|
|
BuildRequires: R-devel
|
|
|
|
|
BuildRequires: tex(latex)
|
|
|
|
|
BuildRequires: R-methods
|
|
|
|
@ -72,17 +56,20 @@ BuildRequires: R-wesanderson
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%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 along with corresponding ggplot2 color scales. Color palette
|
|
|
|
|
choice is aided by an interactive app (with either a Tcl/Tk or a shiny
|
|
|
|
|
GUI) and shiny apps with an HCL color picker and a color vision
|
|
|
|
|
deficiency emulator. Plotting functions for displaying and assessing
|
|
|
|
|
palettes include color swatches, visualizations of the HCL space, and
|
|
|
|
|
trajectories in HCL and/or RGB spectrum. Color manipulation functions
|
|
|
|
|
include: desaturation, lightening/darkening, mixing, and simulation of
|
|
|
|
|
color vision deficiencies (deutanomaly, protanomaly, tritanomaly).
|
|
|
|
|
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 along
|
|
|
|
|
with corresponding ggplot2 color scales. Color palette choice is aided by an
|
|
|
|
|
interactive app (with either a Tcl/Tk or a shiny graphical user interface) and
|
|
|
|
|
shiny apps with an HCL color picker and a color vision deficiency emulator.
|
|
|
|
|
Plotting functions for displaying and assessing palettes include color
|
|
|
|
|
swatches, visualizations of the HCL space, and trajectories in HCL and/or RGB
|
|
|
|
|
spectrum. Color manipulation functions include: desaturation,
|
|
|
|
|
lightening/darkening, mixing, and simulation of color vision deficiencies
|
|
|
|
|
(deutanomaly, protanomaly, tritanomaly). Details can be found on the project
|
|
|
|
|
web page at <http://colorspace.R-Forge.R-project.org/> and in the accompanying
|
|
|
|
|
scientific paper: Zeileis et al. (2020, Journal of Statistical Software,
|
|
|
|
|
<doi:10.18637/jss.v096.i01>).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
@ -130,6 +117,24 @@ _R_CHECK_FORCE_SUGGESTS_=0 %{_bindir}/R CMD check %{packname} --ignore-vignettes
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Nov 13 2020 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.0.0-1
|
|
|
|
|
- Update to latest version (#1896672)
|
|
|
|
|
|
|
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 3 2020 Tom Callaway <spot@fedoraproject.org> - 1.4.1-5
|
|
|
|
|
- rebuild for R 4
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Aug 11 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.1-3
|
|
|
|
|
- Remove explicit dependencies provided by automatic dependency generator
|
|
|
|
|
|
|
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Mar 19 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 1.4.1-1
|
|
|
|
|
- Update to latest version
|
|
|
|
|
|
|
|
|
|