Name: python-openmc-data Version: 2.6.0 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: A Python package containing a collection of scripts for producing and downloading data for OpenMC # Check if the automatically generated License and its spelling is correct for Fedora # https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/ License: MIT URL: https://github.com/fusion-energy/openmc_data Source: %{pypi_source openmc_data} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'openmc-data' generated automatically by pyp2spec.} %description %_description %package -n python3-openmc-data Summary: %{summary} %description -n python3-openmc-data %_description # For official Fedora packages, review which extras should be actually packaged # See: https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#Extras %pyproject_extras_subpkg -n python3-openmc-data tests %prep %autosetup -p1 -n openmc_data-%{version} %generate_buildrequires # Keep only those extras which you actually want to package or use during tests %pyproject_buildrequires -x tests %build %pyproject_wheel %install %pyproject_install # For official Fedora packages, including files with '*' +auto is not allowed # Replace it with a list of relevant Python modules/globs and list extra files in %%files %pyproject_save_files '*' +auto %check %_pyproject_check_import_allow_no_modules -t %files -n python3-openmc-data -f %{pyproject_files} %{_bindir}/add_branching_ratios %{_bindir}/combine_libraries %{_bindir}/convert_endf %{_bindir}/convert_fendl %{_bindir}/convert_jeff %{_bindir}/convert_lib80x %{_bindir}/convert_mcnp70 %{_bindir}/convert_mcnp71 %{_bindir}/convert_tendl %{_bindir}/convert_tendl_rand %{_bindir}/download_chain %{_bindir}/download_endf %{_bindir}/download_jeff %{_bindir}/download_tendl %{_bindir}/generate_branching_ratios %{_bindir}/generate_cendl %{_bindir}/generate_endf %{_bindir}/generate_endf71_chain_casl %{_bindir}/generate_endf_chain %{_bindir}/generate_fendl %{_bindir}/generate_jeff %{_bindir}/generate_jeff_chain %{_bindir}/generate_jendl %{_bindir}/generate_jendl_chain %{_bindir}/generate_serpent_fissq %{_bindir}/generate_tendl %{_bindir}/generate_tendl_chain %{_bindir}/make_compton %{_bindir}/make_stopping_powers %{_bindir}/reduce_chain %{_bindir}/remove_corrupt_h5 %{_bindir}/sample_sandy %changelog %autochangelog