]> git.pld-linux.org Git - SPECS.git/blob - mc-stan.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / mc-stan.spec
1 Summary:        Monte Carlo No-U-Turn sampler
2 Name:           mc-stan
3 Version:        1.3.0
4 Release:        0.1
5 License:        BSD
6 Group:          Libraries
7 Source0:        https://stan.googlecode.com/files/stan-src-%{version}.tgz
8 # Source0-md5:  a3cbfcf348f7bfbfde29999f734179e1
9 URL:            http://mc-stan.org/
10 BuildRequires:  libstdc++-devel
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Stan is a package for obtaining Bayesian inference using the No-U-Turn
15 sampler, a variant of Hamiltonian Monte Carlo.
16
17 %prep
18 %setup -q -n stan-src-%{version}
19
20 %build
21 make bin/stanc
22
23 %install
24 rm -rf $RPM_BUILD_ROOT
25 install -d $RPM_BUILD_ROOT%{_bindir}
26
27 install bin/stanc $RPM_BUILD_ROOT%{_bindir}
28
29 %clean
30 rm -rf $RPM_BUILD_ROOT
31
32 %files
33 %defattr(644,root,root,755)
34 %doc *.txt
35 %attr(755,root,root) %{_bindir}/stanc
This page took 0.223022 seconds and 3 git commands to generate.