[packages/ustreamer] new
atler
atler at pld-linux.org
Fri Nov 11 01:03:36 CET 2022
commit a340a83bd34fe0935db672364713d51140fc2e2d
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Nov 11 01:03:03 2022 +0100
new
ustreamer.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
---
diff --git a/ustreamer.spec b/ustreamer.spec
new file mode 100644
index 0000000..adeab9e
--- /dev/null
+++ b/ustreamer.spec
@@ -0,0 +1,50 @@
+Summary: Lightweight and fast MJPEG-HTTP streamer
+Name: ustreamer
+Version: 5.31
+Release: 1
+License: GPL v3
+Group: Applications/Multimedia
+Source0: https://github.com/pikvm/ustreamer/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: ef8230570a937c1d3a69431461f0faa4
+URL: https://github.com/pikvm/ustreamer
+BuildRequires: libbsd-devel
+BuildRequires: libevent-devel
+BuildRequires: libgpiod-devel
+BuildRequires: libjpeg-devel
+BuildRequires: systemd-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+µStreamer is a lightweight and very quick server to stream MJPEG video
+from any V4L2 device to the net.
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcppflags} %{rpmcflags}" \
+ LDFLAGS="%{rpmldflags}" \
+ WITH_GPIO=1 \
+ WITH_SYSTEMD=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT \
+ PREFIX="%{_prefix}" \
+ MANPREFIX="%{_mandir}"
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md docs/*.md
+%lang(ru) %doc README.ru.md
+%attr(755,root,root) %{_bindir}/ustreamer
+%attr(755,root,root) %{_bindir}/ustreamer-dump
+%{_mandir}/man1/ustreamer.1*
+%{_mandir}/man1/ustreamer-dump.1*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ustreamer.git/commitdiff/a340a83bd34fe0935db672364713d51140fc2e2d
More information about the pld-cvs-commit
mailing list