Name: libbart-devel Version: 0.9.00 Release: 629.20241025git07519ff%{?dist} Epoch: 1 Summary: Development files for BART License: BSD URL: https://mrirecon.github.io/bart VCS: git+https://github.com/mrirecon/bart.git#07519ff393579097c8c63ae72425d604898fa243: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