]> git.pld-linux.org Git - packages/R-cran-colorspace.git/blame - R-cran-colorspace.spec
- new
[packages/R-cran-colorspace.git] / R-cran-colorspace.spec
CommitLineData
a54af15f
JR
1%define fversion %(echo %{version} |tr r -)
2%define modulename colorspace
3Summary: Color Space Manipulation
4Name: R-cran-%{modulename}
5Version: 1.2r4
6Release: 1
7License: BSD
8Group: Applications/Math
9Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
10# Source0-md5: 1f9a05587ffae27fc3e4da7503d016fc
11URL: http://cran.fhcrc.org/web/packages/colorspace/index.html
12BuildRequires: R >= 2.8.1
13Requires(post,postun): R >= 2.8.1
14Requires(post,postun): perl-base
15Requires(post,postun): textutils
16Requires: R
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Carries out mapping between assorted color spaces including RGB, HSV,
21HLS, CIEXYZ, CIELUV, HCL (polar CIELUV), CIELAB and polar CIELAB.
22Qualitative, sequential, and diverging color palettes based on HCL
23colors are provided.
24
25%prep
26%setup -q -c
27
28%build
29R CMD build %{modulename} --no-build-vignettes
30
31%install
32rm -rf $RPM_BUILD_ROOT
33install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
34R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(644,root,root,755)
41%doc %{modulename}/DESCRIPTION
42%{_libdir}/R/library/%{modulename}
This page took 0.086557 seconds and 4 git commands to generate.