Dominique Leuenberger 2016-05-02 08:44:57 +00:00 committed by Git OBS Bridge
parent 2da9530332
commit 53808c05b2
5 changed files with 71 additions and 58 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:92b1b6e1f49e74c914ff3dd43e97bb1859bcd3239310b5fe54db326aba1fd0a5
size 6704509

3
bitcoin-0.12.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7bdc287575067461c123e1afcb48843f9f78eb5e6cac95b413e2e09f1f7fc7bd
size 6751284

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Sat Apr 30 08:38:08 UTC 2016 - mpluskal@suse.com
- Update to 0.12.1
* For a complete list of changes see provided release-notes
- Drop no longer needed patch
* bitcoin_missing_ppc64le_in_ax_boost_base.m4.patch
- Small spec file polishing
-------------------------------------------------------------------
Wed Apr 13 06:56:37 UTC 2016 - mpluskal@suse.com

View File

@ -23,19 +23,17 @@
%define name_pretty %{base_pretty}
%define consensus 1
%define is_base 1
Name: bitcoin
Version: 0.12.0
Version: 0.12.1
Release: 0
Summary: P2P Digital Currency
License: MIT
Group: Productivity/Networking/Other
Url: http://%{name}.org/
Url: https://%{name}.org
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: %{base}d.service
Source2: %{base}d.firewall
Source3: %{base}d.conf
Patch1: %{base}_missing_ppc64le_in_ax_boost_base.m4.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: boost-devel
@ -43,27 +41,38 @@ BuildRequires: gcc-c++
BuildRequires: git
BuildRequires: lcov
BuildRequires: libdb-4_8-devel
BuildRequires: libevent-devel
BuildRequires: libminiupnpc-devel
BuildRequires: libqt5-qtbase-devel
BuildRequires: libqt5-qttools-devel
BuildRequires: libtool
BuildRequires: pkg-config
BuildRequires: python
BuildRequires: pkgconfig
BuildRequires: systemd-rpm-macros
BuildRequires: update-desktop-files
BuildRequires: yasm-devel
BuildRequires: zeromq-devel
BuildRequires: pkgconfig(Qt5CLucene)
BuildRequires: pkgconfig(Qt5Designer)
BuildRequires: pkgconfig(Qt5DesignerComponents)
BuildRequires: pkgconfig(Qt5Help)
BuildRequires: pkgconfig(Qt5UiTools)
BuildRequires: pkgconfig(libevent)
BuildRequires: pkgconfig(libevent_openssl)
BuildRequires: pkgconfig(libevent_pthreads)
BuildRequires: pkgconfig(libqrencode)
BuildRequires: pkgconfig(libzmq)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(protobuf)
BuildRequires: pkgconfig(python)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires}
%description
%{name_pretty} is a free open source peer-to-peer electronic cash system that is completely decentralized, without the need for a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other, with the help of a P2P network to check for double-spending.
%{name_pretty} is a free open source peer-to-peer electronic cash system
%{that} is completely decentralized, without the need for a central server or
trusted parties. Users hold the crypto keys to their own money and
transact directly with each other, with the help of a P2P network to check
for double-spending.
Full transaction history is stored locally at each client. This requires several GB of space, slowly growing.
Full transaction history is stored locally at each client. This requires
several GB of space, slowly growing.
%package qt5
Summary: An end-user Qt5 GUI for the %{name_pretty} crypto-currency
@ -72,30 +81,44 @@ Requires(post): update-desktop-files
Requires(postun): update-desktop-files
%description qt5
%{name_pretty} is a free open source peer-to-peer electronic cash system that is completely decentralized, without the need for a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other, with the help of a P2P network to check for double-spending.
%{name_pretty} is a free open source peer-to-peer electronic cash system
that is completely decentralized, without the need for a central server or
trusted parties. Users hold the crypto keys to their own money and
transact directly with each other, with the help of a P2P network to check
for double-spending.
Full transaction history is stored locally at each client. This requires several GB of space, slowly growing.
Full transaction history is stored locally at each client. This requires
several GB of space, slowly growing.
This package provides %{name_pretty}-Qt, a GUI for %{name_pretty} based on Qt.
This package provides %{name_pretty}-Qt, a GUI for %{name_pretty} based on
Qt.
%package utils
Summary: An end-user cli for the %{name_pretty} crypto-currency
Group: Productivity/Networking/Other
%description utils
%{name_pretty} is a free open source peer-to-peer electronic cash system that is completely decentralized, without the need for a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other, with the help of a P2P network to check for double-spending.
%{name_pretty} is a free open source peer-to-peer electronic cash system
that is completely decentralized, without the need for a central server or
trusted parties. Users hold the crypto keys to their own money and
transact directly with each other, with the help of a P2P network to check
for double-spending.
Full transaction history is stored locally at each client. This requires several GB of space, slowly growing.
Full transaction history is stored locally at each client. This requires
several GB of space, slowly growing.
This package provides %{name}-cli - CLI tool to interact with the daemon.
%if %{consensus} == 1
%package -n lib%{name}consensus0
Summary: %{name_pretty} consensus library
Group: System/Library
Group: System/Libraries
%description -n lib%{name}consensus0
The purpose of this library is to make the verification functionality that is critical to %{name_pretty}s consensus available to other applications, e.g. to language bindings such as python-%{name}lib or alternative node implementations.
The purpose of this library is to make the verification functionality that
is critical to %{name_pretty}s consensus available to other applications,
e.g. to language bindings such as python-%{name}lib or alternative node
implementations.
%package -n lib%{name}consensus-devel
Summary: Developmont files for %{name} consensus library
@ -103,7 +126,10 @@ Group: Development/Languages/C and C++
Requires: lib%{name}consensus0 = %{version}-%{release}
%description -n lib%{name}consensus-devel
The purpose of this library is to make the verification functionality that is critical to %{name_pretty}s consensus available to other applications, e.g. to language bindings such as python-%{name}lib or alternative node implementations.
The purpose of this library is to make the verification functionality that
is critical to %{name_pretty}s consensus available to other applications,
e.g. to language bindings such as python-%{name}lib or alternative node
implementations.
This package contains development files.
%endif
@ -113,9 +139,14 @@ Summary: Headless daemon for %{name_pretty} crypto-currency
Group: Development/Libraries/Other
%description -n %{name}d
%{name_pretty} is a free open source peer-to-peer electronic cash system that is completely decentralized, without the need for a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other, with the help of a P2P network to check for double-spending.
%{name_pretty} is a free open source peer-to-peer electronic cash system
that is completely decentralized, without the need for a central server or
trusted parties. Users hold the crypto keys to their own money and
transact directly with each other, with the help of a P2P network to check
for double-spending.
Full transaction history is stored locally at each client. This requires several GB of space, slowly growing.
Full transaction history is stored locally at each client. This requires
several GB of space, slowly growing.
This package provides %{name}d, headless %{name} daemon.
@ -124,15 +155,19 @@ Summary: Automated tests for %{name} client
Group: Development/Libraries/Other
%description test
%{name_pretty} is a free open source peer-to-peer electronic cash system that is completely decentralized, without the need for a central server or trusted parties. Users hold the crypto keys to their own money and transact directly with each other, with the help of a P2P network to check for double-spending.
%{name_pretty} is a free open source peer-to-peer electronic cash system
that is completely decentralized, without the need for a central server or
trusted parties. Users hold the crypto keys to their own money and
transact directly with each other, with the help of a P2P network to check
for double-spending.
Full transaction history is stored locally at each client. This requires several GB of space, slowly growing.
Full transaction history is stored locally at each client. This requires
several GB of space, slowly growing.
This package provides automated tests for %{name}-qt5 and %{name}d.
%prep
%setup -q
%patch1 -p1
# remove 128 resolution from Icon= line
sed -i s/128// contrib/debian/%{name}-qt.desktop
@ -203,7 +238,6 @@ rm -f %{buildroot}%{_libdir}/lib%{name}consensus.la
%if %{consensus} == 1
%post -n lib%{name}consensus0 -p /sbin/ldconfig
%postun -n lib%{name}consensus0 -p /sbin/ldconfig
%endif

View File

@ -1,30 +0,0 @@
From: Michel Normand <normand@linux.vnet.ibm.com>
Subject: bitcoin missing ppc64le in ax_boost_base.m4
Date: Fri, 07 Aug 2015 11:39:49 +0200
bitcoin missing ppc64le in ax_boost_base.m4
that is the cause of following error message:
===
[ 138s] checking whether the Boost::System library is available... yes
[ 138s] configure: error: Could not find a version of the boost_system library!
===
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
---
build-aux/m4/ax_boost_base.m4 | 3 +++
1 file changed, 3 insertions(+)
Index: bitcoin-0.12.0/build-aux/m4/ax_boost_base.m4
===================================================================
--- bitcoin-0.12.0.orig/build-aux/m4/ax_boost_base.m4
+++ bitcoin-0.12.0/build-aux/m4/ax_boost_base.m4
@@ -98,6 +98,9 @@ if test "x$want_boost" = "xyes"; then
ppc64|s390x|sparc64|aarch64)
libsubdirs="lib64 lib lib64"
;;
+ ppc64le)
+ libsubdirs="lib64"
+ ;;
esac
dnl allow for real multi-arch paths e.g. /usr/lib/x86_64-linux-gnu. Give