Search
j0ke.net Open Build Service
>
Projects
>
hardware
:
fingerprint
>
libfprint
> libfprint.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libfprint.spec of Package libfprint (Revision 7)
Currently displaying revision
7
,
show latest
# # spec file for package libfprint (Version 0.1.0) # # Copyright (c) 2010 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/ # BuildRequires: ImageMagick-devel glib2-devel mozilla-nss-devel libusb-1_0-devel pkgconfig gcc-c++ Name: libfprint Url: http://reactivated.net/fprint License: LGPLv2.1 Group: Development/Libraries/C and C++ PreReq: %fillup_prereq Version: 0.3.0 Release: 10.1 Summary: Library for fingerprint reader support BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %{name}-%{version}.tar.bz2 Patch17: libfprint-upeke2_6stage.diff Patch21: libfprint-install_examples.patch Source99: baselibs.conf %description The fprint project aims to plug a gap in the Linux desktop: support for consumer fingerprint reader devices. The fprint project aims to plug a gap in the Linux desktop: support for consumer fingerprint reader devices. %package -n libfprint0 License: LGPLv2.1 Summary: Library for fingerprint reader support Group: Development/Libraries/C and C++ Provides: %{name} = %{version} Obsoletes: libthinkfinger <= 0.3 Provides: libthinkfinger = 0.3 %description -n libfprint0 The fprint project aims to plug a gap in the Linux desktop: support for consumer fingerprint reader devices. The fprint project aims to plug a gap in the Linux desktop: support for consumer fingerprint reader devices. %package devel License: LGPLv2.1 Summary: Library for fingerprint reader support (developer files) Requires: libfprint = %{version} libfprint0 = %{version} glibc-devel libusb-1_0-devel glib2-devel ImageMagick-devel libopenssl-devel zlib-devel Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description devel This package contains the header files, static libraries and development documentation for libfprint. If you like to develop programs using libfprint, you will need to install this package. %if 0%{?sles_version} != 11 %package examples License: LGPLv2.1 Summary: Library for fingerprint reader support (example programs) Group: Development/Libraries/C and C++ Requires: %{name} = %{version} %description examples This package contains the header files, static libraries and development documentation for libfprint. If you like to develop programs using libfprint, you will need to install this package. %endif %prep %setup -q %patch17 %patch21 %build ./configure CFLAGS="$RPM_OPT_FLAGS" \ --enable-static=no \ --prefix=%{_prefix} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} \ --includedir=%{_includedir} make %if 0%{?sles_version} != 11 make -C examples %endif %install make install DESTDIR=$RPM_BUILD_ROOT %if 0%{?sles_version} != 11 make -C examples install DESTDIR=$RPM_BUILD_ROOT %endif #remove unpackaged files rm -f %{buildroot}%{_libdir}/*.la %post -n libfprint0 -p /sbin/ldconfig %postun -n libfprint0 -p /sbin/ldconfig %files -n libfprint0 %defattr(-, root, root) %{_libdir}/%{name}.so.* %{_sysconfdir}/udev/rules.d/60-fprint-autosuspend.rules %files devel %defattr(-, root, root) %dir %{_includedir}/%{name} %{_includedir}/%{name}/fprint.h %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %if 0%{?sles_version} != 11 %files examples %defattr(-, root, root) %{_bindir}/* %endif %changelog * Thu Oct 7 2010 fcrozat@novell.com - Release 0.3.0 (since 0.1.0-pre2): * Add support for UPEK TCS4C (USB ID 147e:1000) * Use NSS instead of OpenSSL for GPL compliance * upeksonly driver bug fixes * Fix a crash if a scan was shorter than 8 lines * Fix compilation with C++ compiler * Add gdk-pixbuf support for image manipulation * Add udev rules to allow devices to autosuspend * Finish port of AES1610 driver * Add UPEK EikonII (TCRD4C) driver - update libfprint-install_examples.patch - do not package .la files * Wed Sep 29 2010 ro@suse.de - install examples correctly * Mon Aug 9 2010 ro@suse.de - add examples subpackage * Thu Aug 5 2010 ro@suse.de - work to support 147e:2016 (Upek Eikon 2 as in T410) - update to 0.1.0-pre2 - add fedora patches - add patches from brc#504399 - fix udev rule install - fix enroll_retcode to accept 0x2e as well in upekts and upeke2 - my scanner needs full 5 passes, so set nr_enroll_stages to 6 * Mon Feb 1 2010 jengelh@medozas.de - package baselibs.conf * Tue May 12 2009 thoenig@suse.de - run autoreconf -fi before ./configure * Tue Jan 27 2009 thoenig@suse.de - add libfprint-deinit-01.patch: Add new function fp_dev_reset used to settle the USB device if it was driven into a undefined state. (bnc#463557) * Wed Nov 5 2008 thoenig@suse.de - move supplementing USB IDs from libfprint0 to pam_fp (bnc#441754) * Tue Oct 28 2008 thoenig@suse.de - libfprint0 provide/obsoletes libthinkfinger * Thu Oct 23 2008 thoenig@suse.de - generate HAL fdi so that fingerprint readers are properly recognized (bnc#438187) * Mon Oct 13 2008 thoenig@suse.de - move 'supplements' and 'recommends' to libfprint0 * Thu Oct 9 2008 thoenig@suse.de - use uppercase for hexadecimal numbers in USB vendor and product IDs * Mon Oct 6 2008 thoenig@suse.de - add supplements for supported USB devices - add baselibs.conf (libfprint0) as pam_fp requires libfprint - fix header for inclusions in C++ * Fri Sep 5 2008 thoenig@suse.de - initial check-in