File fprint_demo.spec of Package fprint_demo
#
# spec file for package fprint_demo
#
# Copyright (c) 2016 SUSE LINUX 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: fprint_demo
Version: 0.4
Release: 0
Summary: A simple GTK+ application to demonstrate and test fingerprint reader
License: GPL-2.0
Group: Development/Tools/Other
Url: https://www.freedesktop.org/wiki/Software/fprint/fprint_demo/
Source: http://downloads.sourceforge.net/project/fprint/fprint_demo/v%{version}/%{name}-%{version}.tar.bz2
Patch0: fix-serious-gcc-warnings
BuildRequires: gcc-c++
BuildRequires: gtk2-devel
BuildRequires: libfprint-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
fprint_demo is a simple GTK+ application to demonstrate and test libfprint's capabilities.
It provides access to many of the features offered by the backing library, libfprint.
%prep
%setup -q
%patch0 -p1 -b .cxxflags
%build
export CXXFLAGS="%{optflags}"
%configure
make %{?_smp_mflags}
%install
install -d -m 0755 %{buildroot}%{_bindir}
install -m 0755 src/%{name} %{buildroot}%{_bindir}
%files
%defattr(-, root, root)
%doc COPYING ChangeLog AUTHORS NEWS README
%{_bindir}/%{name}
%changelog