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