2008-09-18 02:39:49 +00:00
|
|
|
#
|
|
|
|
# spec file for package luvcview (Version 20070512)
|
|
|
|
#
|
2010-05-14 22:38:40 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-09-18 02:39:49 +00:00
|
|
|
#
|
|
|
|
# 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
|
2010-05-18 11:58:18 +00:00
|
|
|
Release: 4
|
2008-09-18 02:39:49 +00:00
|
|
|
Source: %name-%version.src.tar.gz
|
|
|
|
Url: http://mxhaard.free.fr/spca50x/Investigation/uvc/
|
2010-05-14 22:38:40 +00:00
|
|
|
License: GPLv2+
|
2008-09-18 02:39:49 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-11-07 01:45:59 +00:00
|
|
|
Patch1: luvcview-add-COPYING.patch
|
2010-05-14 22:38:40 +00:00
|
|
|
Patch2: luvcview-memory-leaks.patch
|
2008-09-18 02:39:49 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
luvcview is a simple V4L2 application using sdl
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Laurent Pinchart
|
|
|
|
Michel Xhaard
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n luvcview-%version
|
2008-11-07 01:45:59 +00:00
|
|
|
%patch1 -p1
|
2010-05-18 19:11:10 +00:00
|
|
|
%patch2 -p1
|
2008-09-18 02:39:49 +00:00
|
|
|
|
|
|
|
%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
|