2014-11-15 11:41:14 +01:00
|
|
|
|
#
|
|
|
|
|
# spec file for package bitcoin
|
|
|
|
|
#
|
2017-02-03 16:27:36 +01:00
|
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
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
|
2017-06-19 13:23:47 +02:00
|
|
|
|
Version: 0.14.2
|
2014-11-15 11:41:14 +01:00
|
|
|
|
Release: 0
|
|
|
|
|
Summary: P2P Digital Currency
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: Productivity/Networking/Other
|
2016-05-02 10:44:57 +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
|
|
|
|
|
Source2: %{base}d.firewall
|
|
|
|
|
Source3: %{base}d.conf
|
2014-11-15 11:41:14 +01:00
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
BuildRequires: automake
|
2016-09-20 13:27:16 +02:00
|
|
|
|
BuildRequires: binutils-gold
|
2014-11-15 11:41:14 +01:00
|
|
|
|
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
|
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
|
2014-11-15 11:41:14 +01:00
|
|
|
|
BuildRequires: update-desktop-files
|
2015-02-18 11:39:08 +01:00
|
|
|
|
BuildRequires: yasm-devel
|
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}
|
2017-03-21 22:48:55 +01:00
|
|
|
|
%if 0%{?suse_version} > 1315
|
|
|
|
|
BuildRequires: libboost_filesystem-devel
|
|
|
|
|
BuildRequires: libboost_program_options-devel
|
|
|
|
|
BuildRequires: libboost_test-devel
|
|
|
|
|
BuildRequires: libboost_thread-devel
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
%endif
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
|
|
|
|
%description
|
2016-05-02 10:44:57 +02:00
|
|
|
|
%{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.
|
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
|
2016-05-02 10:44:57 +02:00
|
|
|
|
%{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.
|
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
|
2015-11-12 19:41:48 +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
|
2016-05-02 10:44:57 +02:00
|
|
|
|
%{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.
|
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}-cli - 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
|
2016-05-02 10:44:57 +02:00
|
|
|
|
%{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.
|
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
|
2016-05-02 10:44:57 +02:00
|
|
|
|
%{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.
|
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
|
|
|
|
|
%setup -q
|
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
# remove 128 resolution from Icon= line
|
|
|
|
|
sed -i s/128// contrib/debian/%{name}-qt.desktop
|
|
|
|
|
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%build
|
2015-07-20 11:22:56 +02:00
|
|
|
|
autoreconf -fiv
|
2016-07-05 09:51:19 +02:00
|
|
|
|
export CXXFLAGS="%{optflags} -fPIE -fPIC"
|
|
|
|
|
export CFLAGS="%{optflags} -fPIE -fPIC"
|
2016-09-20 13:27:16 +02:00
|
|
|
|
export LDFLAGS="-Wl,--no-undefined -Wl,-z,now -Wl,-fuse-ld=gold -pie"
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%configure \
|
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
|
2015-02-18 11:39:08 +01:00
|
|
|
|
|
2015-06-02 10:12:21 +02:00
|
|
|
|
make %{?_smp_mflags} V=1
|
2014-11-15 11:41:14 +01:00
|
|
|
|
|
2015-02-18 11:39:08 +01:00
|
|
|
|
%check
|
2016-08-29 15:34:58 +02:00
|
|
|
|
make %{?_smp_mflags} 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
|
|
|
|
|
2015-11-12 19:41:48 +01:00
|
|
|
|
install -D -m 0644 share/pixmaps/%{base}256.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
|
|
|
|
install -D -m 0644 contrib/debian/%{name}-qt.desktop %{buildroot}%{_datadir}/applications/%{name}-qt.desktop
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%suse_update_desktop_file %{buildroot}%{_datadir}/applications/%{name}-qt.desktop
|
2015-11-12 19:41:48 +01:00
|
|
|
|
|
2017-03-21 22:48:55 +01:00
|
|
|
|
install -D -m 0644 doc/man/%{name}d.1 %{buildroot}%{_mandir}/man1/%{name}d.1
|
|
|
|
|
install -D -m 0644 doc/man/%{name}-qt.1 %{buildroot}%{_mandir}/man1/%{name}-qt.1
|
2015-11-12 19:41:48 +01:00
|
|
|
|
install -D -m 0644 contrib/debian/examples/%{name}.conf %{buildroot}%{_sysconfdir}/%{name}/%{name}.conf
|
|
|
|
|
|
|
|
|
|
%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}
|
|
|
|
|
install -d %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/
|
2015-11-12 19:41:48 +01:00
|
|
|
|
install -m 644 %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}d
|
|
|
|
|
|
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
|
|
|
|
|
install -D -m 0644 %{SOURCE1} %{buildroot}/%{_unitdir}/%{name}d.service
|
2014-11-15 11:41:14 +01:00
|
|
|
|
install -d -m 0755 %{buildroot}/%{_tmpfilesdir}/
|
2015-11-12 19:41:48 +01:00
|
|
|
|
install -m 0644 %{SOURCE3} %{buildroot}/%{_tmpfilesdir}/%{name}d.conf
|
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
|
|
|
|
# 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
|
|
|
|
|
%defattr(-,root,root)
|
2016-02-23 16:57:25 +01:00
|
|
|
|
%doc COPYING README.md doc/release-notes.md
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%{_bindir}/%{name}-qt
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%{_datadir}/applications/%{name}-qt.desktop
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%{_mandir}/man1/%{name}-qt.1%{?ext_man}
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
|
|
|
|
2015-02-18 11:39:08 +01:00
|
|
|
|
%files utils
|
|
|
|
|
%defattr(-,root,root)
|
2016-02-23 16:57:25 +01:00
|
|
|
|
%doc COPYING README.md doc/release-notes.md
|
2015-02-18 11:39:08 +01:00
|
|
|
|
%{_bindir}/%{name}-cli
|
|
|
|
|
%{_bindir}/%{name}-tx
|
2017-03-21 22:48:55 +01:00
|
|
|
|
%{_mandir}/man1/bitcoin-cli.1%{ext_man}
|
|
|
|
|
%{_mandir}/man1/bitcoin-tx.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
|
|
|
|
|
%defattr(-,root,root)
|
2016-02-23 16:57:25 +01:00
|
|
|
|
%doc COPYING 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
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc COPYING 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
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%defattr(-,root,root)
|
2016-02-23 16:57:25 +01:00
|
|
|
|
%doc COPYING 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}
|
2015-11-12 19:41:48 +01:00
|
|
|
|
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/%{name}d
|
2014-11-15 11:41:14 +01:00
|
|
|
|
%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
|
|
|
|
|
%defattr(-,root,root)
|
2016-02-23 16:57:25 +01:00
|
|
|
|
%doc COPYING 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
|