Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 9754e9ffa60a233c9d47706d42b82536 > files > 1

R-cran-Rcmdr-1.4.0-4mdv2009.0.src.rpm

%define modulename Rcmdr
%define realver 1.4-0
%define r_library %{_libdir}/R/library

Summary:	A platform-independent basic-statistics GUI for R
Name:		R-cran-%{modulename}
Version:	%(echo %realver|tr '-' '.')
Release:	%mkrel 4
License:	GPLv2+
Group:		Sciences/Mathematics
Url:		http://cran.r-project.org/src/contrib/Descriptions/Rcmdr.html
Source0:	http://cran.r-project.org/src/contrib/%{modulename}_%{realver}.tar.gz
BuildRequires:	R-base
Requires:	R-base
Suggests:	R-cran-abind
Obsoletes:	rcmdr
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

%description
A platform-independent basic-statistics GUI for R language,
based on the tcltk package.

%prep
%setup -q -c

%build
R CMD build %{modulename}

%install
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}%{_libdir}/R/library/R.css

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%{_libdir}/R/library/%{modulename}


%changelog
* Sun Aug 10 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.4.0-4mdv2009.0
+ Revision: 270298
- update to new version 1.4-0

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

* Thu Feb 14 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.3.12-1mdv2008.1
+ Revision: 167220
- better build way
- new name
- complete the spec file
- use hack for versioning
- complete spec file
- Created package structure for rcmdr.