]> git.pld-linux.org Git - packages/R-cran-munsell.git/blame - R-cran-munsell.spec
- new
[packages/R-cran-munsell.git] / R-cran-munsell.spec
CommitLineData
ded53edc
JR
1%define fversion %(echo %{version} |tr r -)
2%define modulename munsell
3Summary: Munsell colour system
4Name: R-cran-%{modulename}
5Version: 0.4.2
6Release: 1
7License: MIT
8Group: Applications/Math
9Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
10# Source0-md5: 45561402fe3ffb8e534a1487bb60d938
11URL: http://cran.fhcrc.org/web/packages/munsell/index.html
12BuildRequires: R >= 2.8.1
13BuildRequires: R-cran-colorspace
14Requires(post,postun): R >= 2.8.1
15Requires(post,postun): perl-base
16Requires(post,postun): textutils
17Requires: R
18Requires: R-cran-colorspace
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22Functions for exploring and using the Munsell colour system.
23
24%prep
25%setup -q -c
26
27%build
28R CMD build %{modulename}
29
30%install
31rm -rf $RPM_BUILD_ROOT
32install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
33R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
38%files
39%defattr(644,root,root,755)
40%doc %{modulename}/DESCRIPTION
41%{_libdir}/R/library/%{modulename}
This page took 0.049876 seconds and 4 git commands to generate.