Compare commits

...
Sign in to create a new pull request.

14 commits

Author SHA1 Message Date
Neal Gompa
65fc4cc2fb Drop ExcludeArch for IBM Z to allow building there for COSMIC 2025-12-15 12:12:38 -05:00
Kate Hsuan
0585fee3e1 Skip the %check section due to recent pygobject issues
libfprint is trying to resolve the test issue. It was found when the
test runs with pygobject3.52 and python3.14. So, the %check was
temporarily skipped to ensure the build can be run.

Resolves: #2385111
2025-08-06 16:11:57 +08:00
Kate Hsuan
5e7d505a69 Migrate to tmt test
Resolves: #2382943
2025-08-06 16:00:32 +08:00
Fedora Release Engineering
35bbfe0e0d Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 19:39:59 +00:00
Kate Hsuan
09c6ca8d0f Update to the upstream version 1.94.9
- Update to version 1.94.9
- Add openssl-devel dependency
- Add a file
  /usr/share/metainfo/org.freedesktop.libfprint.metainfo.xml

Resolves: #2232471
2025-03-20 15:12:04 +08:00
Fedora Release Engineering
c1b082f522 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 11:15:20 +00:00
Kate Hsuan
3a96323138 Update to upstream version 1.94.8
Resolves: #2232471
2024-09-24 15:33:19 +08:00
Miroslav Suchý
f4e2d954bc convert license to SPDX
This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4
2024-09-02 09:52:07 +02:00
Fedora Release Engineering
9dd7c7df01 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 13:53:02 +00:00
Arun Babu Neelicattu
9a72ec1474 Update to 1.94.7
Resolves: #2232471
2024-07-12 11:12:30 +08:00
Arun Babu Neelicattu
05b8433361 Add tests subpackage 2024-07-12 11:12:25 +08:00
Kate Hsuan
4f101d393e Update to 1.94.6
Resolves: #2250624
2024-01-31 13:45:14 +08:00
Fedora Release Engineering
c701ce89fb Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 02:11:33 +00:00
Fedora Release Engineering
6305b23e25 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 04:06:36 +00:00
8 changed files with 44 additions and 32 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

4
.gitignore vendored
View file

@ -22,3 +22,7 @@ libfprint-0.3.0.tar.bz2
/libfprint-v1.94.3.tar.gz
/libfprint-v1.94.4.tar.gz
/libfprint-v1.94.5.tar.gz
/libfprint-v1.94.6.tar.gz
/libfprint-v1.94.7.tar.gz
/libfprint-v1.94.8.tar.gz
/libfprint-v1.94.9.tar.gz

View file

@ -1,18 +1,19 @@
Name: libfprint
Version: 1.94.5
Version: 1.94.9
Release: %autorelease
Summary: Toolkit for fingerprint scanner
License: LGPLv2+
# Automatically converted from old format: LGPLv2+ - review is highly recommended.
License: LicenseRef-Callaway-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: openssl-devel
BuildRequires: pkgconfig(glib-2.0) >= 2.50
BuildRequires: pkgconfig(gio-2.0) >= 2.44.0
BuildRequires: pkgconfig(gusb) >= 0.3.0
@ -38,6 +39,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package tests
Summary: Tests for the %{name} package
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tests
The %{name}-tests package contains tests that can be used to verify
the functionality of the installed %{name} package.
%prep
%autosetup -S git -n libfprint-v%{version}
@ -51,8 +60,8 @@ developing applications that use %{name}.
%ldconfig_scriptlets
%check
%meson_test -t 4
# TODO: The test can't run with the recent pygobject3.52.
# So, skip the test until the issue of pygobject is fixed.
%files
%license COPYING
@ -61,6 +70,7 @@ developing applications that use %{name}.
%{_libdir}/girepository-1.0/*.typelib
%{_udevhwdbdir}/60-autosuspend-libfprint-2.hwdb
%{_udevrulesdir}/70-libfprint-2.rules
%{_datadir}/metainfo/org.freedesktop.libfprint.metainfo.xml
%files devel
%doc HACKING.md
@ -70,5 +80,9 @@ developing applications that use %{name}.
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/libfprint-2/
%files tests
%{_libexecdir}/installed-tests/libfprint-2/
%{_datadir}/installed-tests/libfprint-2/
%changelog
%autochangelog

5
plans/integration.fmf Normal file
View file

@ -0,0 +1,5 @@
summary: Test for libfprint
discover:
how: fmf
execute:
how: tmt

View file

@ -1 +1 @@
SHA512 (libfprint-v1.94.5.tar.gz) = 033b7239acebfcccbb9f275cbbca52d68bf4a3a62f4c39a6323c943924532f73233fa3bf2e9517f6f4de04f513ba30776fcd3a98ebb8467fd2826e72a3ae3529
SHA512 (libfprint-v1.94.9.tar.gz) = f8debcc1277e6112ed450c04a40cf6113afd7b38377b3fd259bedb1f553b29db758f3519491940bf9cd4ade0f8e70b68040d5bef4c8dbf5f7c2afc1802086397

View file

@ -0,0 +1,11 @@
summary: Test for libfprint
require:
- cairo-devel
- libfprint-devel
- libfprint-tests
- umockdev-devel
- python3-cairo
- python3-gobject-base
- python3-pip
- python3-packaging
test: bash ./run-umockdev.sh

View file

@ -2,7 +2,7 @@
set -u
# Switch into the tests directory
cd source/tests || exit 1
cd /usr/share/installed-tests/libfprint-2 || exit 1
# check if we need to install additional packages
# which is the case if we are on RHEL 8
@ -14,7 +14,7 @@ if [[ "$ID" = *"rhel"* ]] && [[ "$VERSION_ID" == *"8"* ]]; then
pip3 install python-dbusmock
fi
# Each directory in source/tests is a umockdev based test
# Each directory in /usr/share/installed-tests/libfprint-2 is a umockdev based test
# discover them
declare -a TESTS=()
for f in *; do
@ -27,7 +27,7 @@ export FP_DEVICE_EMULATION=1
RESULT=0
for test in ${TESTS[@]}; do
echo "$test"
./umockdev-test.py "$test"
/usr/libexec/installed-tests/libfprint-2/umockdev-test.py "$test"
RES=$?
echo "$test finished with return code $RES"
echo ""

View file

@ -1,23 +0,0 @@
---
- hosts: localhost
roles:
- role: standard-test-source
tags:
- always
required_packages:
- git
- role: standard-test-basic
tags:
- atomic
- classic
required_packages:
- python3-dbusmock
- umockdev
tests:
- virtual_image:
dir: .
run: source/tests/virtual-image.py
- umockdev:
dir: .
run: run-umockdev.sh