%undefine _debugsource_packages Name: fjcontrib Version: 1.045 Release: 1%{?dist} License: GPLv2+ Url: http://www.fjcontrib.fr Source0: https://fastjet.hepforge.org/contrib/downloads/%{name}-%{version}.tar.gz Patch0: patch-fjcontrib-0.txt Patch1: patch-fjcontrib-1.txt Prefix: %{_prefix} Summary: The fastjet-contrib space is intended to provide a common location for access to 3rd party extensions of FastJet. BuildRequires: gcc-gfortran gcc-c++ fastjet-devel fastjet Requires: fastjet %description The fastjet-contrib space is intended to provide a common location for access to 3rd party extensions of FastJet. %prep %setup -q %patch0 -p 2 #%patch1 -p 2 %build %configure CXXFLAGS="$CXXFLAGS -std=c++11 -fPIC " make make fragile-shared %install make install DESTDIR=%{buildroot} make fragile-shared-install DESTDIR=%{buildroot} %post ldconfig %files /usr/include/fastjet/contrib/* %{_prefix}/%_lib/* %changelog * Thu Nov 23 2017 Andrii Verbytskyi andrii.verbytskyi@mpp.mpg.de - Initial