From 7dcead581b78e4b9724b992cda3314c37b8a7c225d58df2caf26803c6f71ba25 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 17 Mar 2015 21:14:14 +0000 Subject: [PATCH] Source URL OBS-URL: https://build.opensuse.org/package/show/hardware/libfreefare?expand=0&rev=9 --- libfreefare-0.4.0.tar.gz | 3 +++ libfreefare-0.4.0.tar.xz | 3 --- libfreefare.changes | 5 +++++ libfreefare.spec | 22 +++++++++++----------- 4 files changed, 19 insertions(+), 14 deletions(-) create mode 100644 libfreefare-0.4.0.tar.gz delete mode 100644 libfreefare-0.4.0.tar.xz diff --git a/libfreefare-0.4.0.tar.gz b/libfreefare-0.4.0.tar.gz new file mode 100644 index 0000000..7907adc --- /dev/null +++ b/libfreefare-0.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:116c183941b76d30e46db465b23c3a20a687fe734eb30cd63f2be2606e9b267f +size 115048 diff --git a/libfreefare-0.4.0.tar.xz b/libfreefare-0.4.0.tar.xz deleted file mode 100644 index 2b8f0f2..0000000 --- a/libfreefare-0.4.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:48f5076d0cd13bab9f54a9bc9aa9b2c2096162c292f779d2c2194664dd8c0820 -size 297844 diff --git a/libfreefare.changes b/libfreefare.changes index bd8d0df..546b963 100644 --- a/libfreefare.changes +++ b/libfreefare.changes @@ -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 diff --git a/libfreefare.spec b/libfreefare.spec index 6a6fb89..4d1069e 100644 --- a/libfreefare.spec +++ b/libfreefare.spec @@ -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