1 Summary: Lightweight and fast MJPEG-HTTP streamer
6 Group: Applications/Multimedia
7 Source0: https://github.com/pikvm/ustreamer/archive/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5: ef8230570a937c1d3a69431461f0faa4
9 URL: https://github.com/pikvm/ustreamer
10 BuildRequires: libbsd-devel
11 BuildRequires: libevent-devel
12 BuildRequires: libgpiod-devel
13 BuildRequires: libjpeg-devel
14 BuildRequires: systemd-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 µStreamer is a lightweight and very quick server to stream MJPEG video
19 from any V4L2 device to the net.
27 CFLAGS="%{rpmcppflags} %{rpmcflags}" \
28 LDFLAGS="%{rpmldflags}" \
33 rm -rf $RPM_BUILD_ROOT
36 DESTDIR=$RPM_BUILD_ROOT \
38 MANPREFIX="%{_mandir}"
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %doc README.md docs/*.md
46 %lang(ru) %doc README.ru.md
47 %attr(755,root,root) %{_bindir}/ustreamer
48 %attr(755,root,root) %{_bindir}/ustreamer-dump
49 %{_mandir}/man1/ustreamer.1*
50 %{_mandir}/man1/ustreamer-dump.1*