%global debug_package %{nil} %global _lto_cflags %nil Name: nlox Version: 1.2.1 Release: 1%{?dist} Summary: nlox package License: GPL URL: https://vvamp.hepforge.org/ Source0: nlox-1.2.1.tar.xz BuildRequires: cmake BuildRequires: gcc-gfortran BuildRequires: gcc-c++ BuildRequires: python3 BuildRequires: libquadmath-devel %description nlox is a package . %prep %setup -q %build export CXXFLAGS='%{optflags} -fno-var-tracking -Wno-reorder -Wno-sign-compare -Wno-unused-variable' %cmake . -DCMAKE_INSTALL_LIBDIR: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