2017-02-23 15:26:44 +01:00
|
|
|
#
|
|
|
|
# spec file for package opmsg
|
|
|
|
#
|
|
|
|
# Copyright (c) 2016 SUSE LINUX 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 http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define gittag rel-0.12s
|
|
|
|
Name: drops
|
|
|
|
Version: 0.12s
|
|
|
|
Release: 0
|
2017-02-23 16:38:56 +01:00
|
|
|
Summary: Peer to Peer networking implementation for opmsg
|
2017-02-23 15:26:44 +01:00
|
|
|
License: GPL-3.0+
|
|
|
|
Group: Productivity/Security
|
|
|
|
Url: https://github.com/stealth/drops
|
|
|
|
Source0: https://github.com/stealth/drops/archive/%{gittag}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: pkg-config
|
|
|
|
BuildRequires: pkgconfig(openssl)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
[dr]:ops -- dead drops for ops
|
|
|
|
|
|
|
|
A p2p transport network for opmsg end2end encrypted messages.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{gittag}
|
|
|
|
|
|
|
|
%build
|
|
|
|
pushd src
|
2017-02-23 16:36:46 +01:00
|
|
|
make %{?_smp_mflags} INC="%optflags"
|
2017-02-23 15:26:44 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
pushd src
|
|
|
|
mkdir -p %{buildroot}/%{_bindir}
|
2017-02-23 16:23:51 +01:00
|
|
|
install dropsd %{buildroot}/%{_bindir}/
|
2017-02-23 15:26:44 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2017-02-23 16:19:51 +01:00
|
|
|
%doc README.md src/GPL3
|
|
|
|
%{_bindir}/dropsd
|
2017-02-23 15:26:44 +01:00
|
|
|
|
|
|
|
%changelog
|