]> git.pld-linux.org Git - packages/ustreamer.git/commitdiff
new auto/th/ustreamer-5.31-1
authorJan Palus <atler@pld-linux.org>
Fri, 11 Nov 2022 00:03:03 +0000 (01:03 +0100)
committerJan Palus <atler@pld-linux.org>
Fri, 11 Nov 2022 00:03:03 +0000 (01:03 +0100)
ustreamer.spec [new file with mode: 0644]

diff --git a/ustreamer.spec b/ustreamer.spec
new file mode 100644 (file)
index 0000000..adeab9e
--- /dev/null
@@ -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*
This page took 0.548644 seconds and 4 git commands to generate.