Accepting request 260203 from home:mvyskocil:branches:devel:libraries:c_c++
add zyre to d:l:c_c++ @reviewer: the reason I've used this project is 1) it does provide devel package and shared library one 2) it depends on czmq, which is there as well OBS-URL: https://build.opensuse.org/request/show/260203 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zyre?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
v1.0.0.tar.gz
Normal file
3
v1.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e8d2fcd39a2a30da2f0a3eb6486c7a58e5fdb8f14b4dd98ca3de97876212540d
|
||||
size 71551
|
5
zyre.changes
Normal file
5
zyre.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 7 06:50:27 UTC 2014 - mvyskocil@opensuse.org
|
||||
|
||||
- Packaged zyre 1.0 for openSUSE
|
||||
|
105
zyre.spec
Normal file
105
zyre.spec
Normal file
@@ -0,0 +1,105 @@
|
||||
#
|
||||
# spec file for package
|
||||
#
|
||||
# Copyright (c) 2014 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 http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: zyre
|
||||
Version: 1.0.0
|
||||
Release: 1
|
||||
License: GPL-3.0+ or LGPL-3.0+
|
||||
Summary: Open-source framework for proximity-based peer-to-peer applications
|
||||
Url: https://github.com/zeromq/zyre
|
||||
Group: Development/Libraries/C and C++
|
||||
Source0: https://github.com/zeromq/zyre/archive/v1.0.0.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: pkgconfig(libczmq) >= 3.0.0
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: automake
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: libtool
|
||||
# documentation
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: xmlto
|
||||
|
||||
%description
|
||||
Zyre does local area discovery and clustering. A Zyre node broadcasts UDP
|
||||
beacons, and connects to peers that it finds. This class wraps a Zyre node with
|
||||
a message-based API.
|
||||
|
||||
All incoming events are zmsg_t messages delivered via the zyre_recv call. The
|
||||
first frame defines the type of the message, and following frames provide
|
||||
further values:
|
||||
|
||||
%package -n lib%{name}1
|
||||
Summary: Shared library of %{name}
|
||||
Group: Development/Languages/C and C++
|
||||
|
||||
%description -n lib%{name}1
|
||||
This package contain shared library of %{name}.
|
||||
|
||||
%package devel
|
||||
Summary: Devel files for %{name}
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: lib%{name}1 = %{version}
|
||||
Requires: pkgconfig(libczmq) >= 3.0
|
||||
|
||||
%description devel
|
||||
Development files (headers, pkgconfig, cmake) for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
chmod 0644 COPYING.LESSER
|
||||
|
||||
%build
|
||||
./autogen.sh
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
rm -f %{buildroot}/%{_libdir}/libzyre.{a,la}
|
||||
|
||||
%post -n lib%{name}1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n lib%{name}1 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING COPYING.LESSER
|
||||
%{_bindir}/perf_local
|
||||
%{_bindir}/perf_remote
|
||||
%{_bindir}/zlogger
|
||||
%{_bindir}/zpinger
|
||||
%{_bindir}/ztester
|
||||
%{_bindir}/zyre_selftest
|
||||
|
||||
%files -n lib%{name}1
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libzyre.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS NEWS README.md
|
||||
%{_includedir}/zre_log_msg.h
|
||||
%{_includedir}/zre_msg.h
|
||||
%{_includedir}/zyre.h
|
||||
%{_includedir}/zyre_event.h
|
||||
%{_includedir}/zyre_log.h
|
||||
%{_libdir}/libzyre.so
|
||||
%{_libdir}/pkgconfig/libzyre.pc
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user