Sophie

Sophie

distrib > Mandriva > 2010.1 > i586 > by-pkgid > b9db468060798a151a4b782ffcef37e1 > files > 1

R-cran-abind-1.1.0-5mdv2010.0.src.rpm

%define modulename abind
%define realver 1.1-0
%define r_library %{_libdir}/R/library

Summary:	Combine multi-dimensional arrays for R
Name:		R-cran-%{modulename}
Version:	%(echo %realver|tr '-' '.')
Release:	%mkrel 5
License:	LGPLv2+
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
Combine multi-dimensional arrays.This is a generalization of 
cbind and rbind.Takes a sequence of vectors, matrices, or arrays 
and produces a single array of the same or higher dimension.

%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
* Tue Sep 08 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.1.0-5mdv2010.0
+ Revision: 433066
- rebuild

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

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

* Sun Feb 17 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 1.1.0-1mdv2008.1
+ Revision: 169958
- complete spec file
- fix Url
- add source and spec file
- Created package structure for R-cran-abind.