]> git.pld-linux.org Git - packages/R-cran-acepack.git/blame - R-cran-acepack.spec
- fixed install
[packages/R-cran-acepack.git] / R-cran-acepack.spec
CommitLineData
b04e130a 1%define fversion %(echo %{version} |tr r -)
eca5418e 2%define modulename acepack
b04e130a 3Summary: ace() and avas() for selecting regression transformations
222382d5 4Summary(pl.UTF-8): ace() i avas() do wyboru przekształceń regresji
b04e130a 5Name: R-cran-%{modulename}
ee1c1d10 6Version: 1.3r3.3
25f20882 7Release: 2
b04e130a 8License: avas is public domain, ace is on Statlib
9Group: Applications/Math
10Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
ee1c1d10 11# Source0-md5: 088bedfe9e976ad15205645f499c842e
c42c4d96
JR
12BuildRequires: R >= 2.8.1
13BuildRequires: gcc-fortran
14Requires(post,postun): R >= 2.8.1
b04e130a 15Requires(post,postun): perl-base
16Requires(post,postun): textutils
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20ACE and AVAS methods for choosing regression transformations.
21
1ab5fe95
JR
22%description -l pl.UTF-8
23Metody ACE i AVAS do wyboru przekształceń regresji.
b04e130a 24
25%prep
26%setup -q -c
27
28%build
29R CMD build %{modulename}
30
31%install
32rm -rf $RPM_BUILD_ROOT
25f20882 33install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
33748078 34R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library
b04e130a 35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%post
40(cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
cf194220 41 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
b04e130a 42
43%postun
44if [ -f %{_libdir}/R/bin/Rcmd ];then
45 (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
cf194220 46 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
b04e130a 47fi
48
49%files
50%defattr(644,root,root,755)
51%doc %{modulename}/DESCRIPTION %{modulename}/README* %{modulename}/ace.doc
52%{_libdir}/R/library/%{modulename}
This page took 0.064146 seconds and 4 git commands to generate.