commit 599d68ab061fad287113734c82082d7da88485ee3fb186977b8f67f17375ff46 Author: Marcus Meissner Date: Thu Feb 23 14:26:44 2017 +0000 OBS-URL: https://build.opensuse.org/package/show/security:privacy/drops?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/drops-0.12s.tar.gz b/drops-0.12s.tar.gz new file mode 100644 index 0000000..6fef5b6 --- /dev/null +++ b/drops-0.12s.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:635b16a22577a8fd4e97fca0e95a4b92ec6fe671fa17a8ffc9ced3aa2d8ab8e0 +size 62034 diff --git a/drops.spec b/drops.spec new file mode 100644 index 0000000..afe863c --- /dev/null +++ b/drops.spec @@ -0,0 +1,61 @@ +# +# 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 +Summary: dead drops for ops +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 +make %{?_smp_mflags} + +%install +pushd src +mkdir -p %{buildroot}/%{_bindir} +install %{name} %{buildroot}/%{_bindir}/%{name} +install opmux %{buildroot}/%{_bindir}/opmux +mkdir -p %{buildroot}/%{_mandir}/man1 +help2man ./%{name} --no-info --output %{buildroot}/%{_mandir}/man1/%{name}.1 + +%files +%defattr(-,root,root) +%doc README.md LICENSE sample.config GPL3 +%{_bindir}/%{name} +%{_bindir}/opmux +%{_mandir}/man1/%{name}* + +%changelog