Name: tmdlib Version: 2.2.15 Release: 1%{?dist} Summary: Library and plotting tools for Transverse Momentum Dependent parton distributions Prefix: %{_prefix} License: GPLv3 URL: https://tmdlib.hepforge.org/ Source0: https://www.hepforge.org/archive/tmdlib/tmdlib-%{version}.tar.gz Patch0: patch-tmdlib-0.txt %if 0%{?rhel} || 0%{?fedora} BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: gcc-gfortran BuildRequires: make BuildRequires: gsl-devel BuildRequires: lhapdf-devel BuildRequires: root root-core root-tree-ntuple-utils BuildRequires: boost boost-devel BuildRequires: tex(latex) tex(sectsty.sty) Requires: lhapdf libgfortran root root-core gsl wget root-tree-ntuple-utils %endif %if 0%{?fedora} BuildRequires: texlive-palatino texlive-helvetic texlive-mathpazo %endif %if 0%{?suse_version} BuildRequires: cmake BuildRequires: gcc-c++ gcc-fortran BuildRequires: gsl gsl-devel BuildRequires: libLHAPDF LHAPDF-devel BuildRequires: root6 root6-libs root6-devel BuildRequires: boost-devel BuildRequires: texlive-palatino texlive-helvetic texlive-courier BuildRequires: tex(latex) tex(sectsty.sty) tex(listings.sty) tex(cite.sty) tex(lineno.sty) Requires: libLHAPDF libgfortran5 root6 root6-libs gsl wget %endif %description TMDlib and TMDplotter: library and plotting tools for Transverse Momentum Dependent parton distributions. %package devel Summary: Libraries and headers for %{name} Requires: %{name} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} %description devel Contains the libraries and header files needed to develop programs which make use of %{name}. The library documentation is available in the header files. %prep %setup -q %patch -P 0 -p1 %build %cmake -DTMDLIB_BUILD_DOCS=ON -DTMDLIB_ENABLE_PYTHON=OFF #-DTMDLIB_PYTHON_VERSIONS=3.X %cmake_build %install %cmake_install rm -f %{buildroot}/usr/%_lib/*.la || true %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files /usr/bin/* /usr/%_lib/* /usr/share/man/TMDlib*.pdf /usr/share/tmdlib/* %files devel /usr/include/* %changelog * Mon Mar 30 2026 Andrii Verbytskyi - 2.2.15-2 - Switch build system to CMake - Updated build dependencies * Thu Nov 2 2023 Andrii Verbytskyi 2.2.10 - Update to 2.2.10 * Fri Mar 10 2023 Andrii Verbytskyi 2.2.08 - Update to 2.2.08 * Thu Oct 20 2022 Andrii Verbytskyi andrii.verbytskyi@mpp.mpg.de - 2.2.07 * Tue Jul 12 2022 Andrii Verbytskyi andrii.verbytskyi@mpp.mpg.de - 2.2.06 * Mon Jan 17 2022 Andrii Verbytskyi andrii.verbytskyi@mpp.mpg.de - 2.2.05 * Sun Feb 21 2021 Andrii Verbytskyi andrii.verbytskyi@mpp.mpg.de - Cleanup * Mon Oct 15 2018 Andrii verbytskyi - init - init