- initital AC-branch AC-STABLE auto/ac/R-cran-acepack-1_3r2_1-1
authorundefine <undefine@pld-linux.org>
Tue, 16 Nov 2004 22:30:50 +0000 (22:30 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    R-cran-acepack.spec -> 1.1

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

diff --git a/R-cran-acepack.spec b/R-cran-acepack.spec
new file mode 100644 (file)
index 0000000..e5b86a4
--- /dev/null
@@ -0,0 +1,50 @@
+%define                fversion        %(echo %{version} |tr r -)
+%define         modulename     acepack
+Summary:       ace() and avas() for selecting regression transformations
+Summary(pl):   ace() i avas() do wyboru regresji transformacji
+Name:          R-cran-%{modulename}
+Version:       1.3r2.1
+Release:       1
+License:       avas is public domain, ace is on Statlib
+Group:         Applications/Math
+Source0:       ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: eb75cab587664b58df4a14c65f450b62
+BuildRequires: R-base >= 2.0.0
+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
+ACE and AVAS methods for choosing regression transformations.
+
+%description -l pl
+Metody ACE i AVAS do wyboru regresji transformacji.
+
+%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 %{modulename}/README* %{modulename}/ace.doc
+%{_libdir}/R/library/%{modulename}
This page took 0.097632 seconds and 4 git commands to generate.