Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.2:Update
pythia
pythia.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pythia.spec of Package pythia
# # spec file for package pythia # # Copyright (c) 2014 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 8186 %define soname %{name}-libs Name: pythia Version: 8.186 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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor