2007-12-04 07:24:55 +00:00
|
|
|
Name: libfprint
|
2019-10-08 13:57:47 +00:00
|
|
|
|
2022-11-22 12:06:12 +00:00
|
|
|
Version: 1.94.5
|
2022-02-14 15:56:20 +00:00
|
|
|
Release: %autorelease
|
2012-05-19 03:29:25 +00:00
|
|
|
Summary: Toolkit for fingerprint scanner
|
2007-12-04 07:24:55 +00:00
|
|
|
|
|
|
|
License: LGPLv2+
|
2012-12-03 16:02:41 +00:00
|
|
|
URL: http://www.freedesktop.org/wiki/Software/fprint/libfprint
|
2019-10-08 13:57:47 +00:00
|
|
|
Source0: https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/v%{version}/libfprint-v%{version}.tar.gz
|
2009-04-21 13:38:57 +00:00
|
|
|
ExcludeArch: s390 s390x
|
2007-12-04 07:24:55 +00:00
|
|
|
|
2018-07-18 10:18:55 +00:00
|
|
|
BuildRequires: meson
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
2018-07-20 10:38:48 +00:00
|
|
|
BuildRequires: git
|
2019-10-08 13:57:47 +00:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.50
|
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.44.0
|
|
|
|
BuildRequires: pkgconfig(gusb) >= 0.3.0
|
2018-07-18 10:18:55 +00:00
|
|
|
BuildRequires: pkgconfig(nss)
|
|
|
|
BuildRequires: pkgconfig(pixman-1)
|
|
|
|
BuildRequires: gtk-doc
|
2021-07-01 15:11:22 +00:00
|
|
|
BuildRequires: libgudev-devel
|
2017-05-15 12:10:15 +00:00
|
|
|
# For the udev.pc to install the rules
|
|
|
|
BuildRequires: systemd
|
2019-10-08 13:57:47 +00:00
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
# For internal CI tests; umockdev 0.13.2 has an important locking fix
|
|
|
|
BuildRequires: python3-cairo python3-gobject cairo-devel
|
|
|
|
BuildRequires: umockdev >= 0.13.2
|
2007-12-04 07:24:55 +00:00
|
|
|
|
|
|
|
%description
|
2008-11-18 18:17:15 +00:00
|
|
|
libfprint offers support for consumer fingerprint reader devices.
|
2007-12-04 07:24:55 +00:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
2018-02-03 17:02:39 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2007-12-04 07:24:55 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
%prep
|
2019-10-08 13:57:47 +00:00
|
|
|
%autosetup -S git -n libfprint-v%{version}
|
2007-12-04 07:24:55 +00:00
|
|
|
|
|
|
|
%build
|
2019-10-08 13:57:47 +00:00
|
|
|
# Include the virtual image driver for integration tests
|
2022-02-14 16:02:44 +00:00
|
|
|
%meson -Ddrivers=all
|
2018-06-12 14:06:40 +00:00
|
|
|
%meson_build
|
2007-12-04 07:24:55 +00:00
|
|
|
|
|
|
|
%install
|
2018-06-12 14:06:40 +00:00
|
|
|
%meson_install
|
2007-12-04 07:24:55 +00:00
|
|
|
|
2018-02-03 17:02:39 +00:00
|
|
|
%ldconfig_scriptlets
|
2007-12-04 07:24:55 +00:00
|
|
|
|
2019-10-08 13:57:47 +00:00
|
|
|
%check
|
2021-07-27 08:18:18 +00:00
|
|
|
%meson_test -t 4
|
2019-10-08 13:57:47 +00:00
|
|
|
|
2007-12-04 07:24:55 +00:00
|
|
|
%files
|
2018-02-03 17:02:39 +00:00
|
|
|
%license COPYING
|
2022-02-14 16:04:50 +00:00
|
|
|
%doc NEWS THANKS AUTHORS README.md
|
2007-12-04 07:24:55 +00:00
|
|
|
%{_libdir}/*.so.*
|
2019-10-08 13:57:47 +00:00
|
|
|
%{_libdir}/girepository-1.0/*.typelib
|
2021-07-01 15:11:22 +00:00
|
|
|
%{_udevhwdbdir}/60-autosuspend-libfprint-2.hwdb
|
|
|
|
%{_udevrulesdir}/70-libfprint-2.rules
|
2007-12-04 07:24:55 +00:00
|
|
|
|
|
|
|
%files devel
|
2018-06-12 14:12:13 +00:00
|
|
|
%doc HACKING.md
|
2007-12-04 07:24:55 +00:00
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
2019-10-08 13:57:47 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}-2.pc
|
|
|
|
%{_datadir}/gir-1.0/*.gir
|
|
|
|
%{_datadir}/gtk-doc/html/libfprint-2/
|
2007-12-04 07:24:55 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-02-14 15:56:20 +00:00
|
|
|
%autochangelog
|