diff --git a/R-outliers.spec b/R-outliers.spec new file mode 100644 index 0000000..973bb9d --- /dev/null +++ b/R-outliers.spec @@ -0,0 +1,47 @@ +%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 diff --git a/README.md b/README.md index 1b8143e..44df9f4 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # R-outliers +A collection of some tests commonly used for identifying outliers. + +This package contains an R extension. +