2014-11-15 11:41:14 +01:00
|
|
|
|
#
|
|
|
|
|
# spec file for package bitcoin
|
|
|
|
|
#
|
2021-01-19 10:32:54 +01:00
|
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-11-15 11:41:14 +01:00
|
|
|
|
# Copyright (c) 2011-2014 P Rusnak <prusnak@opensuse.org>
|
|
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2019-07-11 15:42:03 +02:00
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-11-15 11:41:14 +01:00
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
# typical altcoin changes: name, name_pretty, consensus 0, is_base 0
|
|
|
|
|
%define base bitcoin
|
|
|
|
|
%define base_pretty Bitcoin
|
|
|
|
|
%define name_pretty %{base_pretty}
|
|
|
|
|
%define consensus 1
|
|
|
|
|
%define is_base 1
|
2014-11-15 11:41:14 +01:00
|
|
|
|
Name: bitcoin
|
2021-01-19 10:32:54 +01:00
|
|
|
|
Version: 0.21.0
|
2014-11-15 11:41:14 +01:00
|
|
|
|
Release: 0
|
|
|
|
|
Summary: P2P Digital Currency
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: Productivity/Networking/Other
|
2018-06-18 10:21:52 +02:00
|
|
|
|
URL: https://%{name}.org
|
2016-04-28 16:55:06 +02:00
|
|
|
|
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2015-11-12 19:41:48 +01:00
|
|
|
|
Source1: %{base}d.service
|
|
|
|
|
Source3: %{base}d.conf
|
2019-07-11 15:42:03 +02:00
|
|
|
|
Source4: %{base}.conf
|
2014-11-15 11:41:14 +01:00
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: git
|
2016-07-05 09:51:19 +02:00
|
|
|
|
BuildRequires: java-devel
|
2015-02-18 11:39:08 +01:00
|
|
|
|
BuildRequires: lcov
|
2021-01-19 10:32:54 +01:00
|
|
|
|
BuildRequires: libboost_filesystem-devel >= 1.58.0
|
|
|
|
|
BuildRequires: libboost_program_options-devel >= 1.58.0
|
|
|
|
|
BuildRequires: libboost_system-devel >= 1.58.0
|
|
|
|
|
BuildRequires: libboost_test-devel >= 1.58.0
|
|
|
|
|
BuildRequires: libboost_thread-devel >= 1.58.0
|
2014-11-15 11:41:14 +01:00
|
|
|
|
BuildRequires: libdb-4_8-devel
|
|
|
|
|
BuildRequires: libminiupnpc-devel
|
|
|
|
|
BuildRequires: libqt5-qtbase-devel
|
2015-02-18 11:39:08 +01:00
|
|
|
|
BuildRequires: libtool
|
2016-05-02 10:44:57 +02:00
|
|
|
|
BuildRequires: pkgconfig
|
2015-02-18 11:39:08 +01:00
|
|
|
|
BuildRequires: systemd-rpm-macros
|
2016-05-02 10:44:57 +02:00
|
|
|
|
BuildRequires: pkgconfig(Qt5Designer)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Help)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5UiTools)
|
|
|
|
|
BuildRequires: pkgconfig(libevent)
|
2015-02-18 11:39:08 +01:00
|
|
|
|
BuildRequires: pkgconfig(libqrencode)
|
2016-05-02 10:44:57 +02:00
|
|
|
|
BuildRequires: pkgconfig(libzmq)
|
2015-02-18 11:39:08 +01:00
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
|
BuildRequires: pkgconfig(protobuf)
|
2017-06-19 13:23:47 +02:00
|
|
|
|
BuildRequires: pkgconfig(python3)
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%{?systemd_requires}
|
|
|
|
|
|
|
|
|
|
%description
|
2018-01-05 00:59:44 +01:00
|
|
|
|
%{name_pretty} is a peer-to-peer electronic cash system
|
|
|
|
|
that is completely decentralized, without the need for a central server or
|
2016-05-02 10:44:57 +02:00
|
|
|
|
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.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2016-05-02 10:44:57 +02:00
|
|
|
|
Full transaction history is stored locally at each client. This requires
|
|
|
|
|
several GB of space, slowly growing.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
|
|
|
|
%package qt5
|
2015-11-12 19:41:48 +01:00
|
|
|
|
Summary: An end-user Qt5 GUI for the %{name_pretty} crypto-currency
|
2014-11-15 11:41:14 +01:00
|
|
|
|
Group: Development/Libraries/Other
|
2016-02-23 16:57:25 +01:00
|
|
|
|
Requires(post): update-desktop-files
|
|
|
|
|
Requires(postun): update-desktop-files
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
|
|
|
|
%description qt5
|
2018-01-05 00:59:44 +01:00
|
|
|
|
%{name_pretty} is a peer-to-peer electronic cash system
|
2016-05-02 10:44:57 +02:00
|
|
|
|
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.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2016-05-02 10:44:57 +02:00
|
|
|
|
Full transaction history is stored locally at each client. This requires
|
|
|
|
|
several GB of space, slowly growing.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2016-05-02 10:44:57 +02:00
|
|
|
|
This package provides %{name_pretty}-Qt, a GUI for %{name_pretty} based on
|
|
|
|
|
Qt.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-02-18 11:39:08 +01:00
|
|
|
|
%package utils
|
2018-01-05 00:59:44 +01:00
|
|
|
|
Summary: An end-user CLI for the %{name_pretty} crypto-currency
|
2015-02-18 11:39:08 +01:00
|
|
|
|
Group: Productivity/Networking/Other
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-02-18 11:39:08 +01:00
|
|
|
|
%description utils
|
2018-01-05 00:59:44 +01:00
|
|
|
|
%{name_pretty} is a peer-to-peer electronic cash system
|
2016-05-02 10:44:57 +02:00
|
|
|
|
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.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2016-05-02 10:44:57 +02:00
|
|
|
|
Full transaction history is stored locally at each client. This requires
|
|
|
|
|
several GB of space, slowly growing.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2018-09-26 10:16:11 +02:00
|
|
|
|
This package provides %{name}-cli — a CLI tool to interact with the daemon.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%if %{consensus} == 1
|
2015-02-18 11:39:08 +01:00
|
|
|
|
%package -n lib%{name}consensus0
|
2015-11-12 19:41:48 +01:00
|
|
|
|
Summary: %{name_pretty} consensus library
|
2016-05-02 10:44:57 +02:00
|
|
|
|
Group: System/Libraries
|
2015-02-18 11:39:08 +01:00
|
|
|
|
|
|
|
|
|
%description -n lib%{name}consensus0
|
2016-05-02 10:44:57 +02:00
|
|
|
|
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.
|
2015-02-18 11:39:08 +01:00
|
|
|
|
|
|
|
|
|
%package -n lib%{name}consensus-devel
|
2015-11-12 19:41:48 +01:00
|
|
|
|
Summary: Developmont files for %{name} consensus library
|
2015-02-18 11:39:08 +01:00
|
|
|
|
Group: Development/Languages/C and C++
|
2016-02-23 16:57:25 +01:00
|
|
|
|
Requires: lib%{name}consensus0 = %{version}-%{release}
|
2015-02-18 11:39:08 +01:00
|
|
|
|
|
|
|
|
|
%description -n lib%{name}consensus-devel
|
2016-05-02 10:44:57 +02:00
|
|
|
|
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.
|
2015-02-18 11:39:08 +01:00
|
|
|
|
|
|
|
|
|
This package contains development files.
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%endif
|
2015-02-18 11:39:08 +01:00
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%package -n %{name}d
|
|
|
|
|
Summary: Headless daemon for %{name_pretty} crypto-currency
|
2014-11-15 11:41:14 +01:00
|
|
|
|
Group: Development/Libraries/Other
|
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%description -n %{name}d
|
2018-01-05 00:59:44 +01:00
|
|
|
|
%{name_pretty} is a peer-to-peer electronic cash system
|
2016-05-02 10:44:57 +02:00
|
|
|
|
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.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2016-05-02 10:44:57 +02:00
|
|
|
|
Full transaction history is stored locally at each client. This requires
|
|
|
|
|
several GB of space, slowly growing.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
This package provides %{name}d, headless %{name} daemon.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
|
|
|
|
%package test
|
2015-11-12 19:41:48 +01:00
|
|
|
|
Summary: Automated tests for %{name} client
|
2014-11-15 11:41:14 +01:00
|
|
|
|
Group: Development/Libraries/Other
|
|
|
|
|
|
|
|
|
|
%description test
|
2018-01-05 00:59:44 +01:00
|
|
|
|
%{name_pretty} is a peer-to-peer electronic cash system
|
2016-05-02 10:44:57 +02:00
|
|
|
|
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.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2016-05-02 10:44:57 +02:00
|
|
|
|
Full transaction history is stored locally at each client. This requires
|
|
|
|
|
several GB of space, slowly growing.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
This package provides automated tests for %{name}-qt5 and %{name}d.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
|
|
|
|
%prep
|
2021-01-19 10:32:54 +01:00
|
|
|
|
%autosetup
|
2015-11-12 19:41:48 +01:00
|
|
|
|
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%build
|
2015-07-20 11:22:56 +02:00
|
|
|
|
autoreconf -fiv
|
2020-06-17 14:15:12 +02:00
|
|
|
|
export CXXFLAGS="%{optflags} -fPIE -fPIC -fcommon"
|
|
|
|
|
export CFLAGS="%{optflags} -fPIE -fPIC -fcommon"
|
2017-10-13 14:20:09 +02:00
|
|
|
|
export LDFLAGS="-pie"
|
2020-03-27 06:50:39 +01:00
|
|
|
|
|
|
|
|
|
# Autodetecting if assembly optimizazions for secp256k1 can be used does not
|
|
|
|
|
# work well on non-x86_64 architectures, like i.e. aarch64, which results in
|
|
|
|
|
# build errors. At the same time, x86_64 is the only architecture for which
|
|
|
|
|
# assembly is properly supported (ARM assembly optimizations are still
|
|
|
|
|
# experimental). Let's just disable asm for all the other architectures until
|
|
|
|
|
# that doesn't change.
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%configure \
|
2020-03-27 06:50:39 +01:00
|
|
|
|
%ifarch x86_64
|
|
|
|
|
--with-asm=auto \
|
|
|
|
|
%else
|
|
|
|
|
--with-asm=no \
|
|
|
|
|
%endif
|
2015-11-16 18:51:20 +01:00
|
|
|
|
--with-cli=yes \
|
|
|
|
|
--with-daemon=yes \
|
|
|
|
|
--with-gui=qt5 \
|
|
|
|
|
--with-miniupnpc \
|
|
|
|
|
--with-qrencode \
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%if %{consensus} == 0
|
|
|
|
|
--without-libs \
|
|
|
|
|
%endif
|
2015-06-02 10:12:21 +02:00
|
|
|
|
--disable-hardening
|
2021-01-19 10:32:54 +01:00
|
|
|
|
%make_build
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-02-18 11:39:08 +01:00
|
|
|
|
%check
|
2021-01-19 10:32:54 +01:00
|
|
|
|
%make_build LC_ALL=C.UTF-8 check
|
2015-02-18 11:39:08 +01:00
|
|
|
|
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%install
|
2017-03-21 22:48:55 +01:00
|
|
|
|
%make_install
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2017-10-13 14:20:09 +02:00
|
|
|
|
install -Dpm 0644 doc/man/%{name}d.1 %{buildroot}%{_mandir}/man1/%{name}d.1
|
|
|
|
|
install -Dpm 0644 doc/man/%{name}-qt.1 %{buildroot}%{_mandir}/man1/%{name}-qt.1
|
2018-10-03 17:03:09 +02:00
|
|
|
|
|
2019-07-11 15:42:03 +02:00
|
|
|
|
install -Dpm 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
|
2015-11-12 19:41:48 +01:00
|
|
|
|
|
|
|
|
|
%if !%{is_base}
|
|
|
|
|
sed -i "s/%{base}/%{name}/g" %{SOURCE1}
|
|
|
|
|
sed -i "s/%{base}/%{name}/g" %{SOURCE2}
|
|
|
|
|
sed -i "s/%{base}/%{name}/g" %{SOURCE3}
|
|
|
|
|
|
|
|
|
|
sed -i "s/%{base_pretty}/%{name_pretty}/g" %{SOURCE1}
|
|
|
|
|
sed -i "s/%{base_pretty}/%{name_pretty}/g" %{SOURCE2}
|
|
|
|
|
sed -i "s/%{base_pretty}/%{name_pretty}/g" %{SOURCE3}
|
|
|
|
|
%endif
|
|
|
|
|
|
2014-11-15 11:41:14 +01:00
|
|
|
|
mkdir -p %{buildroot}/%{_localstatedir}/lib/%{name}
|
2015-11-12 19:41:48 +01:00
|
|
|
|
|
2014-11-15 11:41:14 +01:00
|
|
|
|
mkdir %{buildroot}%{_sbindir}
|
2015-11-12 19:41:48 +01:00
|
|
|
|
ln -sv %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}d
|
2017-10-13 14:20:09 +02:00
|
|
|
|
install -Dpm 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}d.service
|
|
|
|
|
install -Dpm 0644 %{SOURCE3} %{buildroot}/%{_tmpfilesdir}/%{name}d.conf
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2019-12-05 17:17:23 +01:00
|
|
|
|
# install desktop file
|
|
|
|
|
install -Dm 0644 share/pixmaps/bitcoin256.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
|
|
|
|
%suse_update_desktop_file -c %{name}-qt %{name_pretty} "%{name_pretty} Wallet" %{name}-qt %{name} Office Finance
|
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%if %{consensus} == 1
|
2015-02-18 11:39:08 +01:00
|
|
|
|
# do not ship these
|
2015-11-16 18:51:20 +01:00
|
|
|
|
rm -f %{buildroot}%{_libdir}/lib%{name}consensus.a
|
|
|
|
|
rm -f %{buildroot}%{_libdir}/lib%{name}consensus.la
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%endif
|
2015-02-18 11:39:08 +01:00
|
|
|
|
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%post qt5
|
|
|
|
|
%desktop_database_post
|
|
|
|
|
|
|
|
|
|
%postun qt5
|
2015-06-02 10:12:21 +02:00
|
|
|
|
%desktop_database_postun
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-11-16 18:51:20 +01:00
|
|
|
|
%if %{consensus} == 1
|
|
|
|
|
%post -n lib%{name}consensus0 -p /sbin/ldconfig
|
|
|
|
|
%postun -n lib%{name}consensus0 -p /sbin/ldconfig
|
|
|
|
|
%endif
|
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%pre -n %{name}d
|
2014-11-15 11:41:14 +01:00
|
|
|
|
getent group %{name} >/dev/null || groupadd -r %{name}
|
2015-11-12 19:41:48 +01:00
|
|
|
|
getent passwd %{name} >/dev/null || useradd -r -g %{name} -d %{_localstatedir}/lib/%{name} -s /sbin/nologin -c "%{name_pretty} daemon" %{name}
|
|
|
|
|
%service_add_pre %{name}d.service
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%post -n %{name}d
|
|
|
|
|
%service_add_post %{name}d.service
|
2015-06-02 10:12:21 +02:00
|
|
|
|
%if 0%{?suse_version} <= 1320
|
2015-11-12 19:41:48 +01:00
|
|
|
|
systemd-tmpfiles --create %{_tmpfilesdir}/%{name}d.conf >/dev/null 2>&1 || :
|
2015-06-02 10:12:21 +02:00
|
|
|
|
%else
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%tmpfiles_create %{_tmpfilesdir}/%{name}d.conf
|
2015-06-02 10:12:21 +02:00
|
|
|
|
%endif
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%preun -n %{name}d
|
|
|
|
|
%service_del_preun %{name}d.service
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%postun -n %{name}d
|
|
|
|
|
%service_del_postun %{name}d.service
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
|
|
|
|
%files qt5
|
2018-06-18 10:21:52 +02:00
|
|
|
|
%license COPYING
|
2019-07-11 15:42:03 +02:00
|
|
|
|
%doc doc/README.md doc/release-notes.md
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%{_bindir}/%{name}-qt
|
2019-12-05 17:17:23 +01:00
|
|
|
|
%{_datadir}/applications/%{name}-qt.desktop
|
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%{_mandir}/man1/%{name}-qt.1%{?ext_man}
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-02-18 11:39:08 +01:00
|
|
|
|
%files utils
|
2018-06-18 10:21:52 +02:00
|
|
|
|
%license COPYING
|
2019-07-11 15:42:03 +02:00
|
|
|
|
%doc doc/README.md doc/release-notes.md
|
2015-02-18 11:39:08 +01:00
|
|
|
|
%{_bindir}/%{name}-cli
|
|
|
|
|
%{_bindir}/%{name}-tx
|
2019-07-11 15:42:03 +02:00
|
|
|
|
%{_bindir}/%{name}-wallet
|
2018-06-18 10:21:52 +02:00
|
|
|
|
%{_mandir}/man1/bitcoin-cli.1%{?ext_man}
|
|
|
|
|
%{_mandir}/man1/bitcoin-tx.1%{?ext_man}
|
2019-12-05 17:17:23 +01:00
|
|
|
|
%{_mandir}/man1/bitcoin-wallet.1%{?ext_man}
|
2015-02-18 11:39:08 +01:00
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%if %{consensus} == 1
|
2015-02-18 11:39:08 +01:00
|
|
|
|
%files -n lib%{name}consensus0
|
2018-06-18 10:21:52 +02:00
|
|
|
|
%license COPYING
|
2019-07-11 15:42:03 +02:00
|
|
|
|
%doc doc/README.md doc/release-notes.md
|
2015-02-18 11:39:08 +01:00
|
|
|
|
%{_libdir}/lib%{name}consensus.so.*
|
|
|
|
|
|
|
|
|
|
%files -n lib%{name}consensus-devel
|
2018-06-18 10:21:52 +02:00
|
|
|
|
%license COPYING
|
2019-07-11 15:42:03 +02:00
|
|
|
|
%doc doc/README.md
|
2015-02-18 11:39:08 +01:00
|
|
|
|
%{_libdir}/lib%{name}consensus.so
|
|
|
|
|
%{_includedir}/%{name}consensus.h
|
2015-07-20 11:22:56 +02:00
|
|
|
|
%{_libdir}/pkgconfig/lib%{name}consensus.pc
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%endif
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%files -n %{name}d
|
2018-06-18 10:21:52 +02:00
|
|
|
|
%license COPYING
|
2019-07-11 15:42:03 +02:00
|
|
|
|
%doc doc/README.md doc/release-notes.md
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%{_mandir}/man1/%{name}d.1%{?ext_man}
|
|
|
|
|
%{_bindir}/%{name}d
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%dir %attr(700,%{name},%{name}) %{_var}/lib/%{name}
|
|
|
|
|
%dir %{_sysconfdir}/%{name}
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%{_unitdir}/%{name}d.service
|
|
|
|
|
%{_sbindir}/rc%{name}d
|
|
|
|
|
%{_tmpfilesdir}/%{name}d.conf
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
|
|
|
|
%files test
|
2018-06-18 10:21:52 +02:00
|
|
|
|
%license COPYING
|
2019-07-11 15:42:03 +02:00
|
|
|
|
%doc doc/README.md doc/release-notes.md
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%{_bindir}/test_%{name}
|
|
|
|
|
%{_bindir}/test_%{name}-qt
|
2016-02-23 16:57:25 +01:00
|
|
|
|
%{_bindir}/bench_%{name}
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
|
|
|
|
%changelog
|