Name: ctp3-ipbus Version: 0.12.0 Release: 1%{?dist} Summary: CTP3 ipbus - ctp software for ALICE RUN 3 Group: System Environment/Libraries License: LGPL v3+ Source0: %{name}-%{version}.tar.gz BuildRequires: cmake, doxygen, boost-devel BuildRequires: cactuscore-uhal-grammars, cactuscore-uhal-log, cactuscore-uhal-uhal BuildRequires: qt5-qtbase-devel Requires: rarpd %global debug_package %{nil} # enable it to compile python #%global _python_bytecompile_errors_terminate_build 0 %define ctp3_root /opt/ctp3-ipbus %description CTP3 ipbus - ctp software for ALICE RUN 3 %prep %setup -q %build mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=%{ctp3_root} -DCMAKE_BUILD_TYPE=Release make %{?_smp_mflags} cd ../ %install rm -rf %{buildroot} cd build make install DESTDIR=%{buildroot} cd ../ #mkdir -p %{buildroot}/etc/profile.d #cp etc/profile.d/*.sh %{buildroot}/etc/profile.d/ %files %{ctp3_root}/* #%{_sysconfdir}/profile.d/* %changelog