58 lines
1.4 KiB
RPMSpec
58 lines
1.4 KiB
RPMSpec
Name: libfprint
|
|
Version: 0.8.2
|
|
Release: 3
|
|
Summary: Development toolkit for fingerprint scanner
|
|
|
|
License: LGPLv2+
|
|
URL: https://fprint.freedesktop.org/
|
|
Source0: https://gitlab.freedesktop.org/libfprint/libfprint/uploads/4272fab4f37516db5b20d07bb576a4b1/libfprint-%{version}.tar.xz
|
|
|
|
BuildRequires: meson pkgconfig(glib-2.0) >= 2.28 pkgconfig(libusb-1.0) >= 0.9.1 pkgconfig(nss)
|
|
BuildRequires: pkgconfig(pixman-1) gtk-doc systemd
|
|
|
|
Patch0000: 0001-build-Fix-build-with-newer-meson.patch
|
|
|
|
%description
|
|
libfprint aims to add support for consumer fingerprint reader devices, in Linux, as well as other free Unices.
|
|
|
|
%package devel
|
|
Summary: Development files for libfprint
|
|
Requires: libfprint = %{version}-%{release}
|
|
|
|
%description devel
|
|
The libfprint-devel package provides libraries and header files which are used to developing applications using libfprint.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson -Dx11-examples=false
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc NEWS TODO THANKS AUTHORS README
|
|
%{_libdir}/*.so.*
|
|
%{_udevrulesdir}/60-fprint-autosuspend.rules
|
|
|
|
%files devel
|
|
%doc HACKING.md
|
|
%{_includedir}/*
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/libfprint.pc
|
|
%{_datadir}/gtk-doc/html/libfprint/
|
|
|
|
%changelog
|
|
* Fri Dec 13 2019 lihao <lihao129@huawei.com> - 0.8.2-3
|
|
- Package Init
|
|
|