## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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: fusionsc Version: 2.8.0 Release: %autorelease Summary: Fusion Scientific Computations License: MIT URL: https://github.com/alexrobomind/fusionsc/ Source0: https://github.com/alexrobomind/fusionsc/archive/refs/tags/v%{version}.tar.gz Patch: build-system.patch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} # # DEPENDENCIES # BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: cmake(Catch2) BuildRequires: zlib-ng-devel BuildRequires: zlib-ng-compat-devel BuildRequires: sqlite-devel BuildRequires: capnproto-devel BuildRequires: capnproto BuildRequires: yaml-cpp-devel BuildRequires: libssh2-devel BuildRequires: pybind11-devel BuildRequires: botan2-devel BuildRequires: eigen3-devel BuildRequires: hdf5-devel BuildRequires: python3-numpy BuildRequires: python3-devel # # DESCRIPTIONS # %description This library contains computation mechanisms to support scientific computation in the field of fusion. %package devel Summary: Development files for fusionsc %description devel Development files for fusionsc %package -n python3-fusionsc Summary: python interface for fusionsc %description -n python3-fusionsc This library contains computation mechanisms to support scientific computation in the field of fusion using a python interface. # # PREP # %prep %autosetup -C -p1 # # BUILD # %build %cmake \ -DFSC_DEP_ALLOW_VENDORED=ON \ -DFSC_DEP_PREF_VENDORED=OFF \ -DFSC_DEP_{ZLIB,SQLite3,CapnProto,yaml-cpp,Eigen3,HDF5,Libssh2,pybind11,Botan}_STRATEGY=installed \ -DFSC_DEP_Catch2_STRATEGY=installed \ -DFSC_DEP_IGNORE_VERSIONS=ON \ -DFSC_DEP_FIND_{Libssh2,Botan}_WITH_PKGCONFIG=On %cmake_build # # INSTALL # %install %cmake_install rm %{buildroot}%{_libdir}/libcapfuzz.so rm %{buildroot}%{_libdir}/cmake/Capfuzz* rm %{buildroot}%{_includedir}/happly.h rm %{buildroot}%{_includedir}/capfuzz -rf # # CHECK # %check # %%ctest # # FILES SECTION # %files %license LICENSE.txt %{_bindir}/fusionsc %{_libdir}/libfsc-service-genapi.so %{_libdir}/libfsc.so %files -n python3-fusionsc %license LICENSE.txt %{_libdir}/libfsc-servepy.so %{python3_sitearch}/fusionsc %files devel %{_includedir}/fsc/ %{_includedir}/fsc-servepy.h %{_libdir}/cmake/* # # CHANGELOG # %changelog ## START: Generated by rpmautospec * Fri Jan 09 2026 John Doe - 2.8.0-1 - Uncommitted changes ## END: Generated by rpmautospec