# Copyright (c) 2018 Dave Love, University of Manchester # MIT licence (Fedora policy) # Fixme: separate python package (2/3?) Name: tracking Version: 2.6.12 Release: 3%{?dist} Summary: Evolution of parallel application behaviour License: GPLv3 URL: https://tools.bsc.es/tracking Source0: https://ftp.tools.bsc.es/tracking/tracking-%version-src.tar.bz2 Patch1: tracking-inst.patch # use /usr/bin/python3 Patch2: tracking-py3.patch # fix #!/bin/perl Patch3: tracking-perl.patch BuildRequires: paraver-devel >= 4.5.0 clusteringsuite-devel >= 2.6.0 BuildRequires: extrae-devel boost-devel python3-wxpython4 BuildRequires: automake libtool chrpath autoconf BuildRequires: python3-devel Requires: paraver%{_isa} clusteringsuite%{_isa} Requires: python3-matplotlib python3-pillow %{?filter_setup: %filter_from_requires /color-palette\.pl/d %filter_setup } %description Analyze how the behaviour of a parallel application evolves through different scenarios. %package devel Summary: Development files for %name Requires: %name%{?_isa} = %version-%release %description devel Development files for %name. %package doc Summary: Documentation for %name BuildArch: noarch %description doc Documentation for %name %prep %setup -q %patch1 -p1 -b .inst %patch2 -p1 -b .py3 %patch3 -p1 -b .perl autoreconf -fiv -Iconfig %build %configure CPPFLAGS=-I%_includedir/paraver\ -I%_includedir/clusteringsuite --sysconfdir=%_sysconfdir/tracking %make_build AM_LDFLAGS='-L%_libdir/paraver-kernel -lparaver-kernel -lparaver-api' %install %make_install mkdir -p %buildroot%_sysconfdir %buildroot%_pkgdocdir mkdir -p %buildroot%_datadir/icons %buildroot%python3_sitelib/tracking mv %buildroot%_prefix/etc/icons %buildroot%_datadir/icons/tracking mv %buildroot%_prefix/etc %buildroot/%_sysconfdir/tracking mv %buildroot%_prefix/doc/* %buildroot/%_pkgdocdir rmdir %buildroot%_prefix/doc mv %buildroot%_bindir/{plotting_manager,xtrack,callers_frame,decorations,data_manager}.py \ %buildroot%python3_sitelib/tracking chmod -x %buildroot%python3_sitelib/tracking/* chrpath -d %buildroot%_bindir/tracking.bin %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS ChangeLog %_bindir/* %exclude %_libdir/libANNClassify.*a %_libdir/libANNClassify.*so.* %config(noreplace) %_sysconfdir/tracking %_datadir/icons/tracking %python3_sitelib/tracking %files devel %_libdir/libANNClassify.*so %_includedir/ANNClassify %files doc %_pkgdocdir %changelog * Mon Oct 25 2021 Dave Love - 2.6.12-3 - Remove python2 - Add perl patch * Sun Oct 24 2021 Dave Love - 2.6.12-2 - Use python3-wxpython4 - Add patch2 * Tue Aug 18 2020 Dave Love - 2.6.12-1 - New version * Thu Mar 26 2020 Dave Love - 2.6.11-1 - New version * Thu Jan 10 2019 Dave Love - 2.6.10-2 - Filter requires * Mon Sep 24 2018 Dave Love - 2.6.10-1 - New version * Thu Sep 20 2018 Dave Love - 2.6.9-1 - New version - Use autoconf268 on el6 * Mon Apr 9 2018 - 2.6.7-1 - Initial packaging