1 %define fversion %(echo %{version} |tr r -)
2 %define modulename e1071
3 Summary: Misc Functions of the Department of Statistics (e1071), TU Wien
4 Summary(pl): Ró¿ne funkcje Wydzia³u Statystyki (e1071) Politechniki Wiedeñskiej
5 Name: R-cran-%{modulename}
8 License: GPL v2. See COPYRIGHT.svm.cpp for the copyright of the svm C++ code.
9 Group: Applications/Math
10 Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
11 # Source0-md5: 5f0a033bb84d4be58575b3eb9549d53f
12 BuildRequires: R-base >= 2.0.0
13 # should be BR: R-cran-class, but our builders doesn't support BR: foo after Provides: foo
14 BuildRequires: R-cran-VR
15 Requires(post,postun): R-base >= 2.0.0
16 Requires(post,postun): perl-base
17 Requires(post,postun): textutils
18 Requires: R-cran-class
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Functions for latent class analysis, short time Fourier transform,
23 fuzzy clustering, support vector machines, shortest path computation,
24 bagged clustering, naive Bayes classifier, ...
27 Funkcje do analizy klas, szybkiej transformaty Fouriera, rozmytego
28 klastrowania, obs³ugi maszyn wektorowych, obliczenia najkrótszych
29 ¶cie¿ek, naiwnej klasyfikacji Bayesa...
35 rm -rf $RPM_BUILD_ROOT
36 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
39 rm -rf $RPM_BUILD_ROOT
42 (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
43 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --htmllist)
46 if [ -f %{_libdir}/R/bin/Rcmd ];then
47 (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
48 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --htmllist)
52 %defattr(644,root,root,755)
53 %doc %{modulename}/{DESCRIPTION,COPYRIGHT.*,NEWS,README}
54 %{_libdir}/R/library/%{modulename}