Accepting request 800745 from home:M0ses:tmp

initial version of packages containing rabbitmq-c

OBS-URL: https://build.opensuse.org/request/show/800745
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/librabbitmq?expand=0&rev=1
This commit is contained in:
Lars Vogdt
2020-05-08 08:16:18 +00:00
committed by Git OBS Bridge
commit aae9a67203
7 changed files with 143 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@@ -0,0 +1 @@
.osc

14
_service Normal file
View File

@@ -0,0 +1,14 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="versionformat">@PARENT_TAG@</param>
<param name="url">https://github.com/alanxz/rabbitmq-c</param>
<param name="scm">git</param>
<param name="changesgenerate">enable</param>
<param name="revision">v0.10.0</param>
</service>
<service name="recompress" mode="disabled">
<param name="compression">xz</param>
<param name="file">*.tar</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

4
_servicedata Normal file
View File

@@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/alanxz/rabbitmq-c</param>
<param name="changesrevision">9ee7b7b2c655392ac0f76f0bef488aaea1d89da8</param></service></servicedata>

4
librabbitmq4.changes Normal file
View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Wed May 6 12:59:06 UTC 2020 - Frank Schreiner <FSchreiner@suse.com>
- initial version of package

94
librabbitmq4.spec Normal file
View File

@@ -0,0 +1,94 @@
#
# spec file for package librabbitmq
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: librabbitmq4
Version: 0.10.0
Release: 0
Summary: C-language AMQP client library
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License: MIT
URL: https://github.com/alanxz/rabbitmq-c
Source: rabbitmq-c-v%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: openssl-devel
BuildRequires: popt-devel
BuildRequires: xmlto
BuildRequires: doxygen
BuildRequires: graphviz
%description
This is a C-language AMQP client library for use with v2.0+ of the RabbitMQ broker.
- http://github.com/alanxz/rabbitmq-c
%prep
%setup -q -n rabbitmq-c-v%{version}
%build
%cmake -Wno-dev -DBUILD_STATIC_LIBS:BOOL=ON
%cmake_build
%install
%cmake_install
%files
%license LICENSE-MIT
%doc ChangeLog.md README.md
# required for testing but excluded for package
%exclude %{_libdir}/librabbitmq.a
%{_libdir}/librabbitmq.so.4
%{_libdir}/librabbitmq.so.4.4.1
%post
ldconfig
%postun
ldconfig
%package -n rabbitmq-c-tools
Summary: Commandline tools from rabbitmq-c
%description -n rabbitmq-c-tools
Basic amqp tools provided by rabbitmq-c libraries package
%files -n rabbitmq-c-tools
/usr/bin/amqp-consume
/usr/bin/amqp-declare-queue
/usr/bin/amqp-delete-queue
/usr/bin/amqp-get
/usr/bin/amqp-publish
%package -n librabbitmq4-devel
Summary: Include Files and Libraries mandatory for Development
Requires: librabbitmq4 = %{version}
%description -n librabbitmq4-devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
%files -n librabbitmq4-devel
%{_includedir}/amqp.h
%{_includedir}/amqp_framing.h
%{_includedir}/amqp_ssl_socket.h
%{_includedir}/amqp_tcp_socket.h
%{_libdir}/pkgconfig/librabbitmq.pc
%{_libdir}/librabbitmq.so
%changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2594eb87a621939e3defb0f2fc54e25774f873ec6756a68962e78780a69ae10f
size 145192