]> git.pld-linux.org Git - packages/R-cran-rjags.git/blob - R-cran-rjags.spec
- up to 3-11
[packages/R-cran-rjags.git] / R-cran-rjags.spec
1 %define         fversion        %(echo %{version} | tr r -)
2 %define         modulename      rjags
3 Summary:        Interface to the JAGS MCMC library
4 Name:           R-cran-%{modulename}
5 Version:        3r11
6 Release:        1
7 License:        GPL
8 Group:          Applications/Databases
9 Source0:        http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
10 # Source0-md5:  9a0a23154df35b5fb53c9bee2542af70
11 BuildRequires:  mcmc-jags-devel >= 3.2
12 BuildRequires:  R >= 2.12.0
13 BuildRequires:  R-cran-coda
14 Requires:       R-cran-coda
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Interface to the JAGS MCMC library.
19
20 %prep
21 %setup -q -c
22
23 %build
24 R CMD build %{modulename}
25
26 %install
27 rm -rf $RPM_BUILD_ROOT
28 install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
29 R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
30
31 %clean
32 rm -rf $RPM_BUILD_ROOT
33
34 %files
35 %defattr(644,root,root,755)
36 %doc %{modulename}/DESCRIPTION
37 %{_libdir}/R/library/%{modulename}
This page took 0.069735 seconds and 3 git commands to generate.