22# spec file for package sumo
33#
44# Copyright (c) 2022 SUSE LLC
5- # Copyright (c) 2001-2025 DLR (http://www.dlr.de/) and contributors
5+ # Copyright (c) 2001-2026 DLR (http://www.dlr.de/) and contributors
66#
77# All modifications and additions to the file contributed by third parties
88# remain the property of their copyright owners, unless otherwise agreed
@@ -36,10 +36,6 @@ BuildRequires: cmake
3636BuildRequires: java-devel
3737%endif
3838%if 0%{?fedora_version } > 36 || 0%{?suse_version } >= 1600
39- BuildRequires: python3-build
40- BuildRequires: python3-pip
41- BuildRequires: python3-setuptools
42- BuildRequires: python3-wheel
4339BuildRequires: pkgconfig(geos)
4440BuildRequires: jupedsim
4541%endif
@@ -98,17 +94,6 @@ Requires: libsumocpp = %{version}
9894This package provides development libraries and headers needed to build
9995software using libsumocpp.
10096
101- %if 0%{?fedora_version } > 36 || 0%{?suse_version } >= 1600
102- %package -n python3-libsumo
103- Summary: libsumo Python3 module
104- Requires: %{name }
105- Provides: python3-%{name } = %{version }
106- Obsoletes: python3-%{name } < %{version }
107-
108- %description -n python3-libsumo
109- The libsumo python module provides support to connect to and remote control a running sumo simulation.
110- %endif
111-
11297%if 0%{?fedora_version } || 0%{?centos_version }
11398%global debug_package %{nil }
11499%endif
@@ -172,9 +157,9 @@ make %{?_smp_mflags} test
172157%files
173158%defattr(-,root,root)
174159%{_bindir }/*
160+ %if 0%{?fedora_version } > 35 || 0%{?sle_version } > = 150400 || 0%{?suse_version } > = 1600
175161%{_libdir }/libsumocs.so
176162%{_libdir }/libtracics.so
177- %if 0%{?centos_version } == 0
178163%{_libdir }/liblibsumojni.so
179164%{_libdir }/liblibtracijni.so
180165%endif
@@ -196,14 +181,4 @@ make %{?_smp_mflags} test
196181%license LICENSE
197182%{_includedir }/libsumo
198183
199- %if 0%{?fedora_version } > 36 || 0%{?suse_version } >= 1600
200- %files -n python3-libsumo
201- %license LICENSE
202- %{python3_sitelib }/sumolib* /
203- %{python3_sitelib }/traci* /
204- %{python3_sitelib }/simpla* /
205- %{python3_sitearch }/libsumo* /
206- %{python3_sitearch }/libtraci* /
207- %endif
208-
209184%changelog
0 commit comments