Hello community,

here is the log from the commit of package espresso for openSUSE:Factory 
checked in at 2014-02-12 07:02:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/espresso (Old)
 and      /work/SRC/openSUSE:Factory/.espresso.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "espresso"

Changes:
--------
New Changes file:

--- /dev/null   2013-11-25 01:44:08.036031256 +0100
+++ /work/SRC/openSUSE:Factory/.espresso.new/espresso.changes   2014-02-12 
07:02:52.000000000 +0100
@@ -0,0 +1,10 @@
+-------------------------------------------------------------------
+Fri Feb  7 17:41:18 UTC 2014 - [email protected]
+
+- build openmpi and non-mpi version
+
+-------------------------------------------------------------------
+Tue Feb  4 18:59:10 UTC 2014 - [email protected]
+
+- initial commit
+

New:
----
  espresso-3.2.0.tar.gz
  espresso.changes
  espresso.spec

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ espresso.spec ++++++
#
# espresso.spec
#
# Copyright (c) 2014 Christoph Junghans
#
# Licensed under the Apache Software License (ASL 2.0)
#


Name:       espresso
Version:    3.2.0
Release:    0
Summary:    Parallel simulation software for soft matter research
Group:      Productivity/Scientific/Chemistry
License:    GPL-3.0
URL:        http://espressomd.org/
Source:     
http://download.savannah.gnu.org/releases/espressomd/%{name}-%{version}.tar.gz

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  openmpi-devel
BuildRequires:  fftw3-devel
BuildRequires:  tcl-devel
BuildRequires:  fdupes
Requires:       %{name}-common

%description
ESPResSo is a highly versatile software package for performing and analyzing
scientific Molecular Dynamics many-particle simulations of coarse-grained
atomistic or bead-spring models as they are used in soft-matter research in
physics, chemistry and molecular biology. It can be used to simulate systems
such as polymers, liquid crystals, colloids, ferrofluids and biological
systems, for example DNA and lipid membranes.

%package openmpi
Summary:    Architecture independent data files for ESPResSo
Group:      Productivity/Scientific/Chemistry
Requires:   %{name}-common

%description openmpi
ESPResSo is a highly versatile software package for performing and analyzing
scientific Molecular Dynamics many-particle simulations of coarse-grained
atomistic or bead-spring models as they are used in soft-matter research in
physics, chemistry and molecular biology. It can be used to simulate systems
such as polymers, liquid crystals, colloids, ferrofluids and biological
systems, for example DNA and lipid membranes.

This package contains openmpi version of ESPResSo

%package common
Summary:    Architecture independent data files for ESPResSo
Group:      Productivity/Scientific/Chemistry
BuildArch:  noarch
Requires:   tcl

%description common
ESPResSo is a highly versatile software package for performing and analyzing
scientific Molecular Dynamics many-particle simulations of coarse-grained
atomistic or bead-spring models as they are used in soft-matter research in
physics, chemistry and molecular biology. It can be used to simulate systems
such as polymers, liquid crystals, colloids, ferrofluids and biological
systems, for example DNA and lipid membranes.

This package contains architecture independent data files for ESPResSo.

%package doc
Summary:    Architecture independent data files for ESPResSo
Group:      Productivity/Scientific/Chemistry
BuildArch:  noarch

%description doc
ESPResSo is a highly versatile software package for performing and analyzing
scientific Molecular Dynamics many-particle simulations of coarse-grained
atomistic or bead-spring models as they are used in soft-matter research in
physics, chemistry and molecular biology. It can be used to simulate systems
such as polymers, liquid crystals, colloids, ferrofluids and biological
systems, for example DNA and lipid membranes.

This package contains documentation for ESPResSo.

%prep
%setup -q

%build
# call ../configure instead of ./configure
%global ddconfigure %(printf %%s '%configure' | sed 
's!\./configure!../configure!g')

mkdir nompi openmpi
cd nompi
%ddconfigure --without-mpi
make %{?_smp_mflags}
cd ../openmpi
%if %{defined fedora}
%{_openmpi_load}
%endif
%ddconfigure --with-mpi --program-suffix="-openmpi"
make %{?_smp_mflags}

%install
make -C nompi install DESTDIR=%{buildroot}
make -C openmpi install DESTDIR=%{buildroot}
%fdupes $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{_bindir}/Espresso

%files openmpi
%defattr(-,root,root,-)
%{_bindir}/Espresso-openmpi

%files common
%defattr(-,root,root,-)
%{_datadir}/espresso
%doc README COPYING AUTHORS NEWS ChangeLog 

%files doc
%defattr(-,root,root,-)
%doc doc/ug/ug.pdf--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to