Name: python-oireachtas-nlp Version: 1.0.17 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: nlp on data from the oireachtas api relating to members / parties # No license information obtained, it's up to the packager to fill it in License: ... URL: https://github.com/RobertLucey/oireachtas-nlp Source: %{pypi_source oireachtas_nlp} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'oireachtas-nlp' generated automatically by pyp2spec.} %description %_description %package -n python3-oireachtas-nlp Summary: %{summary} %description -n python3-oireachtas-nlp %_description %prep %autosetup -p1 -n oireachtas_nlp-%{version} %generate_buildrequires %pyproject_buildrequires %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-oireachtas-nlp -f %{pyproject_files} %{_bindir}/oir_belong %{_bindir}/oir_generate_text %{_bindir}/oir_generate_text_from_model %{_bindir}/oir_lexical_difficulty %{_bindir}/oir_lexical_diversity %{_bindir}/oir_sentiment %{_bindir}/oir_sounds_like %{_bindir}/oir_word_usage_by %changelog %autochangelog