- rebuild with lapack 3.7
[packages/R-cran-gee.git] / R-cran-gee.spec
CommitLineData
3c324f3a 1%define fversion %(echo %{version} |tr r -)
2%define modulename gee
3Summary: Generalized Estimation Equation solver
e4019617 4Summary(pl.UTF-8): Rozwiązywanie uogólnionych równań estymacji
3c324f3a 5Name: R-cran-%{modulename}
3a9da5d2 6Version: 4.13r18
a236cb75 7Release: 3
6fa98685 8License: GPL v2
3c324f3a 9Group: Applications/Math
10Source0: ftp://stat.ethz.ch/R-CRAN/src/contrib/%{modulename}_%{fversion}.tar.gz
3a9da5d2 11# Source0-md5: 7a74002026426cfbb58e212bf31af38c
35a4f50b 12BuildRequires: R >= 2.8.1
f4080653 13BuildRequires: blas-devel
35a4f50b
JR
14BuildRequires: gcc-fortran
15Requires(post,postun): R >= 2.8.1
3c324f3a 16Requires(post,postun): perl-base
17Requires(post,postun): textutils
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
6fa98685 21Generalized Estimation Equation solver.
3c324f3a 22
173bff3a
JR
23%description -l pl.UTF-8
24Rozwiązywanie uogólnionych równań estymacji.
3c324f3a 25
26%prep
27%setup -q -c
28
29%build
30R CMD build %{modulename}
31
32%install
33rm -rf $RPM_BUILD_ROOT
031d5fe2 34install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
3c324f3a 35R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
36
37%clean
38rm -rf $RPM_BUILD_ROOT
39
40%post
41(cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
7e1c7adb 42 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
3c324f3a 43
44%postun
45if [ -f %{_libdir}/R/bin/Rcmd ];then
46 (cd %{_libdir}/R/library; umask 022; cat */CONTENTS > ../doc/html/search/index.txt
7e1c7adb 47 R_HOME=%{_libdir}/R ../bin/Rcmd perl ../share/perl/build-help.pl --index)
3c324f3a 48fi
49
50%files
51%defattr(644,root,root,755)
52%doc %{modulename}/{DESCRIPTION,README*}
53%{_libdir}/R/library/%{modulename}
This page took 0.139515 seconds and 4 git commands to generate.