1
0
forked from pool/libfreefare
Jan Engelhardt 2015-03-17 21:14:14 +00:00 committed by Git OBS Bridge
parent e4b42a2c30
commit 7dcead581b
4 changed files with 19 additions and 14 deletions

3
libfreefare-0.4.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:116c183941b76d30e46db465b23c3a20a687fe734eb30cd63f2be2606e9b267f
size 115048

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48f5076d0cd13bab9f54a9bc9aa9b2c2096162c292f779d2c2194664dd8c0820
size 297844

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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

View File

@ -1,7 +1,7 @@
#
# spec file for package libfreefare
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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
@ -23,22 +23,22 @@ License: LGPL-3.0+
Group: Development/Libraries/C and C++
Version: 0.4.0
Release: 0
Url: http://code.google.com/p/nfc-tools/
Url: https://github.com/nfc-tools/libfreefare/
#Git-Clone: http://code.google.com/p/libfreefare/
Source: %name-%version.tar.xz
#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: pkgconfig
BuildRequires: pkg-config
BuildRequires: xz
%if 0%{?suse_version} >= 1140 || 0%{?fedora_version}
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(libnfc) >= 1.7.0
%else
%if 0%{?suse_version} == 1100
BuildRequires: libnfc-devel >= 1.7.0
BuildRequires: libopenssl-devel
%else
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(libnfc) >= 1.7.0
%endif
%description
@ -84,7 +84,7 @@ This package contains example programs using libfreefare for
inspecting and manipulating Mifare cards.
%prep
%setup -q
%setup -qn %name-%name-%version
%build
if [ ! -e configure ]; then
@ -95,7 +95,7 @@ make %{?_smp_mflags};
%install
b="%buildroot";
make install DESTDIR="$b";
%make_install
rm -f "$b/%_libdir"/*.la;
%post -n %lname -p /sbin/ldconfig