Name: libbart-devel Version: 0.9.00 Release: 637.20241113gitefd3009%{?dist} Epoch: 1 Summary: Development files for BART License: BSD URL: https://mrirecon.github.io/bart VCS: git+https://github.com/mrirecon/bart.git#efd300947150856aac148179f15c4d93f5f2a425:pkg/rpm Source0: libbart-devel BuildRequires: gcc, make, fftw-devel, lapack-devel, openblas-devel, atlas-devel, libpng-devel %description The Berkeley Advanced Reconstruction Toolbox (BART) is a free and open-source image-reconstruction framework for Computational Magnetic Resonance Imaging. This package provides headers and static libraries. # I suppose the binary shouldn't contain debug symbols by default %global debug_package %{nil} %prep %setup -T -b 0 -q -n libbart-devel %build export LDFLAGS="$LDFLAGS -Wl,--no-as-needed" make PARALLEL=1 %install rm -rf $RPM_BUILD_ROOT while read line; do src=$(cut -d' ' -f1 <<<"$line") dst=%{buildroot}/$(cut -d' ' -f2 <<<"$line") install -d "$dst" install "$src" "$dst" done < pkg/rpm/libbart-dev.install # ^ Contents of https://salsa.debian.org/med-team/bart/-/blob/master/debian/libbart-dev.install %files /usr/include/bart/ /usr/lib/bart/ %license LICENSE %changelog