]> git.pld-linux.org Git - packages/R-cran-e1071.git/blob - R-cran-e1071.spec
- release 2, BR: R-cran-class
[packages/R-cran-e1071.git] / R-cran-e1071.spec
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}
6 Version:        1.5r1
7 Release:        2
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)
19
20 %description
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, ...
24
25 %description -l pl
26 Funkcje do analizy klas, szybkiej transformaty Fouriera, rozmytego
27 klastrowania, obs³ugi maszyn wektorowych, obliczenia najkrótszych
28 ¶cie¿ek, naiwnej klasyfikacji Baysa, ...
29
30 %prep
31 %setup -q -c
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %post
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)
43
44 %postun
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)
48 fi
49
50 %files
51 %defattr(644,root,root,755)
52 %doc %{modulename}/{DESCRIPTION,COPYRIGHT.*,NEWS,README}
53 %{_libdir}/R/library/%{modulename}
This page took 0.280598 seconds and 4 git commands to generate.