%define debug_package %{nil} Name: pythia6 Version: 6.4.28 Release: 2%{?dist} Summary: Pythia Event Generator for High Energy Physics License: Unknown URL: http://home.thep.lu.se/~torbjorn/Pythia.html Source0: http://www.hepforge.org/archive/pythiasix/pythia-6.4.28.tgz Patch0: patch-pythia6-0.txt BuildRequires: gcc-gfortran BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Prefix: %{_prefix} %description PYTHIA is a program for the generation of high-energy physics events, i.e. for the description of collisions at high energies between elementary particles such as e+, e-, p and anti-p in various combinations. It contains theory and models for a number of physics aspects, including hard and soft interactions, parton distributions, initial and final-state parton showers, multiple interactions, fragmentation and decay. %prep %setup -q -c pythia-6.4.28 %patch0 -p0 %build make %{?_smp_mflags} lib %install mkdir -p %{buildroot}%{_libdir} install -m 755 libpythia6.so %{buildroot}%{_libdir} install -m 755 libpythia6.a %{buildroot}%{_libdir} install -m 755 libpythia6_dummy.so %{buildroot}%{_libdir} install -m 755 libpythia6_dummy.a %{buildroot}%{_libdir} %clean %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %{_libdir}/* %changelog * Fri Jul 18 2014 Mattias Ellert - 8.1.86-1 - Update to version 8.1.86