LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File jags.spec of Package JAGS (Project home:cornell_vrdc)

Name: jags
Version: 1.0.4
Release: 2%{?dist}
Summary: Just Another Gibbs Sampler
URL: http://mcmc-jags.sourceforge.net
Source0: http://mcmc-jags.sourceforge.net/JAGS-%{version}.tar.gz
License: GPLv2
Group: Applications/Engineering
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires: gcc-c++
%if %{_vendor} == "suse"
BuildRequires:  blas, lapack 
%if %{suse_version} >= 1100
BuildRequires: gcc-fortran, liblapack3, libblas3
BuildRequires: gcc-g77
BuildRequires: gcc-gfortran, lapack-devel, blas-devel

JAGS (Just Another Gibbs Sampler) is a program for the analysis of
Bayesian statistical models using Markov Chain Monte Carlo (MCMC)

JAGS is similar to the BUGS (Bayesian Inference using Gibbs Sampling)
program developed at the MRC Biostatistics Unit, Cambridge, and uses a
dialect of the BUGS language to describe Bayesian hierarchical models.

%package devel
Summary: JAGS development libraries
Group: Applications/Engineering
Requires: jags  = %{version}
%if %{_vendor} == "suse"
%if %{suse_version} >= 1100
Requires: gcc-fortran, gcc-c++
Requires: gcc-c++, gcc-g77
Requires: gcc-c++, gcc-gfortran

%description devel

JAGS headers and libraries. Install jags-devel if you are going to 
link a program against the JAGS library, or extend the functionality
of JAGS by developing/installing JAGS modules.

%setup -q -n JAGS-%{version}

%if %{_vendor} == "suse"
 %if %{suse_version} >= 1100
   export F77=gfortran
export F77=g77
 export F77=gfortran

make install DESTDIR=${RPM_BUILD_ROOT} 

%defattr(-, root, root)

%files devel
%defattr(-, root, root)

rm -rf ${RPM_BUILD_ROOT};



* Thu Feb 5 2009 Lars Vilhuber <virtualrdc@cornell.edu> 1.0.3-2
- Adapted to openSUSE build service
- Adjusted for building on SUSE systems (different Requires and BuildRequires)

* Thu Jul 17 2008 Martyn Plummer <martyn_plummer@sourceforge.net> 1.0.3-1
- Built JAGS 1.0.3

* Tue May 20 2008 Martyn Plummer <martyn_plummer@sourceforge.net> 1.0.2-3
- Modified descriptions
- Built on Fedora 9.

* Mon May 19 2008 Martyn Plummer <martyn_plummer@sourceforge.net> 1.0.2-2
- Moved libjags.so and libjrmath.so into devel package
- Added blas-devel as build requirement

* Fri May 16 2008 Martyn Plummer <martyn_plummer@sourceforge.net> 1.0.2-1
- First attempt