%global debug_package %{nil} %global source_date_epoch_from_changelog %{nil} Name: ndr Version: 0.0.1 Release: 1%{?dist} Summary: NDMSPC root Group: System Environment/Libraries License: LGPL v3+ Source0: %{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake, doxygen BuildRequires: root Requires: root %description NDMSPC root %prep %setup -q %build mkdir build cd build cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCUMENTATION=on make %{?_smp_mflags} cd ../ %install rm -rf %{buildroot} cd build make install DESTDIR=%{buildroot} %files %{_datadir}/%{name}/* %changelog