]> git.pld-linux.org Git - packages/R-cran-rjags.git/commitdiff
- based on R-cran-DBI.spec
authorwrobell <wrobell@pld-linux.org>
Mon, 2 Apr 2012 20:06:00 +0000 (20:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    R-cran-rjags.spec -> 1.1

R-cran-rjags.spec [new file with mode: 0644]

diff --git a/R-cran-rjags.spec b/R-cran-rjags.spec
new file mode 100644 (file)
index 0000000..cf3fd5b
--- /dev/null
@@ -0,0 +1,39 @@
+%define                fversion        %(echo %{version} | tr r -)
+%define                modulename      rjags
+Summary:       Interface to the JAGS MCMC library
+Name:          R-cran-%{modulename}
+Version:       0.3r5
+Release:       1
+License:       GPL
+Group:         Applications/Databases
+Source0:       http://cran.r-project.org/src/contrib/%{modulename}_%{fversion}.tar.gz
+# Source0-md5: 2337db7420746aeaeb631c950bbaeb82
+BuildRequires: R >= 2.12.0
+#BuildRequires:        tetex-latex-ae
+#BuildRequires:        tetex-latex-bibtex
+#Requires(post,postun):        R >= 2.12.0
+#Requires(post,postun):        perl-base
+#Requires(post,postun):        textutils
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Interface to the JAGS MCMC library.
+
+%prep
+%setup -q -c
+
+%build
+R CMD build %{modulename}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/R/library/
+R CMD INSTALL %{modulename} --library=$RPM_BUILD_ROOT%{_libdir}/R/library/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc %{modulename}/DESCRIPTION
+%{_libdir}/R/library/%{modulename}
This page took 0.05665 seconds and 4 git commands to generate.