11Name: ustreamer
2- Version: 5.34
2+ Version: 5.36
33Release: 1%{?dist }
44Summary: Lightweight and fast MJPG-HTTP streamer
55License: GPL-3.0 -or-later
@@ -13,6 +13,8 @@ BuildRequires: pkgconfig(libevent_pthreads)
1313BuildRequires: pkgconfig(libbsd)
1414BuildRequires: pkgconfig(libgpiod)
1515BuildRequires: pkgconfig(libsystemd)
16+ BuildRequires: python3-devel
17+ BuildRequires: python3-setuptools
1618
1719%description
1820ustreamer(µStreamer) is a lightweight and very quick server to stream MJPG video
@@ -32,10 +34,12 @@ screencast hardware data with the highest resolution and FPS possible.
3234%set_build_flags
3335%make_build \
3436 WITH_GPIO=1 \
35- WITH_SYSTEMD=1
37+ WITH_SYSTEMD=1 \
38+ WITH_PYTHON=1
3639
3740%install
38- %make_install ' PREFIX=%{_prefix}'
41+ %make_install ' PREFIX=%{_prefix}' \
42+ WITH_PYTHON=1
3943
4044%files
4145%license LICENSE
@@ -45,9 +49,24 @@ screencast hardware data with the highest resolution and FPS possible.
4549%{_mandir }/man1/ustreamer.1*
4650%{_mandir }/man1/ustreamer-dump.1*
4751
52+ %package -n python3-%{name }
53+ Summary: Python 3 bindings for %{name }
54+ Requires: %{name }%{?_isa } = %{version }-%{release }
55+ %{?python_provide:%python_provide python3-%{name }}
56+
57+ %description -n python3-%{name }
58+ Python 3 bindings for %{name }.
59+
60+ %files -n python3-%{name }
61+ %{python3_sitearch }/%{name }*
62+
4863%changelog
64+ * Sat Jan 07 2023 Tao Jin <tao-j@outlook.com> - 5.36-1
65+ - Update to 5.36
66+ - Add python package build
67+
4968* Wed Dec 14 2022 Tao Jin <tao-j@outlook.com> - 5.34-1
50- - update to 5.34 and address review comments
69+ - Update to 5.34 and address review comments
5170
5271* Sun Oct 23 2022 Tao Jin <tao-j@outlook.com> - 5.24-1
5372- Update to 5.24
0 commit comments