[info=dfe550d71a30a55fb811f6b92821d6db49a3e18ba75dd1a7d9ed5e950eae1207]
OBS-URL: https://build.opensuse.org/package/show/hardware/libfreefare?expand=0&rev=13
This commit is contained in:
parent
ef87db5499
commit
3e9171c242
@ -1,4 +1,4 @@
|
||||
mtime: 1427313933
|
||||
commit: 0b934b0b7a926703a9d9dbf88709634695ab189c2ff12af5fd5425c5cc066c44
|
||||
mtime: 1730549372
|
||||
commit: dfe550d71a30a55fb811f6b92821d6db49a3e18ba75dd1a7d9ed5e950eae1207
|
||||
url: https://src.opensuse.org/jengelh/libfreefare
|
||||
revision: master
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e825d08815ac847501730851ce74eef18e42e5dfe01639f9bb612bd55d1050f0
|
||||
oid sha256:549c089bda90fe2f63f5cf289d9024101c1ead7b031db659742fc92008019567
|
||||
size 256
|
||||
|
22
gcc14.patch
Normal file
22
gcc14.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From: Jan Engelhardt <ej@inai.de>
|
||||
Date: 2024-11-02 13:08:11.371010482 +0100
|
||||
Upstream: already fixed in git snapshots
|
||||
|
||||
mifare_desfire_crypto.c:142:9: error: implicit declaration of function 'abort' [-Wimplicit-function-declaration]
|
||||
|
||||
---
|
||||
libfreefare/mifare_desfire_crypto.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
Index: libfreefare-libfreefare-0.4.0/libfreefare/mifare_desfire_crypto.c
|
||||
===================================================================
|
||||
--- libfreefare-libfreefare-0.4.0.orig/libfreefare/mifare_desfire_crypto.c
|
||||
+++ libfreefare-libfreefare-0.4.0/libfreefare/mifare_desfire_crypto.c
|
||||
@@ -57,6 +57,7 @@
|
||||
#include <openssl/des.h>
|
||||
|
||||
#include <err.h>
|
||||
+#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 2 12:04:35 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Add gcc14.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 17 21:13:52 UTC 2015 - jengelh@inai.de
|
||||
|
||||
|
@ -18,28 +18,21 @@
|
||||
|
||||
Name: libfreefare
|
||||
%define lname libfreefare0
|
||||
Version: 0.4.0
|
||||
Release: 0
|
||||
Summary: API for Mifare card manipulations
|
||||
License: LGPL-3.0+
|
||||
Group: Development/Libraries/C and C++
|
||||
Version: 0.4.0
|
||||
Release: 0
|
||||
Url: https://github.com/nfc-tools/libfreefare/
|
||||
|
||||
#Git-Clone: git://github.com/nfc-tools/libfreefare/
|
||||
URL: https://github.com/nfc-tools/libfreefare/
|
||||
Source: https://github.com/nfc-tools/libfreefare/archive/%name-%version.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Patch1: gcc14.patch
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: xz
|
||||
%if 0%{?suse_version} == 1110
|
||||
BuildRequires: libnfc-devel >= 1.7.0
|
||||
BuildRequires: libopenssl-devel
|
||||
%else
|
||||
BuildRequires: pkgconfig(libcrypto)
|
||||
BuildRequires: pkgconfig(libnfc) >= 1.7.0
|
||||
%endif
|
||||
|
||||
%description
|
||||
The libfreefare project aims to provide a convenient API for Mifare
|
||||
@ -84,37 +77,32 @@ This package contains example programs using libfreefare for
|
||||
inspecting and manipulating Mifare cards.
|
||||
|
||||
%prep
|
||||
%setup -qn %name-%name-%version
|
||||
%autosetup -n %name-%name-%version -p1
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then
|
||||
autoreconf -fi
|
||||
fi
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags};
|
||||
%make_build
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
%make_install
|
||||
rm -f "$b/%_libdir"/*.la;
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %lname
|
||||
|
||||
%files -n %lname
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libfreefare.so.0*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%_includedir/freefare.h
|
||||
%_mandir/man3/*.3*
|
||||
%_libdir/libfreefare.so
|
||||
%_libdir/pkgconfig/libfreefare.pc
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%_bindir/mifare-*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user