From a27dade18f32beb53a971fa06a8726a034167a59 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:16:46 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.94.1-1mamba;Sat Oct 09 2021] --- README.md | 2 ++ libfprint.spec | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) create mode 100644 libfprint.spec diff --git a/README.md b/README.md index 5550d3b..09c6624 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libfprint +Library for fingerprint readers. + diff --git a/libfprint.spec b/libfprint.spec new file mode 100644 index 0000000..fc1589f --- /dev/null +++ b/libfprint.spec @@ -0,0 +1,72 @@ +Name: libfprint +Version: 1.94.1 +Release: 1mamba +Summary: Library for fingerprint readers +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://fprint.freedesktop.org/ +Source: https://gitlab.freedesktop.org/libfprint/libfprint.git/v%{version}/libfprint-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libglib-devel +BuildRequires: libgudev-devel +BuildRequires: libgusb-devel +BuildRequires: libnss-devel +BuildRequires: libpixman-devel +## AUTOBUILDREQ-END + +%description +Library for fingerprint readers. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_udevrulesdir}/70-libfprint-2.rules +%{_libdir}/libfprint-2.so.* +%{_libdir}/girepository-1.0/FPrint-2.0.typelib +%doc AUTHORS COPYING THANKS + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libfprint-2 +%{_includedir}/libfprint-2/*.h +%{_libdir}/libfprint-2.so +%{_libdir}/pkgconfig/libfprint-2.pc +%{_datadir}/gir-1.0/FPrint-2.0.gir +%dir %{_datadir}/gtk-doc/html/libfprint-2 +%{_datadir}/gtk-doc/html/libfprint-2/* +%doc NEWS README TODO + +%changelog +* Sat Oct 09 2021 Silvan Calarco 1.94.1-1mamba +- package created using the webbuild interface