File twister.spec of Package twister

# spec file for package twister
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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

# See also

Name:           twister
Version:        0.9.34
Release:        0
Summary:        Peer-to-peer microblogging client
License:        MIT
Group:          Productivity/Networking/Other
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
%if 0%{?suse_version} >= 1330
BuildRequires:  libboost_system-devel
BuildRequires:  libboost_filesystem-devel
BuildRequires:  libboost_program_options-devel
BuildRequires:  libboost_thread-devel
BuildRequires:  libboost_chrono-devel
BuildRequires:  libboost_locale-devel
BuildRequires:  libboost_regex-devel
BuildRequires:  boost-devel
BuildRequires:  gcc-c++
%if 0%{?suse_version}
BuildRequires:  db-devel
BuildRequires:  libdb-cxx-devel
BuildRequires:  openssl-devel
%if 0%{?suse_version}
Requires:       python-tk
Requires:       tkinter
Requires:       twister-html

twister is the fully decentralized P2P microblogging platform 
leveraging from the free software implementations of Bitcoin 
and BitTorrent protocols.

%setup -q

make %{?_smp_mflags}

make install DESTDIR=%{buildroot}

update-desktop-database &> /dev/null ||:

update-desktop-database &> /dev/null ||:

%license COPYING