]> git.pld-linux.org Git - packages/R-cran-sma.git/commitdiff
- initital pld version AC-branch AC-STABLE auto/ac/R-cran-sma-0_5_14-1
authorundefine <undefine@pld-linux.org>
Wed, 17 Nov 2004 00:47:51 +0000 (00:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    R-cran-sma.spec -> 1.1

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

diff --git a/R-cran-sma.spec b/R-cran-sma.spec
new file mode 100644 (file)
index 0000000..c0c8984
--- /dev/null
@@ -0,0 +1,52 @@
+%define                fversion        %(echo %{version} |tr r -)
+%define                modulename      sma
+Summary:       Statistical Microarray Analysis
+Summary(pl):   Statystyczne analizy mikrotablicowe
+Name:          R-cran-%{modulename}
+Version:       0.5.14
+Release:       1
+License:       GPL version 2 or newer
+Group:         Applications/Math
+Source0:       ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: b669496897c520eb0a78ff62c647f3ef
+URL:           http://www.stat.berkeley.edu/users/terry/zarray/Html/smacode.html
+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
+The package contains some simple functions for exploratory microarray
+analysis.
+
+%description -l pl
+Pakiet zawiera proste funkcje do wyja¶niania analiz mikrotablicowych.
+
+%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
+%{_libdir}/R/library/%{modulename}
This page took 0.068084 seconds and 4 git commands to generate.