]> git.pld-linux.org Git - packages/R-cran-xgobi.git/blame - R-cran-xgobi.spec
- up to 1.2-15
[packages/R-cran-xgobi.git] / R-cran-xgobi.spec
CommitLineData
f7927196 1%define fversion %(echo %{version} |tr r -)
2%define modulename xgobi
3Summary: Interface to the XGobi and XGvis programs for graphical data analysis
2e2283d9 4Summary(pl.UTF-8): Interfejsy do programów XGobi i XGvis do graficznej analizy danych
f7927196 5Name: R-cran-%{modulename}
2261cc47
JR
6Version: 1.2r15
7Release: 1
f7927196 8License: Copyright (C) by Bellcore, non-profit use and redistribution permitted (see COPYING for details)
9Group: Applications/Math
10Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
2261cc47 11# Source0-md5: f940376554daab0cc17a0c0530bc9dfa
0acae8be
JR
12BuildRequires: R >= 2.8.1
13Requires(post,postun): R >= 2.8.1
f7927196 14Requires(post,postun): perl-base
15Requires(post,postun): textutils
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Interface to the XGobi and XGvis programs for graphical data analysis.
20
1817400c
JR
21%description -l pl.UTF-8
22Interfejsy do programów XGobi i XGvis do graficznej analizy danych.
f7927196 23
24%prep
25%setup -q -c
26
27%build
28R CMD build %{modulename}
29
30%install
31rm -rf $RPM_BUILD_ROOT
32R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
33
34%clean
35rm -rf $RPM_BUILD_ROOT
36
37%post
38(cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
fc310466 39 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
f7927196 40
41%postun
42if [ -f %{_libdir}/R/bin/Rcmd ];then
43 (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
fc310466 44 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
f7927196 45fi
46
47%files
48%defattr(644,root,root,755)
49%doc %{modulename}/{DESCRIPTION,README,COPYING,ChangeLog}
50%{_libdir}/R/library/%{modulename}
This page took 0.064834 seconds and 4 git commands to generate.