Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 3f3c090cb7ed5ebeba3c490fc8938374 > files > 1

R-cran-R2HTML-1.59-1mdv2009.0.src.rpm

%define modulename R2HTML
%define realver 1.59
%define r_library %{_libdir}/R/library

Summary:	HTML exportation for R objects
Name:		R-cran-%{modulename}
Version:	%realver
Release:	%mkrel 1
License:	GPLv2+
Group:		Sciences/Mathematics
Url:		http://cran.r-project.org/web/packages/%{modulename}/index.html
Source0:	http://cran.r-project.org/src/contrib/%{modulename}_%{realver}.tar.gz
BuildRequires:	R-base
Requires:	R-base
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

%description
Includes HTML function and methods to write in an HTML file.
Thus, making HTML reports is easy. Includes a function that allows 
redirection on the fly, which appears to be very usefull for teaching 
purpose, as the student can keep a copy of the produced output to keep 
all that he did during the course. Package comes with a vignette 
describing how to write HTML reports for statistical analysis.
Finally, a driver for Sweave allows to parse HTML flat files 
containing R code and to automatically write the corresponding 
outputs (tables and graphs).

%prep
%setup -q -c

%build

R CMD build %{modulename}

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

mkdir -p %{buildroot}/%{r_library}

# (tpg) install
R CMD INSTALL %{modulename} --library=%{buildroot}/%{r_library}

# (tpg) provided by R-base
rm -rf %{buildroot}/%{r_library}/R.css

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{r_library}/%{modulename}


%changelog
* Sun Aug 10 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.59-1mdv2009.0
+ Revision: 270297
- update to new version 1.59

* Fri Aug 01 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.58-4mdv2009.0
+ Revision: 260150
- rebuild

* Fri Jul 25 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.58-3mdv2009.0
+ Revision: 248236
- rebuild

* Sun Feb 17 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.58-1mdv2008.1
+ Revision: 169873
- import R-cran-R2HTML