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