File ustreamer.spec of Package ustreamer

Name: ustreamer
Version: 2.1
Release: 1%{?dist}
Summary: Lightweight and fast MJPG-HTTP streamer
License: GPLv3+
URL: https://github.com/pikvm/ustreamer
Source: https://github.com/pikvm/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: glibc-devel
BuildRequires: pkgconfig(libjpeg)
BuildRequires: pkgconfig(libevent)
BuildRequires: pkgconfig(libevent_pthreads)
BuildRequires: pkgconfig(uuid)
BuildRequires: pkgconfig(libbsd)

%description
┬ÁStreamer is a lightweight and very quick server to stream MJPG video
from any V4L2 device to the net.

All new browsers have native support of this video format,
as well as most video players such as mplayer, VLC etc.

┬ÁStreamer is a part of the Pi-KVM project designed to stream VGA and HDMI
screencast hardware data with the highest resolution and FPS possible.


%prep
%setup -q

%build
%make_build CFLAGS='%{?build_cflags}' LDFLAGS='%{?build_ldflags}'

%install
%make_install 'PREFIX=%{_prefix}'

%files
%{_bindir}/ustreamer