LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File yast2-fingerprint-reader.spec of Package yast2-fingerprint-reader (Project home:zhy20120210:failed_1)

#
# spec file for package yast2-fingerprint-reader (Version 2.17.7)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           yast2-fingerprint-reader
Version:        2.17.7
Release:        0.1.201
License:        GPL v2 or later
Group:          System/YaST
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        yast2-fingerprint-reader-2.17.7.tar.bz2
Prefix:         /usr
Requires:       yast2 yast2-pam
BuildRequires:  libfprint-devel libfprint0 libusb-devel
BuildRequires:  doxygen gcc-c++ perl-XML-Writer update-desktop-files yast2 yast2-core-devel yast2-devtools yast2-pam yast2-testsuite
Conflicts:      yast2-hardware-detection < 2.15.7
Summary:        YaST2 - Fingerprint Reader Configuration

%description
YaST module for configuration of fingerprint authentication using the
thinkfinger library.



Authors:
--------
    Jiri Suchomel <jsuchome@suse.cz>

%prep
%setup -n yast2-fingerprint-reader-2.17.7

%build
%{prefix}/bin/y2tool y2autoconf
%{prefix}/bin/y2tool y2automake
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
%{?suse_update_config:%{suse_update_config -f}}
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
# V=1: verbose build in case we used AM_SILENT_RULES(yes)
# so that RPM_OPT_FLAGS check works
make %{?jobs:-j%jobs} V=1

%install
make install DESTDIR="$RPM_BUILD_ROOT"
[ -e "%{prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT"
for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
    d=${f##*/}
    %suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
done

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%dir /usr/share/YaST2/include/fingerprint-reader
/usr/share/YaST2/include/fingerprint-reader/*
/usr/share/YaST2/clients/fingerprint-reader.ycp
/usr/share/YaST2/clients/users_plugin_fingerprint_reader.ycp
/usr/share/YaST2/modules/FingerprintReader.*
/usr/share/YaST2/modules/UsersPluginFingerprintReader.pm
%{prefix}/share/applications/YaST2/fingerprint-reader.desktop
/usr/share/YaST2/scrconf/*.scr
%{_libdir}/YaST2/plugin/libpy2ag_fprint.*
%doc %{prefix}/share/doc/packages/yast2-fingerprint-reader
%changelog
* Tue Dec  1 2009 jsuchome@suse.cz
- fixed desktop file category (bnc#559343)
- 2.17.7
* Mon Oct 13 2008 jsuchome@suse.cz
- better help text
- 2.17.6
* Tue Oct  7 2008 jsuchome@suse.de
- show the number of successfull swipes as a feedback
- enable calling Users module after fingerprint-reader finish
- adapted help texts
- 2.17.5
* Mon Oct  6 2008 jsuchome@suse.de
- removed Supplements from spec file (package will be recommended
  by pam_fp)
- pam_fp used instead of pam_thinkfinger
- save fingerprints in user's home directory
- disabled option to import fingerprints
- 2.17.4
* Wed Oct  1 2008 jsuchome@suse.cz
- call _exit() to exit the child process, not exit() (bnc#430229)
- 2.17.3
* Mon Sep 29 2008 jsuchome@suse.cz
- check the values returned by agent (fp_enroll_finger_img) in YCP
- 2.17.2
* Fri Sep 26 2008 jsuchome@suse.cz
- initial version of agent based on linfprint library (fate#300416)
- 2.17.1
* Tue Sep  9 2008 jsuchome@suse.cz
- merged proofread texts
- 2.17.0
* Tue May 20 2008 jsuchome@suse.cz
- do not enable configuration when pam_mount is set up (bnc#390810)
- 2.16.8
* Fri May 16 2008 jsrain@suse.cz
- added categories Settings and System into desktop file
  (bnc #382778)
* Tue Apr 15 2008 jsuchome@suse.cz
- added support for command line interface
- better help text and 'import directory' label
- 2.16.7
* Sun Mar 30 2008 jsuchome@suse.cz
- merged proofread texts
- 2.16.6
* Wed Mar 26 2008 jsuchome@suse.cz
- use OK button label instead Accept (fate #120373)
- 2.16.5
* Mon Mar 17 2008 jsrain@suse.cz
- added 'StartupNotify=true' to the desktop file (bnc #304964)
* Fri Mar  7 2008 jsuchome@suse.cz
- wait for child exit with WNOHANG (bnc#361638)
- 2.16.4
* Mon Mar  3 2008 jsuchome@suse.cz
- added modalias to Supplements, so package could get selected
  automatically on the systems with UPEK fingerprint reader
  (bnc#361636)
- fixed handling of child process exit (bnc#361638)
- 2.16.3
* Mon Dec 10 2007 jsuchome@suse.cz
- merged proofread texts
- 2.16.2
* Wed Oct 24 2007 jsuchome@suse.cz
- Cancel button: send the child process SIGKILL when it is still
  alive 3 seconds after SIGTERM
- 2.16.1
* Mon Oct 22 2007 jsuchome@suse.cz
- fixed wrong widget id (#333670)
- check for presence of bir files in import directory (#333670)
- 2.16.0
* Wed Aug 15 2007 jsuchome@suse.cz
- use Pam module to check the status and FingerprintReader.ycp for
  devices listing
- mkdir /etc/pam_thinkfinger if not present
- 2.15.2
* Tue Aug 14 2007 jsuchome@suse.cz
- fixed text in .desktop file, changed icon name
- 2.15.1
* Wed Aug  1 2007 jsuchome@suse.cz
- feature 301952
- initial dialog with PAM configuration
- user plugin for the saving fingerprints
- 2.15.0
* Fri Mar  2 2007 jsuchome@suse.cz
- initial version