File fswebcam.spec of Package fswebcam

#
# spec file for package fswebcam
#
# Copyright (c) 2014 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/
#


Summary:        Tiny and flexible webcam program
License:        GPL-2.0
Group:          Applications/Multimedia
Name:           fswebcam
Version:        20140113
Release:        0
Source0:        http://www.firestorm.cx/fswebcam/files/fswebcam-%{version}.tar.xz
Url:            http://www.firestorm.cx/fswebcam/
BuildRequires:  gd-devel > 2
Requires:       gd > 2
%if 0%{?suse_version} < 1120
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  xz
%endif

%description
Tiny and flexible webcam program for capturing images from a V4L1/V4L2
device, and overlaying a caption or image.

%prep
%setup -q -n %{name}-%{version}

%build
%configure
make %{?_smp_mflags}

%install
make DESTDIR="%{buildroot}" install

%files
%defattr(-,root,root)
%doc README CHANGELOG LICENSE example.conf
%{_bindir}/fswebcam
%{_mandir}/man1/fswebcam.1.gz

%changelog
openSUSE Build Service is sponsored by