SHA256
1
0
forked from pool/libnfc

Compare commits

1 Commits

Author SHA256 Message Date
0c7a088f9a Accepting request 1306686 from hardware
- Activate PCSC support, which is disabled by default

OBS-URL: https://build.opensuse.org/request/show/1306686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libnfc?expand=0&rev=12
2025-09-23 14:07:59 +00:00
4 changed files with 22 additions and 11 deletions

4
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
mtime: 1758621649
commit: e0237a834e0e28013c9b61f19e3d3e47af2604c362ef1ab0ad0ec2e5d400483b
url: https://src.opensuse.org/jengelh/libnfc
revision: master

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b4a9f99dbbc9b5f3d714f8cd122a29651dbee5cc369e1a05e8c9e93e59e5a42
size 256

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 19 10:27:32 UTC 2025 - Martin Sirringhaus <martin.sirringhaus@suse.com>
- Activate PCSC support, which is disabled by default
-------------------------------------------------------------------
Thu May 21 21:11:51 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package libnfc
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,13 +21,11 @@ Name: libnfc
Version: 1.8.0
Release: 0
Summary: Library for Near Field Communication
License: LGPL-3.0-or-later AND GPL-2.0-or-later
License: GPL-2.0-or-later AND LGPL-3.0-or-later
Group: Development/Libraries/C and C++
URL: http://libnfc.org/
#Git-Clone: https://github.com/nfc-tools/libnfc
Source: https://github.com/nfc-tools/libnfc/releases/download/%name-%version/%name-%version.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config
BuildRequires: readline-devel
BuildRequires: pkgconfig(libpcsclite)
@@ -56,7 +54,7 @@ target and as initiator.
%package devel
Summary: Development files for the Near Field Communications library
License: LGPL-3.0-or-later AND GPL-2.0-or-later
License: GPL-2.0-or-later AND LGPL-3.0-or-later
Group: Development/Libraries/C and C++
Requires: %lname = %version
@@ -72,7 +70,7 @@ This package contains the libnfc development files.
%package tools
Summary: Tools for Near Field Communication
License: LGPL-3.0-or-later AND GPL-2.0-or-later
License: GPL-2.0-or-later AND LGPL-3.0-or-later
Group: Hardware/Other
%description tools
@@ -86,19 +84,20 @@ target and as initiator.
This package contains the NFC utilities.
%prep
%setup -q
%autosetup
%build
%configure --disable-static
make %{?_smp_mflags}
# pcsc-support is disabled by default, but included
# in the special driver-target 'all'
%configure --disable-static --with-drivers=all
%make_build
%install
%make_install
rm -fv "%buildroot/%_libdir"/*.la
mkdir -p "%buildroot/%_sysconfdir/nfc"
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%ldconfig_scriptlets
%files -n %lname
%_libdir/libnfc.so.6*