File fprint_demo.spec of Package fprint_demo
#
# spec file for package astyle (Version 1.23)
#
# 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/
#
# norootforbuild
Name: fprint_demo
Version: 0.4
Release: 1
Summary: A simple GTK+ application to demonstrate and test fingerprint reader
Group: Development/Tools/Other
License: GPLv2
Url: http://reactivated.net/fprint/wiki/Fprint_demo
Source: %{name}-%{version}.tar.bz2
Patch0: fix-serious-gcc-warnings
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ libfprint-devel gtk2-devel
%description
fprint_demo is a simple GTK+ application to demonstrate and test libfprint's capabilities. It is written in C and licensed under the GNU GPL v2.
It provides access to many of the features offered by the backing library, libfprint.
%prep
%setup -q -n %{name}-%{version}
%patch0 -p1 -b .cxxflags
%build
export CXXFLAGS="%{optflags}"
%configure
make
#cd buildgcc
#make release
%install
install -d -m 0755 %{buildroot}/%{_bindir}
install -m 0755 src/%{name} %{buildroot}/%{_bindir}
%clean
rm -rf %{buildroot}
%files
%defattr(0644,root,root,0755)
%defattr(-,root,root,0755)
%{_bindir}/%{name}
%changelog