forked from pool/luvcview
7e0c768bc7
checked in (request 40248) OBS-URL: https://build.opensuse.org/request/show/40248 OBS-URL: https://build.opensuse.org/package/show/graphics/luvcview?expand=0&rev=6
68 lines
1.7 KiB
RPMSpec
68 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package luvcview (Version 20070512)
|
|
#
|
|
# Copyright (c) 2010 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: luvcview
|
|
%if %suse_version >= 1020
|
|
BuildRequires: SDL-devel SDL_image-devel
|
|
%else
|
|
BuildRequires: SDL-devel
|
|
%endif
|
|
AutoReqProv: on
|
|
Group: Productivity/Multimedia/Video/Players
|
|
Summary: Simple V4L2 application using sdl
|
|
Version: 20070512
|
|
Release: 4
|
|
Source: %name-%version.src.tar.gz
|
|
Url: http://mxhaard.free.fr/spca50x/Investigation/uvc/
|
|
License: GPLv2+
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Patch1: luvcview-add-COPYING.patch
|
|
Patch2: luvcview-memory-leaks.patch
|
|
|
|
%description
|
|
luvcview is a simple V4L2 application using sdl
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Laurent Pinchart
|
|
Michel Xhaard
|
|
|
|
%prep
|
|
%setup -n luvcview-%version
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
|
|
%build
|
|
make
|
|
|
|
%install
|
|
%{__mkdir_p} %{buildroot}%{_bindir}
|
|
%{__install} -s -m 755 luvcview %{buildroot}%{_bindir}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/luvcview
|
|
|
|
%changelog
|