]> git.pld-linux.org Git - packages/R-cran-mlbench.git/commitdiff
- initital... auto/ac/R-cran-mlbench-1_0r0-1
authorundefine <undefine@pld-linux.org>
Wed, 17 Nov 2004 00:01:40 +0000 (00:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    R-cran-mlbench.spec -> 1.1

R-cran-mlbench.spec [new file with mode: 0644]

diff --git a/R-cran-mlbench.spec b/R-cran-mlbench.spec
new file mode 100644 (file)
index 0000000..7680ff4
--- /dev/null
@@ -0,0 +1,54 @@
+%define                fversion        %(echo %{version} |tr r -)
+%define                modulename      mlbench
+Summary:       Machine Learning Benchmark Problems
+Summary(pl):   Testy wydajno¶ci uczenia maszyny
+Name:          R-cran-%{modulename}
+Version:       1.0r0
+Release:       1
+License:       Free for non-commercial purposes. See the file README and the help pages of the data sets for details.
+Group:         Applications/Math
+Source0:       ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: 101108689bd005ef96641a8c33f17698
+BuildRequires: R-base >= 2.0.0
+Provides:      R-mlbench
+Requires(post,postun): R-base >= 2.0.0
+Requires(post,postun): perl-base
+Requires(post,postun): textutils
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A collection of artificial and real-world machine learning benchmark
+problems, including, e.g., several data sets from the UCI repository.
+
+%description -l pl
+Ten podpakiet R zawiera zestaw rzeczywistych danych i funkcji do
+tworzenia sztucznych danych s³u¿±cych jako test wydajno¶ci metod
+uczenia maszyny.
+
+%prep
+%setup -q -c
+
+%build
+R CMD build %{modulename}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+(cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
+ R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --htmllist)
+
+%postun
+if [ -f %{_libdir}/R/bin/Rcmd ];then
+       (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
+       R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --htmllist)
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc %{modulename}/{DESCRIPTION,COPYING,NEWS,README}
+%{_libdir}/R/library/%{modulename}
This page took 0.218998 seconds and 4 git commands to generate.