[packages/mc-stan] - initial version

wrobell wrobell at pld-linux.org
Wed Dec 12 21:36:39 CET 2012


commit 5cb1d6bcca3409c8af633417b2602e36afc8e79e
Author: wrobell <wrobell at pld-linux.org>
Date:   Wed Dec 12 20:35:44 2012 +0000

    - initial version

 mc-stan.spec | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
---
diff --git a/mc-stan.spec b/mc-stan.spec
new file mode 100644
index 0000000..77468e6
--- /dev/null
+++ b/mc-stan.spec
@@ -0,0 +1,35 @@
+Summary:	Monte Carlo No-U-Turn sampler
+Name:		mc-stan
+Version:	1.0.3
+Release:	0.1
+License:	BSD
+Group:		Libraries
+Source0:	https://stan.googlecode.com/files/stan-src-%{version}.tgz
+# Source0-md5:	4009312f277ce52027a5c1dd3a22b917
+URL:		http://mc-stan.org/
+BuildRequires:	libstdc++-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Stan is a package for obtaining Bayesian inference using the No-U-Turn
+sampler, a variant of Hamiltonian Monte Carlo.
+
+%prep
+%setup -q -n stan-src-%{version}
+
+%build
+make bin/stanc
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+
+install bin/stanc $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.txt
+%attr(755,root,root) %{_bindir}/stanc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mc-stan.git/commitdiff/5cb1d6bcca3409c8af633417b2602e36afc8e79e



More information about the pld-cvs-commit mailing list