%define pkgname outliers %define _rlibdir %{_datadir}/R/library Name: R-%{pkgname} Version: 0.14 Release: 1mamba Summary: A collection of some tests commonly used for identifying outliers. Group: Applications/Mathematics Vendor: openmamba Distribution: openmamba Packager: Stefano Cotta Ramusino URL: http://cran.r-project.org/web/packages/outliers Source: http://cran.r-project.org/src/contrib/%{pkgname}_%{version}.tar.gz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: R ## AUTOBUILDREQ-END Requires: R BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A collection of some tests commonly used for identifying outliers. This package contains an R extension. %prep %setup -q -n %{pkgname} %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -d %{buildroot}%{_rlibdir} R CMD INSTALL %{S:0} \ -l %{buildroot}%{_rlibdir} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_rlibdir}/%{pkgname} %changelog * Tue Jun 05 2012 Stefano Cotta Ramusino 0.14-1mamba - package created by autospec