diff --git a/cityscapesScripts-2.2.2.tar.gz b/cityscapesScripts-2.2.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..645417ab22ac076aca6c99a3686647de60c90fb1 Binary files /dev/null and b/cityscapesScripts-2.2.2.tar.gz differ diff --git a/python-cityscapesScripts.spec b/python-cityscapesScripts.spec new file mode 100644 index 0000000000000000000000000000000000000000..6a960f6f3fe85d648766f29eb8d451557784a2c3 --- /dev/null +++ b/python-cityscapesScripts.spec @@ -0,0 +1,78 @@ +%define anolis_release 1 +%global pypi_name cityscapesScripts +%global pypi_version 2.2.2 + +Name: python-%{pypi_name} +Version: %{pypi_version} +Release: %{anolis_release}%{?dist} +Summary: Scripts for the Cityscapes Dataset + +License: https://github.com/mcordts/cityscapesScripts/blob/master/LICENSE +URL: https://github.com/mcordts/cityscapesScripts +Source0: %{pypi_source} +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(setuptools) >= 18 + +%description +The Cityscapes DatasetThis repository contains scripts for inspection, +preparation, and evaluation of the Cityscapes dataset. This large-scale dataset +contains a diverse set of stereo video sequences recorded in street scenes from +50 different cities, with high quality pixel-level annotations of 5 000 frames +in addition to a larger set of 20 000 weakly annotated. + +%package -n python3-%{pypi_name} +Summary: %{summary} +%{?python_provide:%python_provide python3-%{pypi_name}} + +Requires: python3dist(appdirs) +Requires: python3dist(coloredlogs) +Requires: python3dist(matplotlib) +Requires: python3dist(numpy) +Requires: python3dist(pillow) +Requires: python3dist(pyqt5) +Requires: python3dist(pyquaternion) +Requires: python3dist(setuptools) +Requires: python3dist(tqdm) +Requires: python3dist(typing) +%description -n python3-%{pypi_name} +The Cityscapes DatasetThis repository contains scripts for inspection, +preparation, and evaluation of the Cityscapes dataset. This large-scale dataset +contains a diverse set of stereo video sequences recorded in street scenes from +50 different cities, with high quality pixel-level annotations of 5 000 frames +in addition to a larger set of 20 000 weakly annotated. + + +%prep +%autosetup -n %{pypi_name}-%{pypi_version} +# Remove bundled egg-info +rm -rf %{pypi_name}.egg-info + +%build +%py3_build + +%install +%py3_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md +%{_bindir}/csLabelTool +%{_bindir}/csViewer +%{_bindir}/csCreatePanopticImgs +%{_bindir}/csCreateTrainIdInstanceImgs +%{_bindir}/csCreateTrainIdLabelImgs +%{_bindir}/csDownload +%{_bindir}/csEvalInstanceLevelSemanticLabeling +%{_bindir}/csEvalObjectDetection3d +%{_bindir}/csEvalPanopticSemanticLabeling +%{_bindir}/csEvalPixelLevelSemanticLabeling +%{_bindir}/csPlot3dDetectionResults +%{python3_sitelib}/cityscapesscripts +%{python3_sitelib}/%{pypi_name}-%{pypi_version}-py%{python3_version}.egg-info + +%changelog +* Thu Jan 18 2024 Zhongling He - 2.2.2-1 +- Initial package. \ No newline at end of file