Name: selfie Version: 1.0.1 Release: 1%{?dist} Summary: A very light profiling tools for GNU/Linux and HPC applications License: CeCILL-C URL: https://github.com/cea-hpc/selFIe Source0: https://github.com/cea-hpc/selFIe/releases/download/%version/%name-%version.tar.gz BuildRequires: openmpi-devel papi-devel gcc-c++ python libyaml-devel %description selFIe (SElf and Light proFIling Engine) is a tool to lightly profile GNU/Linux commands without compiling. selFIe is a dynamic library which can be given to the LD_PRELOAD environment variable before the execution of the command. %prep %setup -q %build %_openmpi_load %configure --prefix=$MPI_HOME --libdir=$MPI_LIB --docdir=%_pkgdocdir --sysconfdir=$MPI_HOME/etc make %{?_smp_mflags} %install %_openmpi_load %make_install rm %buildroot%_libdir/openmpi/lib/*.la %files %doc README.md NEWS %license Licence* %_libdir/openmpi/lib/selfie.so %_libdir/openmpi/etc/selfie.conf %changelog * Wed Feb 21 2018 - - Initial packaging