Summary: A C++/Python build framework Name: elements Version: 6.3.1 Release: 4%{?dist} License: LGPL-3.0-or-later Source0: https://github.com/astrorama/Elements/archive/%{version}/%{name}-%{version}.tar.gz # Elements use this file to link the documentation to cppreference.com # It is downloaded from: # https://upload.cppreference.com/w/File:cppreference-doxygen-web.tag.xml Source1: cppreference-doxygen-web.tag.xml URL: https://github.com/degauden/Elements.git # Remove Example programs and scripts, otherwise they will be installed Patch0: 0000-Remove-examples.patch # Disable the compilation of PDF documentation Patch2: 0001-Disable-PDF-documentation.patch # distutils have been removed Patch3: 0002-Do-not-rely-on-distutils.patch BuildRequires: CCfits-devel BuildRequires: boost-devel >= 1.53 BuildRequires: cfitsio-devel BuildRequires: cppunit-devel BuildRequires: fftw-devel BuildRequires: gmock-devel BuildRequires: gtest-devel BuildRequires: log4cpp-devel >= 1.1 BuildRequires: swig BuildRequires: wcslib-devel # Required for the generation of the documentation BuildRequires: doxygen BuildRequires: graphviz BuildRequires: gcc-c++ > 4.7 BuildRequires: python3 BuildRequires: python3-pytest BuildRequires: python3-devel BuildRequires: python3-sphinx BuildRequires: cmake >= 2.8.5 Requires: cmake-filesystem%{?_isa} %global cmakedir %{_libdir}/cmake/ElementsProject %global makedir %{_datadir}/Elements/make %global confdir %{_datadir}/conf %global auxdir %{_datadir}/auxdir %global docdir %{_docdir}/Elements %description Elements is a C++/Python build framework. It helps to organize the software into modules which are gathered into projects. %package devel Summary: The development part of the %{name} package Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The development part of the %{name} package. %package doc Summary: Documentation for package %{name} License: LGPLv3+ and CC-BY-SA BuildArch: noarch %description doc Documentation for package %{name} %prep %autosetup -n Elements-%{version} -p1 %build export VERBOSE=1 # Build %cmake -DELEMENTS_BUILD_TESTS=ON -DINSTALL_TESTS=OFF -DSQUEEZED_INSTALL:BOOL=ON -DINSTALL_DOC:BOOL=ON \ -DUSE_SPHINX=OFF --no-warn-unused-cli \ -DPYTHON_EXPLICIT_VERSION=3 -DCMAKE_POLICY_DEFAULT_CMP0148=OLD \ -DCMAKE_LIB_INSTALL_SUFFIX=%{_lib} -DUSE_VERSIONED_LIBRARIES=ON \ -DUSE_ENV_FLAGS=ON # Copy cppreference-doxygen-web.tag.xml into the build directory mkdir -p "%{_vpath_builddir}/doc/doxygen" cp -v "%{SOURCE1}" "%{_vpath_builddir}/doc/doxygen" %cmake_build %install export VERBOSE=1 %cmake_install rm -rfv "%{buildroot}/%{confdir}/ElementsServices/testdata" rm -fv "%{buildroot}/%{_bindir}/"*_test rm -fv "%{buildroot}/%{_includedir}/"*BoostTest_export.h rm -fv "%{buildroot}/%{_libdir}/"*BoostTest.so* %check export ELEMENTS_CONF_PATH="%{_builddir}/ElementsKernel/auxdir/" %ctest %files %{confdir}/ %dir %{cmakedir} %{cmakedir}/ElementsEnvironment.xml %{_libdir}/libElementsKernel.so.%{version} %{_libdir}/libElementsServices.so.%{version} %{_bindir}/CreateElementsProject %{_bindir}/AddElementsModule %{_bindir}/AddCppClass %{_bindir}/AddCppProgram %{_bindir}/AddPythonProgram %{_bindir}/AddScript %{_bindir}/AddPythonModule %{_bindir}/RemoveCppClass %{_bindir}/RemoveCppProgram %{_bindir}/RemovePythonProgram %{_bindir}/RemovePythonModule %{_bindir}/ElementsNameCheck %{_bindir}/GetElementsFiles %{python3_sitearch}/ELEMENTS_VERSION.py %{python3_sitearch}/ELEMENTS_INSTALL.py %{python3_sitearch}/__pycache__/ELEMENTS_*.pyc %{python3_sitearch}/ElementsKernel/ %{python3_sitearch}/ElementsServices/ %dir %{auxdir} %{auxdir}/ElementsKernel/ %files devel %{_libdir}/libElementsKernel.so %{_libdir}/libElementsServices.so %{_includedir}/ELEMENTS_VERSION.h %{_includedir}/ELEMENTS_INSTALL.h %{_includedir}/ElementsKernel_export.h %{_includedir}/ElementsServices_export.h %{_includedir}/ElementsKernel/ %{_includedir}/ElementsServices/ %{cmakedir}/ElementsBuildEnvironment.xml %{cmakedir}/ElementsBuildFlags.cmake %{cmakedir}/ElementsCheck.cmake %{cmakedir}/ElementsConfig.cmake %{cmakedir}/ElementsConfigVersion.cmake %{cmakedir}/ElementsCoverage.cmake %{cmakedir}/ElementsDefaults.cmake %{cmakedir}/ElementsDocumentation.cmake %{cmakedir}/ElementsExports-relwithdebinfo.cmake %{cmakedir}/ElementsExports.cmake %{cmakedir}/ElementsGenerateBindings.cmake %{cmakedir}/ElementsInfo.cmake %{cmakedir}/ElementsKernelExport.cmake %{cmakedir}/ElementsLocations.cmake %{cmakedir}/ElementsPlatformConfig.cmake %{cmakedir}/ElementsProjectConfig.cmake %{cmakedir}/ElementsServicesExport.cmake %{cmakedir}/ElementsToolChain.cmake %{cmakedir}/ElementsToolChainMacros.cmake %{cmakedir}/ElementsUninstall.cmake %{cmakedir}/ElementsUtils.cmake %{cmakedir}/GetGitRevisionDescription.cmake %{cmakedir}/HelloWorld.cmake %{cmakedir}/SGSPlatform.cmake %{cmakedir}/auxdir %{cmakedir}/check %{cmakedir}/doc %{cmakedir}/modules %{cmakedir}/scripts %{cmakedir}/tests %{makedir} %files doc %license LICENSE.md %{docdir} %changelog * Wed Jul 17 2024 Fedora Release Engineering - 6.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 17 2024 Miroslav Suchý - 6.3.1-3 - convert license to SPDX * Sat Jun 08 2024 Python Maint - 6.3.1-2 - Rebuilt for Python 3.13 * Tue May 28 2024 Alejandro Alvarez Ayllon - 6.3.1-1 - Release 6.3.1 * Wed Mar 20 2024 Alejandro Alvarez Ayllon - 6.2.3-5 - Rebuild for Fedora 41 * Wed Jan 24 2024 Fedora Release Engineering - 6.2.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 6.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jan 18 2024 Jonathan Wakely - 6.2.3-2 - Rebuilt for Boost 1.83 * Thu Nov 09 2023 Alejandro Alvarez Ayllon - 6.2.3-1 - Release 6.2.3 * Thu Aug 17 2023 Alejandro Alvarez Ayllon - 6.2.1-3 - Rebuilt for Fedora 40 * Wed Jul 19 2023 Fedora Release Engineering - 6.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 10 2023 aalvarez - 6.2.1-1 - Release 6.2.1 * Fri Jul 07 2023 Alejandro Alvarez Ayllon - 6.1.4-1 - Release 6.1.4 * Wed Jun 14 2023 Python Maint - 6.1.2-2 - Rebuilt for Python 3.12 * Tue Mar 14 2023 Alejandro Alvarez Ayllon - 6.1.2-1 - Elements 6.1.2 * Mon Feb 20 2023 Jonathan Wakely - 6.0.1-10 - Rebuilt for Boost 1.81 * Fri Jan 27 2023 Benjamin A. Beasley - 6.0.1-9 - Add missing #include directive for GCC 13 * Thu Jan 19 2023 Fedora Release Engineering - 6.0.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Dec 29 2022 Maxwell G - 6.0.1-7 - Rebuild for cfitsio 4.2 * Mon Nov 14 2022 Alejandro Alvarez Ayllon - 6.0.1-6 - Move from Py.Test to PyTest * Tue Aug 23 2022 Mamoru TASAKA - 6.0.1-5 - rebuild for new gcc / f38 (needed for alexandria) * Thu Jul 21 2022 Fedora Release Engineering - 6.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 6.0.1-3 - Rebuilt for Python 3.11 * Wed May 04 2022 Thomas Rodgers - 6.0.1-2 - Rebuilt for Boost 1.78 * Thu Jan 20 2022 Fedora Release Engineering - 5.12.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 20 2021 Alejandro Alvarez Ayllon - 5.12.0-10 - Fix tests for Python 3.11 * Thu Dec 16 2021 Alejandro Alvarez Ayllon - 5.12.0-9 - Add patch number to version * Wed Aug 11 2021 Alejandro Alvarez Ayllon - 5.12-8 - Rebuild after f35 branching * Mon Aug 09 2021 Alejandro Alvarez Ayllon - 5.12-7 - Rebuild for gcc 11.2 * Fri Aug 06 2021 Jonathan Wakely - 5.12-6 - Rebuilt for Boost 1.76 * Wed Jul 21 2021 Fedora Release Engineering - 5.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 5.12-4 - Rebuilt for Python 3.10 * Mon May 10 2021 Alejandro Alvarez Ayllon - 5.12-3 - Rebuild for gcc11.1 * Wed Apr 21 2021 Alejandro Alvarez Ayllon - 5.12-2 - Rebuild for Fedora 35 * Fri Feb 05 2021 Alejandro Alvarez Ayllon - 5.12-1 - Release 5.12 * Thu Feb 04 2021 Alejandro Alvarez Ayllon - 5.10-8 - Rebuilt for cfitsio 3.490 * Tue Jan 26 2021 Fedora Release Engineering - 5.10-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Jan 22 2021 Jonathan Wakely - 5.10-6 - Rebuilt for Boost 1.75 * Mon Dec 07 2020 Alejandro Alvarez Ayllon 5.10-5 - Rebuilt for gcc 11.0 * Thu Oct 15 2020 Alejandro Alvarez Ayllon 5.10-4 - Rebuilt for Fedora 34 * Mon Jul 27 2020 Fedora Release Engineering - 5.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 20 2020 Alejandro Alvarez Ayllon 5.10-2 * Use new cmake macros * Fri Jul 17 2020 Alejandro Alvarez Ayllon 5.10-1 - Update for upstream release 5.10 * Fri May 29 2020 Jonathan Wakely - 5.8-10 - Rebuilt for Boost 1.73 and Python 3.9 together * Thu May 28 2020 Jonathan Wakely - 5.8-9 - Rebuilt for Boost 1.73 * Tue May 26 2020 Miro Hrončok - 5.8-8 - Rebuilt for Python 3.9 * Wed Feb 26 2020 Alejandro Alvarez Ayllon 5.8-7 - Rebuild for Fedora 33 * Mon Feb 03 2020 Alejandro Alvarez Ayllon 5.8-6 - Remove flag max-page-size * Tue Jan 28 2020 Fedora Release Engineering - 5.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Oct 28 2019 Alejandro Alvarez Ayllon 5.8-4 - Initial RPM