%global debug_package %{nil} %bcond_without doc # Use devtoolset 9 %if 0%{?rhel} && 0%{?rhel} == 7 %global dts devtoolset-8- %endif Name: mmtf-cpp Version: 1.1.0 Release: 1%{?dist} Summary: The Macromolecular Transmission Format (MMTF) header only files License: MIT URL: https://github.com/rcsb/%{name} Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: make BuildRequires: cmake3 BuildRequires: %{?dts}gcc BuildRequires: %{?dts}gcc-c++ BuildRequires: msgpack-devel >= 2.1.5 %description The Macromolecular Transmission Format (MMTF) is a new compact binary format to transmit and store biomolecular structures for fast 3D visualization and analysis. This package holds the C++-03 compatible API, encoding and decoding libraries. %package devel Summary: Development files for %{name} Requires: msgpack-devel%{?_isa} >= 2.1.5 Provides: %{name}-static = %{version}-%{release} %description devel Header only files for developing applications that use mmtf-cpp. %if %{with doc} %package doc Summary: Documentation files BuildRequires: doxygen BuildArch: noarch %description doc HTML documentation files for mmtf-cpp. %endif %prep %autosetup -n %{name}-%{version} %build %if 0%{?el7} %{?dts:source /opt/rh/devtoolset-8/enable} %endif %cmake %cmake_build %if %{with doc} pushd docs doxygen popd %endif %install %cmake_install %files devel %doc *.md %license LICENSE %{_includedir}/mmtf/ %{_includedir}/mmtf.hpp %if %{with doc} %files doc %license LICENSE %doc docs/html %endif %changelog * Mon Oct 03 2022 Antonio Trande - 1.1.0-1 - Release 1.1.0 * Thu Jul 21 2022 Fedora Release Engineering - 1.0.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.0.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.0.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Aug 01 2020 Fedora Release Engineering - 1.0.0-7 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 17 2020 Antonio Trande - 1.0.0-5 - BR reorganized - Add msgpack-devel BR * Wed Jan 29 2020 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jan 01 2020 Antonio Trande - 1.0.0-3 - Use cmake3 * Sun Dec 08 2019 Antonio Trande - 1.0.0-2 - Provide virtual static libraries * Sat Dec 07 2019 Antonio Trande - 1.0.0-1 - Release 1.0.0