A new user interface for you! Read more...

File mjpg-streamer.spec of Package mjpg-streamer

#
# spec file for package mjpg-streamer
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           mjpg-streamer
Version:        r160
Release:        0
License:        GPL-2.0
Summary:        MJPG streamer
Url:            http://sourceforge.net/projects/mjpg-streamer/
Group:          Productivity/Multimedia/Video/Players
Source:         %{name}-%{version}.tar.gz
Patch0:         %{name}.Makefile.patch
BuildRequires:  linux-glibc-devel libjpeg8-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description

%prep
%setup -q
%patch0 -p1

%build
make %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot} %{?_smp_mflags}

%files
%defattr(-,root,root)
%doc CHANGELOG LICENSE README
%_bindir/*
%{_exec_prefix}/lib/*
%dir /srv/www/htdocs/mjpg-streamer
/srv/www/htdocs/mjpg-streamer/*