## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # header-only library %global debug_package %{nil} Name: libheinz Version: 2.0.0 Release: %autorelease Summary: C++ base library of Heinz Maier-Leibnitz Zentrum License: 0BSD URL: https://jugit.fz-juelich.de/mlz/libheinz Source0: %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2 # use GNUInstallDirs to facilitate the installation of the library # use ARCH_INDEPENDENT for header-only library when CMake >= 3.14 # create the INTERFACE library since the library is header-only and ALIAS targets # install and export the targets # https://jugit.fz-juelich.de/mlz/libheinz/-/issues/2 Patch0: libheinz-fix-cmake.patch BuildRequires: gcc-c++ BuildRequires: cmake %description It is a header-only C++ base library of Heinz Maier-Leibnitz Zentrum, which provides several generic utilities for use in several products of the Scientific Computing Group. Contents: - [Complex.h](inc/heinz/Complex.h). Defines `complex_t`, and a few elementary functions. - [Vectors3D.h](inc/heinz/Vectors3D.h). Templated 3D vectors, and abbreviations `I3`, `R3`, `C3`. - [Rotations3D.h](inc/heinz/Rotations3D.h). SO3 rotations, internally parameterized by quaternions. %package devel Summary: Development files for %{name} Provides: %{name}-static%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains development files for %{name}. %prep %autosetup -p1 -n %{name}-v%{version} %build %cmake %cmake_build %install %cmake_install %check %ctest %files devel %license LICENSE %doc README.md %{_includedir}/heinz/ %{_datadir}/cmake/LibHeinz/ %changelog ## START: Generated by rpmautospec * Thu Jan 25 2024 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Dec 04 2023 shattuckite - 2.0.0-1 - initial import rhbz#2251523 ## END: Generated by rpmautospec