## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 Name: libformfactor Version: 0.3.1 Release: %autorelease Summary: Efficient computation of scattering form factors of arbitrary polyhedra # the library is under GPL-3.0-or-later # test/3rdparty/catch.hpp - BSL-1.0 License: GPL-3.0-or-later URL: https://jugit.fz-juelich.de/mlz/libformfactor Source0: %{url}/-/archive/v%{version}/%{name}-v%{version}.tar.bz2 # Use GNUInstallDirs to fix the install directory in CMake Patch0: libformfactor-fix-cmake.patch BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: ninja-build BuildRequires: cmake(LibHeinz) %description A C++ library for the efficient computation of scattering form factors (Fourier shape transforms) of arbitrary polyhedra according to Joachim Wuttke, [J Appl Cryst 54, 580-587 (2021)](https://doi.org/10.1107/S1600576721001710). %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains development files for %{name}. %prep %autosetup -p1 -n %{name}-v%{version} %build %cmake \ -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ %cmake_build %install %cmake_install %check %ctest %files %license LICENSE %doc README.md %{_libdir}/libformfactor.so.* %files devel %{_libdir}/libformfactor.so %{_includedir}/ff/ %{_libdir}/cmake/formfactor/ %changelog ## START: Generated by rpmautospec * Thu Jul 18 2024 Fedora Release Engineering - 0.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 03 2024 topazus - 0.3.1-1 - initial import; rhbz#2251524 ## END: Generated by rpmautospec