Compare commits
10 Commits
b4ae2352fa
...
dcbef6d303
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dcbef6d303 | ||
|
|
f7c73dbff9 | ||
|
|
51d6afa9ae | ||
|
|
4a69d1d7d5 | ||
|
|
65c62b6acc | ||
|
|
7aff3e01a7 | ||
|
|
904f281a8d | ||
|
|
5e17c7919b | ||
|
|
c48f74f510 | ||
|
|
e18cfe5de8 |
BIN
libfprint-v1.94.3.tar.gz
Normal file
BIN
libfprint-v1.94.3.tar.gz
Normal file
Binary file not shown.
91
libfprint.spec
Normal file
91
libfprint.spec
Normal file
@ -0,0 +1,91 @@
|
|||||||
|
## START: Set by rpmautospec
|
||||||
|
## (rpmautospec version 0.2.5)
|
||||||
|
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
|
||||||
|
release_number = 1;
|
||||||
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||||
|
print(release_number + base_release_number - 1);
|
||||||
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
|
||||||
|
## END: Set by rpmautospec
|
||||||
|
|
||||||
|
Name: libfprint
|
||||||
|
|
||||||
|
Version: 1.94.3
|
||||||
|
Release: 1
|
||||||
|
Summary: Toolkit for fingerprint scanner
|
||||||
|
|
||||||
|
License: LGPLv2+
|
||||||
|
URL: http://www.freedesktop.org/wiki/Software/fprint/libfprint
|
||||||
|
Source0: https://gitlab.freedesktop.org/libfprint/libfprint/-/archive/v%{version}/libfprint-v%{version}.tar.gz
|
||||||
|
ExcludeArch: s390 s390x
|
||||||
|
|
||||||
|
BuildRequires: meson
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: git
|
||||||
|
BuildRequires: pkgconfig(glib-2.0) >= 2.50
|
||||||
|
BuildRequires: pkgconfig(gio-2.0) >= 2.44.0
|
||||||
|
BuildRequires: pkgconfig(gusb) >= 0.3.0
|
||||||
|
BuildRequires: pkgconfig(nss)
|
||||||
|
BuildRequires: pkgconfig(pixman-1)
|
||||||
|
BuildRequires: gtk-doc
|
||||||
|
BuildRequires: libgudev-devel
|
||||||
|
# For the udev.pc to install the rules
|
||||||
|
BuildRequires: systemd
|
||||||
|
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
|
||||||
|
|
||||||
|
%description
|
||||||
|
libfprint offers support for consumer fingerprint reader devices.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
The %{name}-devel package contains libraries and header files for
|
||||||
|
developing applications that use %{name}.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -S git -n libfprint-v%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
# Include the virtual image driver for integration tests
|
||||||
|
%meson -Ddrivers=all
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
|
%check
|
||||||
|
%meson_test -t 4
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc NEWS THANKS AUTHORS README.md
|
||||||
|
%{_libdir}/*.so.*
|
||||||
|
%{_libdir}/girepository-1.0/*.typelib
|
||||||
|
%{_udevhwdbdir}/60-autosuspend-libfprint-2.hwdb
|
||||||
|
%{_udevrulesdir}/70-libfprint-2.rules
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%doc HACKING.md
|
||||||
|
%{_includedir}/*
|
||||||
|
%{_libdir}/*.so
|
||||||
|
%{_libdir}/pkgconfig/%{name}-2.pc
|
||||||
|
%{_datadir}/gir-1.0/*.gir
|
||||||
|
%{_datadir}/gtk-doc/html/libfprint-2/
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon May 16 2022 tanyulong <tanyulong@kylinos.cn> - 1.94.3-1
|
||||||
|
- update upstream version 1.94.3
|
||||||
|
|
||||||
|
* Wed Jun 30 2021 zhouwenpei <zhouwenpei1@huawei.com> - 0.8.2-4
|
||||||
|
- add buildrequire gcc and gcc-c++
|
||||||
|
|
||||||
|
* Fri Dec 13 2019 lihao <lihao129@huawei.com> - 0.8.2-3
|
||||||
|
- Package Init
|
||||||
|
|
||||||
5
libfprint.yaml
Normal file
5
libfprint.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://gitlab.freedesktop.org/libfprint/libfprint.git
|
||||||
|
version_control: git
|
||||||
|
src_repo: https://gitlab.freedesktop.org/libfprint/libfprint
|
||||||
|
tag_prefix: "^v"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user