[info=0b934b0b7a926703a9d9dbf88709634695ab189c2ff12af5fd5425c5cc066c44]
OBS-URL: https://build.opensuse.org/package/show/hardware/libfreefare?expand=0&rev=12
This commit is contained in:
commit
ef87db5499
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
mtime: 1427313933
|
||||
commit: 0b934b0b7a926703a9d9dbf88709634695ab189c2ff12af5fd5425c5cc066c44
|
||||
url: https://src.opensuse.org/jengelh/libfreefare
|
||||
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e825d08815ac847501730851ce74eef18e42e5dfe01639f9bb612bd55d1050f0
|
||||
size 256
|
3
libfreefare-0.4.0.tar.gz
Normal file
3
libfreefare-0.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:116c183941b76d30e46db465b23c3a20a687fe734eb30cd63f2be2606e9b267f
|
||||
size 115048
|
23
libfreefare.changes
Normal file
23
libfreefare.changes
Normal file
@ -0,0 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 17 21:13:52 UTC 2015 - jengelh@inai.de
|
||||
|
||||
- Place new homepage URL and use source URL.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 24 17:37:21 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 0.4.0
|
||||
* add support for 7-byte UID MIFARE Classic cards
|
||||
* add support Infineon Mifare Classic 1k
|
||||
* add test default ULC key in mifare-ultralight-info
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 5 15:58:17 UTC 2013 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream snapshot 0.3.4+git67
|
||||
* update for new libnfc4-1.7.0 API
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 15 17:47:46 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Initial package for build.opensuse.org
|
120
libfreefare.spec
Normal file
120
libfreefare.spec
Normal file
@ -0,0 +1,120 @@
|
||||
#
|
||||
# spec file for package libfreefare
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: libfreefare
|
||||
%define lname libfreefare0
|
||||
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/
|
||||
Source: https://github.com/nfc-tools/libfreefare/archive/%name-%version.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
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
|
||||
card manipulations. Supported tags include: Classic 1k/4k, DESFire
|
||||
2K/4K/8K, Ultralight/C. Supported features include: Mifare
|
||||
Application Directory (MAD) v1-v3.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Library for Mifare card manipulations
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
The libfreefare project aims to provide a convenient API for Mifare
|
||||
card manipulations. Supported tags include: Classic 1k/4k, DESFire
|
||||
2K/4K/8K, Ultralight/C. Supported features include: Mifare
|
||||
Application Directory (MAD) v1-v3.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for the Mifare card manipulation library
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version
|
||||
|
||||
%description devel
|
||||
The libfreefare project aims to provide a convenient API for Mifare
|
||||
card manipulations. Supported tags include: Classic 1k/4k, DESFire
|
||||
2K/4K/8K, Ultralight/C. Supported features include: Mifare
|
||||
Application Directory (MAD) v1-v3.
|
||||
|
||||
This package contains the libfreefare development files.
|
||||
|
||||
%package tools
|
||||
Summary: Tools for Mifare cards
|
||||
Group: Hardware/Other
|
||||
|
||||
%description tools
|
||||
The libfreefare project aims to provide a convenient API for Mifare
|
||||
card manipulations. Supported tags include: Classic 1k/4k, DESFire
|
||||
2K/4K/8K, Ultralight/C. Supported features include: Mifare
|
||||
Application Directory (MAD) v1-v3.
|
||||
|
||||
This package contains example programs using libfreefare for
|
||||
inspecting and manipulating Mifare cards.
|
||||
|
||||
%prep
|
||||
%setup -qn %name-%name-%version
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then
|
||||
autoreconf -fi
|
||||
fi
|
||||
%configure --disable-static
|
||||
make %{?_smp_mflags};
|
||||
|
||||
%install
|
||||
b="%buildroot";
|
||||
%make_install
|
||||
rm -f "$b/%_libdir"/*.la;
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%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