]> git.pld-linux.org Git - packages/R-cran-rjags.git/blame - R-cran-rjags.spec
- based on R-cran-DBI.spec
[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}
5Version: 0.3r5
6Release: 1
7License: GPL
8Group: Applications/Databases
9Source0: http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
10# Source0-md5: 2337db7420746aeaeb631c950bbaeb82
11BuildRequires: R >= 2.12.0
12#BuildRequires: tetex-latex-ae
13#BuildRequires: tetex-latex-bibtex
14#Requires(post,postun): R >= 2.12.0
15#Requires(post,postun): perl-base
16#Requires(post,postun): textutils
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Interface to the JAGS MCMC library.
21
22%prep
23%setup -q -c
24
25%build
26R CMD build %{modulename}
27
28%install
29rm -rf $RPM_BUILD_ROOT
30install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
31R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
32
33%clean
34rm -rf $RPM_BUILD_ROOT
35
36%files
37%defattr(644,root,root,755)
38%doc %{modulename}/DESCRIPTION
39%{_libdir}/R/library/%{modulename}
This page took 0.057525 seconds and 4 git commands to generate.