Dominique Leuenberger 2015-02-18 10:39:08 +00:00 committed by Git OBS Bridge
parent ea6e5f8b43
commit b59380faff
4 changed files with 96 additions and 23 deletions

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Mon Feb 16 13:54:56 UTC 2015 - mpluskal@suse.com
- Update to 0.10.0:
* Faster synchronization
* new REST interface
* RPC Server “Warm-Up” Mode
* Improved signing security
* Watch-only wallet support
* Consensus library
* Standard script rules relaxed for P2SH addresses
* New tool bitcoin-tx
* Mining and relay policy enhancements
* BIP 66: strict DER encoding for signatures
* for more details see https://bitcoin.org/en/release/v0.10.0
- New package libbitcoinconsensus
- Rename package bitcoin-cli to bitcoin-tools
- Exclude ppc and ppc64 from being built - bitcoin does not support
big endian.
-------------------------------------------------------------------
Sat Jan 31 22:54:32 UTC 2015 - mpluskal@suse.com
- Enable qr support
- Run tests after build
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 28 14:16:43 UTC 2014 - mpluskal@suse.com Tue Oct 28 14:16:43 UTC 2014 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package bitcoin # spec file for package bitcoin
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2011-2014 P Rusnak <prusnak@opensuse.org> # Copyright (c) 2011-2014 P Rusnak <prusnak@opensuse.org>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -18,13 +18,13 @@
Name: bitcoin Name: bitcoin
Version: 0.9.3 Version: 0.10.0
Release: 0 Release: 0
Summary: P2P Digital Currency Summary: P2P Digital Currency
License: MIT License: MIT
Group: Productivity/Networking/Other Group: Productivity/Networking/Other
Url: http://www.bitcoin.org Url: http://www.bitcoin.org
Source: https://github.com/bitcoin/bitcoin/archive/v%{version}.tar.gz Source: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz
Source1: bitcoind.service Source1: bitcoind.service
Source2: bitcoind.firewall Source2: bitcoind.firewall
Source3: bitcoind.conf Source3: bitcoind.conf
@ -35,17 +35,23 @@ BuildRequires: automake
BuildRequires: boost-devel BuildRequires: boost-devel
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: git BuildRequires: git
BuildRequires: lcov
BuildRequires: libdb-4_8-devel BuildRequires: libdb-4_8-devel
BuildRequires: libminiupnpc-devel BuildRequires: libminiupnpc-devel
BuildRequires: libopenssl-devel
BuildRequires: libqt5-qtbase-devel BuildRequires: libqt5-qtbase-devel
BuildRequires: libqt5-qttools-devel BuildRequires: libqt5-qttools-devel
BuildRequires: protobuf-devel BuildRequires: libtool
BuildRequires: qrencode-devel BuildRequires: pkg-config
BuildRequires: systemd BuildRequires: python
BuildRequires: systemd-rpm-macros
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
BuildRequires: yasm-devel
BuildRequires: pkgconfig(libqrencode)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(protobuf)
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{?systemd_requires} %{?systemd_requires}
ExcludeArch: ppc64 ppc
%description %description
Bitcoin 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. Bitcoin 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.
@ -54,10 +60,9 @@ Full transaction history is stored locally at each client. This requires several
%package qt5 %package qt5
Summary: An end-user Qt5 GUI for the Bitcoin crypto-currency Summary: An end-user Qt5 GUI for the Bitcoin crypto-currency
License: MIT
Group: Development/Libraries/Other Group: Development/Libraries/Other
Provides: bitcoin = %{version} Provides: %{name} = %{version}
Obsoletes: bitcoin < %{version} Obsoletes: %{name} < %{version}
%description qt5 %description qt5
Bitcoin 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. Bitcoin 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.
@ -66,21 +71,40 @@ Full transaction history is stored locally at each client. This requires several
This package provides Bitcoin-Qt, a GUI for Bitcoin based on Qt. This package provides Bitcoin-Qt, a GUI for Bitcoin based on Qt.
%package cli %package utils
Summary: An end-user cli for the Bitcoin crypto-currency Summary: An end-user cli for the Bitcoin crypto-currency
License: MIT Group: Productivity/Networking/Other
Provides: %{name}-cli = %{version}
Obsoletes: %{name}-cli < %{version}
%description cli %description utils
Bitcoin 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. Bitcoin 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 bitcoin-cli - CLI tool to interact with the daemon. This package provides bitcoin-cli - CLI tool to interact with the daemon.
%package -n lib%{name}consensus0
Summary: Bitcoin consensus library
Group: System/Library
%description -n lib%{name}consensus0
The purpose of this library is to make the verification functionality that is critical to Bitcoins consensus available to other applications, e.g. to language bindings such as python-bitcoinlib or alternative node implementations.
%package -n lib%{name}consensus-devel
Summary: Developmont files for bitcoin consensus library
Group: Development/Languages/C and C++
Requires: lib%{name}consensus0 = %{version}
%description -n lib%{name}consensus-devel
The purpose of this library is to make the verification functionality that is critical to Bitcoins consensus available to other applications, e.g. to language bindings such as python-bitcoinlib or alternative node implementations.
This package contains development files.
%package -n bitcoind %package -n bitcoind
Summary: Headless daemon for Bitcoin crypto-currency Summary: Headless daemon for Bitcoin crypto-currency
License: MIT
Group: Development/Libraries/Other Group: Development/Libraries/Other
Requires(pre): shadow
%description -n bitcoind %description -n bitcoind
Bitcoin 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. Bitcoin 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.
@ -91,7 +115,6 @@ This package provides bitcoind, headless bitcoin daemon.
%package test %package test
Summary: Automated tests for bitcoin client Summary: Automated tests for bitcoin client
License: MIT
Group: Development/Libraries/Other Group: Development/Libraries/Other
%description test %description test
@ -106,17 +129,21 @@ This package provides automated tests for bitcoin-qt5 and bitcoind.
%patch0 -p1 %patch0 -p1
%build %build
autoreconf -fvi autoreconf -fi
%configure \ %configure \
--with-cli=yes \ --with-cli=yes \
--with-daemon=yes \ --with-daemon=yes \
--with-gui=qt5 \ --with-gui=qt5 \
--with-miniupnpc \ --with-miniupnpc \
--disable-silent-rules --with-qrencode
make %{?_smp_mflags} make %{?_smp_mflags}
%check
make %{?_smp_mflags} check
%install %install
%make_install make DESTDIR=%{buildroot} install %{?_smp_mflags}
install -D -m 0644 share/pixmaps/bitcoin256.png %{buildroot}%{_datadir}/pixmaps/%{name}.png install -D -m 0644 share/pixmaps/bitcoin256.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
install -D -m 0644 contrib/debian/bitcoin-qt.desktop %{buildroot}%{_datadir}/applications/%{name}-qt.desktop install -D -m 0644 contrib/debian/bitcoin-qt.desktop %{buildroot}%{_datadir}/applications/%{name}-qt.desktop
@ -134,6 +161,10 @@ install -D -m 0644 $RPM_SOURCE_DIR/bitcoind.service %{buildroot}/%{_unitdir}/bit
install -d -m 0755 %{buildroot}/%{_tmpfilesdir}/ install -d -m 0755 %{buildroot}/%{_tmpfilesdir}/
install -m 0644 %{SOURCE3} %{buildroot}/%{_tmpfilesdir}/bitcoind.conf install -m 0644 %{SOURCE3} %{buildroot}/%{_tmpfilesdir}/bitcoind.conf
# do not ship these
rm -rf %{buildroot}%{_libdir}/libbitcoinconsensus.a
rm -rf %{buildroot}%{_libdir}/libbitcoinconsensus.la
%post qt5 %post qt5
%desktop_database_post %desktop_database_post
@ -155,6 +186,10 @@ systemd-tmpfiles --create %{_tmpfilesdir}/bitcoind.conf
%postun -n bitcoind %postun -n bitcoind
%service_del_postun bitcoind.service %service_del_postun bitcoind.service
%post -n lib%{name}consensus0 -p /sbin/ldconfig
%postun -n lib%{name}consensus0 -p /sbin/ldconfig
%files qt5 %files qt5
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING README.md %doc COPYING README.md
@ -163,10 +198,22 @@ systemd-tmpfiles --create %{_tmpfilesdir}/bitcoind.conf
%{_mandir}/man1/bitcoin-qt.1%{?ext_man} %{_mandir}/man1/bitcoin-qt.1%{?ext_man}
%{_datadir}/pixmaps/%{name}.png %{_datadir}/pixmaps/%{name}.png
%files cli %files utils
%defattr(-,root,root) %defattr(-,root,root)
%doc COPYING README.md %doc COPYING README.md
%{_bindir}/bitcoin-cli %{_bindir}/%{name}-cli
%{_bindir}/%{name}-tx
%files -n lib%{name}consensus0
%defattr(-,root,root)
%doc COPYING README.md
%{_libdir}/lib%{name}consensus.so.*
%files -n lib%{name}consensus-devel
%defattr(-,root,root)
%doc COPYING README.md
%{_libdir}/lib%{name}consensus.so
%{_includedir}/%{name}consensus.h
%files -n bitcoind %files -n bitcoind
%defattr(-,root,root) %defattr(-,root,root)

3
v0.10.0.tar.gz Normal file
View File

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

View File

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