Hello community,

here is the log from the commit of package pythia for openSUSE:Factory checked 
in at 2014-06-16 21:32:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pythia (Old)
 and      /work/SRC/openSUSE:Factory/.pythia.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pythia"

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

--- /dev/null   2014-06-12 08:28:52.960034756 +0200
+++ /work/SRC/openSUSE:Factory/.pythia.new/pythia.changes       2014-06-16 
21:32:21.000000000 +0200
@@ -0,0 +1,21 @@
+-------------------------------------------------------------------
+Sat Mar 15 21:21:44 UTC 2014 - badshah...@gmail.com
+
+- Update to version 8.185:
+  + This is a bug-fix release, see
+    http://www.hepforge.org/lists-archive/pythia8-announce/2014/000007.html
+    for a summary of changes.
+
+-------------------------------------------------------------------
+Sat Feb 22 05:10:04 UTC 2014 - badshah...@gmail.com
+
+- Update to version 8.183:
+  + This is a bug-fix release, see
+    http://www.hepforge.org/lists-archive/pythia8-announce/2014/000006.html
+    for a list of changes.
+
+-------------------------------------------------------------------
+Tue Dec 10 23:32:03 UTC 2013 - badshah...@gmail.com
+
+- Initial version
+

New:
----
  pythia.changes
  pythia.spec
  pythia8185.tgz

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

Other differences:
------------------
++++++ pythia.spec ++++++
#
# spec file for package pythia
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


%define ver 8185
%define soname %{name}-libs

Name:           pythia
Version:        8.185
Release:        0
Summary:        A simulation program for particle collisions at very high 
energies
License:        GPL-2.0
Group:          Development/Libraries/C and C++
Url:            http://home.thep.lu.se/~torbjorn/Pythia.html
Source:         http://home.thep.lu.se/~torbjorn/pythia8/%{name}%{ver}.tgz
BuildRequires:  HepMC-devel
BuildRequires:  fdupes
BuildRequires:  gcc-c++
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Pythia can be used to generate high-energy-physics ‘events’, i.e. sets
of outgoing particles produced in the interactions between two
incoming particles. The objective is to provide as accurate as
possible a representation of event properties in a wide range of
reactions, within and beyond the Standard Model, with emphasis on
those where strong interactions play a role, directly or indirectly,
and therefore multihadronic final states are produced. The physics is
then not understood well enough to give an exact description; instead
the program has to be based on a combination of analytical results and
various QCD-based models. Extensive information is provided on all
program elements: subroutines and functions, switches and parameters,
and particle and process data. This should allow the user to tailor
the generation task to the topics of interest.

%package -n %{soname}
Summary:        A simulation program for particle collisions at very high 
energies
Group:          Development/Libraries/C and C++

%description -n %{soname}
Pythia can be used to generate high-energy-physics ‘events’, i.e. sets
of outgoing particles produced in the interactions between two
incoming particles. The objective is to provide as accurate as
possible a representation of event properties in a wide range of
reactions, within and beyond the Standard Model, with emphasis on
those where strong interactions play a role, directly or indirectly,
and therefore multihadronic final states are produced. The physics is
then not understood well enough to give an exact description; instead
the program has to be based on a combination of analytical results and
various QCD-based models. Extensive information is provided on all
program elements: subroutines and functions, switches and parameters,
and particle and process data. This should allow the user to tailor
the generation task to the topics of interest.

This package provides the shared libraries for %{name}.

%package devel
Summary:        A simulation program for particle collisions at very high 
energies
Group:          Development/Libraries/C and C++
Requires:       %{soname} = %{version}
Recommends:     %{name}-doc

%description devel
Pythia can be used to generate high-energy-physics ‘events’, i.e. sets
of outgoing particles produced in the interactions between two
incoming particles. The objective is to provide as accurate as
possible a representation of event properties in a wide range of
reactions, within and beyond the Standard Model, with emphasis on
those where strong interactions play a role, directly or indirectly,
and therefore multihadronic final states are produced. The physics is
then not understood well enough to give an exact description; instead
the program has to be based on a combination of analytical results and
various QCD-based models. Extensive information is provided on all
program elements: subroutines and functions, switches and parameters,
and particle and process data. This should allow the user to tailor
the generation task to the topics of interest.

This package provides the header and source files for development with
%{name}.

%package doc
Summary:        A simulation program for particle collisions at very high 
energies
Group:          Documentation/HTML

%description doc
Pythia can be used to generate high-energy-physics ‘events’, i.e. sets
of outgoing particles produced in the interactions between two
incoming particles. The objective is to provide as accurate as
possible a representation of event properties in a wide range of
reactions, within and beyond the Standard Model, with emphasis on
those where strong interactions play a role, directly or indirectly,
and therefore multihadronic final states are produced. The physics is
then not understood well enough to give an exact description; instead
the program has to be based on a combination of analytical results and
various QCD-based models. Extensive information is provided on all
program elements: subroutines and functions, switches and parameters,
and particle and process data. This should allow the user to tailor
the generation task to the topics of interest.

This package provides documentation for development with %{name}.

%prep
%setup -q -n %{name}%{ver}

%build
# FIX EOF ENCODINGS
sed -i 's/\r$//' xmldoc/mrstlostarstar.00.dat
sed -i 's/\r$//' xmldoc/lejon2.eps
sed -i 's/\r$//' {phpdoc,htmldoc}/pythia.css
sed -i 's/\r$//' examples/softsusy.spc

./configure \
  --prefix=%{buildroot}%{_prefix} \
  --enable-shared \
  --with-hepmc=%{_prefix} \
  --datadir=%{buildroot}%{_docdir}/%{name}

# EXPORT PYTHIA8DATA ENV VARIABLE
cat << EOF >> %{name}.sh
export PYTHIA8DATA=%{_docdir}/%{name}/xmldoc
EOF

cat << EOF >> %{name}.csh
setenv PYTHIA8DATA %{_docdir}/%{name}/xmldoc
EOF

install -D -m0644 %{name}.csh %{buildroot}%{_sysconfdir}/profile.d/%{name}.csh
install -D -m0644 %{name}.sh %{buildroot}%{_sysconfdir}/profile.d/%{name}.sh

# INFORM PYTHIA ABT LOCATION OF LIBS
sed -i "s|libdir=$prefix/lib|libdir=%{_libdir}|" pythia8-config.in

make %{?_smp_mflags}

%install
%make_install

rm -fr %{buildroot}%{_prefix}/lib/archive
# MOVE INSTALLED SHARED LIBS TO LIBDIR FOR NON-32 BIT ARCH
%if "%{_lib}" != "lib"
  mkdir -p %{buildroot}%{_libdir}
  mv %{buildroot}%{_prefix}/lib/*.so %{buildroot}%{_libdir}/
%endif

# REMOVE BUILDROOT FROM pythia8-config
sed -i "s|%{buildroot}||g" %{buildroot}%{_bindir}/pythia8-config

# REMOVE UNNEEDED FILES
rm -f %{buildroot}%{_includedir}/.DS_Store \
      %{buildroot}%{_prefix}/config.mk  \
      %{buildroot}%{_prefix}/xmldoc

# INSTALL EXAMPLES ALSO IN DOCDIR
rm -f examples/.DS_Store
cp -pr examples %{buildroot}%{_docdir}/%{name}/

%fdupes -s %{buildroot}%{_docdir}/%{name}/

%post -n %{soname}
/sbin/ldconfig

%postun -n %{soname}
/sbin/ldconfig

%files -n %{soname}
%defattr(-,root,root)
%{_libdir}/*.so

%files devel
%defattr(-,root,root)
%doc AUTHORS COPYING GUIDELINES CODINGSTYLE
%{_bindir}/pythia8-config
%{_includedir}/Pythia8/
%config %{_sysconfdir}/profile.d/%{name}.*
%{_docdir}/%{name}/xmldoc/

%files doc
%defattr(-,root,root)
%dir %{_docdir}/%{name}
%{_docdir}/%{name}/phpdoc/
%{_docdir}/%{name}/htmldoc/
%{_docdir}/%{name}/examples/

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to