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