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: Ró¿ne funkcje ministerstwa statystyk(e1071), TU, Wiedeñ
5 Name: R-cran-%{modulename}
8 License: GPL version 2. 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 BuildRequires: R-cran-class
14 Requires(post,postun): R-base >= 2.0.0
15 Requires(post,postun): perl-base
16 Requires(post,postun): textutils
17 Requires: R-cran-class
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Functions for latent class analysis, short time Fourier transform,
22 fuzzy clustering, support vector machines, shortest path computation,
23 bagged clustering, naive Bayes classifier, ...
26 Funkcje do analizy klas, szybkiej transformaty Fouriera, rozmytego
27 klastrowania, obs³ugi maszyn wektorowych, obliczenia najkrótszych
28 ¶cie¿ek, naiwnej klasyfikacji Baysa, ...
34 rm -rf $RPM_BUILD_ROOT
35 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
38 rm -rf $RPM_BUILD_ROOT
41 (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
42 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --htmllist)
45 if [ -f %{_libdir}/R/bin/Rcmd ];then
46 (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
47 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --htmllist)
51 %defattr(644,root,root,755)
52 %doc %{modulename}/{DESCRIPTION,COPYRIGHT.*,NEWS,README}
53 %{_libdir}/R/library/%{modulename}