packages: mcmc-jags/mcmc-jags.spec (NEW)=?UTF-8?Q?=20?=- based on quvi.spec

wrobell wrobell at pld-linux.org
Fri Mar 30 21:01:24 CEST 2012


Author: wrobell                      Date: Fri Mar 30 19:01:24 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- based on quvi.spec

---- Files affected:
packages/mcmc-jags:
   mcmc-jags.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mcmc-jags/mcmc-jags.spec
diff -u /dev/null packages/mcmc-jags/mcmc-jags.spec:1.1
--- /dev/null	Fri Mar 30 21:01:24 2012
+++ packages/mcmc-jags/mcmc-jags.spec	Fri Mar 30 21:01:19 2012
@@ -0,0 +1,99 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	static_libs	# don't build static libraries
+#
+Summary:	Just Another Gibbs Sample
+Name:		mcmc-jags
+Version:	3.2.0
+Release:	1
+License:	GPL v2
+Group:		Development/Libraries
+Source0:	http://downloads.sourceforge.net/mcmc-jags/JAGS/3.x/Source/JAGS-%{version}.tar.gz
+# Source0-md5:	31b713864a43f1584f6741b9cb6f970b
+URL:		http://mcmc-jags.sourceforge.net/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+JAGS is Just Another Gibbs Sampler - a program for analysis of Bayesian
+hierarchical models using Markov Chain Monte Carlo (MCMC) simulation not
+wholly unlike BUGS.
+
+%package devel
+Summary:	Header files for JAGS library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for JAGS library.
+
+%package static
+Summary:	Static JAGS library
+Summary(pl.UTF-8):	Statyczna biblioteka quvi
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static JAGS library.
+
+%prep
+%setup -q -n JAGS-%{version}
+
+%build
+%configure \
+	%{?with_static_libs:--enable-static}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog NEWS README
+%attr(755,root,root) %{_bindir}/jags
+%attr(755,root,root) %{_libdir}/jags-terminal
+%attr(755,root,root) %{_libdir}/libjags.so.*.*.*
+%attr(755,root,root) %{_libdir}/libjrmath.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libjags.so.3
+%attr(755,root,root) %ghost %{_libdir}/libjrmath.so.0
+
+%dir %{_libdir}/JAGS
+%dir %{_libdir}/JAGS/modules-3
+%attr(755,root,root) %{_libdir}/JAGS/modules-3/*.so
+%{_libdir}/JAGS/modules-3/*.la
+
+%{_mandir}/man1/*.1*
+
+%files devel
+%defattr(644,root,root,755)
+#%doc doc/*
+%attr(755,root,root) %{_libdir}/libjags.so
+%attr(755,root,root) %{_libdir}/libjrmath.so
+%{_includedir}/JAGS
+%{_pkgconfigdir}/jags.pc
+
+%if %{with static_libs}
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libjags.a
+%{_libdir}/libjrmath.a
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2012/03/30 19:01:19  wrobell
+- based on quvi.spec
+
================================================================


More information about the pld-cvs-commit mailing list