%define major 0 %define libname gosam-contrib %define libnamedev gosam-contrib-devel %define develnamestatic gosam-contrib-static-devel Name: gosam-contrib Version: 2.0 Release: 1%{?dist} License: Custom Url: http://www.gosam.hepforge.org Source0: https://gosam.hepforge.org/gosam-contrib-2.0-latest.tar.gz Summary: Automated calculation of one-loop amplitudes BuildRequires: gcc-gfortran gcc-c++ autoconf automake libtool %if %{?fedora}%{!?fedora:0} || %{?rhel}%{!?rhel:0} >= 8 Requires: python2 %else Requires: python %endif Prefix: %{_prefix} %description The gosam-contrib project %prep %setup -q %build %configure make %{?_smp_mflags} %install %make_install %files %doc AUTHORS README COPYING %_bindir/* %{_datadir}/%{name}/ %_includedir/%{name}/ %_includedir/ninja/ %_libdir/pkgconfig/samurai.pc %_libdir/libavh_olo.a %_libdir/libavh_olo.la %_libdir/libavh_olo.so %_libdir/libavh_olo.so.0 %_libdir/libavh_olo.so.0.0.0 %_libdir/libff.a %_libdir/libff.la %_libdir/libff.so %_libdir/libff.so.0 %_libdir/libff.so.0.0.0 %_libdir/libgolem.a %_libdir/libgolem.la %_libdir/libgolem.so %_libdir/libgolem.so.0 %_libdir/libgolem.so.0.0.0 %_libdir/libninja.a %_libdir/libninja.la %_libdir/libninja.so %_libdir/libninja.so.0 %_libdir/libninja.so.0.0.0 %_libdir/libqcdloop.a %_libdir/libqcdloop.la %_libdir/libqcdloop.so %_libdir/libqcdloop.so.0 %_libdir/libqcdloop.so.0.0.0 %_libdir/libsamurai.a %_libdir/libsamurai.la %_libdir/libsamurai.so %_libdir/libsamurai.so.0 %_libdir/libsamurai.so.0.0.0 %changelog * Thu May 26 2016 Andrii Verbytskyi 2.0.3 + Initial spec file