%global debug_package %{nil} %global _lto_cflags %nil Name: nlox Version: 1.2.1 Release: 5%{?dist} Summary: nlox package License: GPL URL: http://www.hep.fsu.edu/~nlox/ Source0: https://gitlab.cern.ch/averbyts/nlox/-/archive/1.2.2.atlas5/nlox-1.2.2.atlas5.zip BuildRequires: cmake BuildRequires: gcc-gfortran BuildRequires: gcc-c++ BuildRequires: python3 BuildRequires: libquadmath-devel %description nlox is a package . %prep %setup -q -n nlox-1.2.2.atlas5 %build export CXXFLAGS='%{optflags} -fno-var-tracking -Wno-reorder -Wno-sign-compare -Wno-unused-variable' %cmake . -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir}/nlox -DDEFAULT_NLOX_PATH=%{_libdir}/nlox -DCMAKE_VERBOSE_MAKEFILE=OFF -DNLOX_PROCESSES="pp_Wpttbar;pp_Wmttbar;pp_Zttbar_as3ae1;pp_ttbarepem_as3ae2" %cmake_build %install %cmake_install %files %{_libdir}/nlox %changelog * Thu Oct 24 2024 Your Name - 1.0.0-1 • Initial package with patch and devel subpackage