Name: python-ctadirac Version: 3.2.6 Release: %autorelease # Fill in the actual package summary to submit package to Fedora Summary: CTADIRAC is an extension of the DIRAC interware for dedicated CTA usage. # No license information obtained, it's up to the packager to fill it in License: ... URL: https://gitlab.cta-observatory.org/cta-computing/dpps/CTADIRAC/ Source: %{pypi_source ctadirac} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is package 'ctadirac' generated automatically by pyp2spec.} %description %_description %package -n python3-ctadirac Summary: %{summary} %description -n python3-ctadirac %_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-ctadirac all,doc,plot,server,test %prep %autosetup -p1 -n ctadirac-%{version} %generate_buildrequires # Keep only those extras which you actually want to package or use during tests %pyproject_buildrequires -x all,doc,plot,server,test %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-ctadirac -f %{pyproject_files} %{_bindir}/cta-dms-check-lfn %{_bindir}/cta-dms-register-virtual-lfn %{_bindir}/cta-job-get-parameter %{_bindir}/cta-prod-add-dataset %{_bindir}/cta-prod-add-file %{_bindir}/cta-prod-check-replicas %{_bindir}/cta-prod-create-dataset-description %{_bindir}/cta-prod-create-evndisp-dataset-description %{_bindir}/cta-prod-create-workflow-config %{_bindir}/cta-prod-create-workflow-evndisp-config %{_bindir}/cta-prod-dump-dataset %{_bindir}/cta-prod-failure-monitor %{_bindir}/cta-prod-find-datasets %{_bindir}/cta-prod-fix-nsb %{_bindir}/cta-prod-get-all %{_bindir}/cta-prod-get-file %{_bindir}/cta-prod-get-file-by-query %{_bindir}/cta-prod-get-file-size %{_bindir}/cta-prod-get-replicas %{_bindir}/cta-prod-get-se-status %{_bindir}/cta-prod-git-clone %{_bindir}/cta-prod-managedata %{_bindir}/cta-prod-mark-corrupted-dl0 %{_bindir}/cta-prod-monitor %{_bindir}/cta-prod-remove-corrupted-dl2 %{_bindir}/cta-prod-remove-corrupted-file %{_bindir}/cta-prod-remove-dataset %{_bindir}/cta-prod-remove-file %{_bindir}/cta-prod-replicate-lfn %{_bindir}/cta-prod-set-metadata %{_bindir}/cta-prod-setup-software %{_bindir}/cta-prod-show-dataset %{_bindir}/cta-prod-split-dataset %{_bindir}/cta-prod-split-dataset-bulk %{_bindir}/cta-prod-submit %{_bindir}/cta-prod-submit-from-cwl %{_bindir}/cta-prod-submit-from-cwl-workflow %{_bindir}/cta-prod-unregister-file %{_bindir}/cta-prod-unregister-replica %{_bindir}/cta-prod-update-dataset %{_bindir}/cta-prod-verifysteps %{_bindir}/cta-rms-request %{_bindir}/cta-transformation-add-files %{_bindir}/cta-transformation-clean %{_bindir}/cta-transformation-delete %{_bindir}/cta-transformation-get-files %{_bindir}/cta-transformation-get-tasks %{_bindir}/cta-transformation-move-dataset %{_bindir}/cta-transformation-move-dataset-status %{_bindir}/cta-transformation-move-files %{_bindir}/cta-transformation-remove-dataset %{_bindir}/cta-transformation-remove-files %{_bindir}/cta-transformation-remove-replicas %{_bindir}/cta-transformation-select %{_bindir}/cta-transformation-show-progress %{_bindir}/cta-transformation-test %{_bindir}/cta-transformation-treat-done-tasks %{_bindir}/cta-transformation-treat-failed-tasks %{_bindir}/cta-transformation-treat-incomplete-transfers %{_bindir}/cta-transformation-treat-problematic-files %{_bindir}/cta-user-managedata %changelog %autochangelog