Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
52db5c00ea | ||
|
|
1b7c5c4387 | ||
|
|
b903000838 |
6 changed files with 1 additions and 235 deletions
8
.gitignore
vendored
8
.gitignore
vendored
|
|
@ -1,8 +0,0 @@
|
|||
clog
|
||||
/6fb87d6eb01b.tar.bz2
|
||||
/fb6fca832fd2.tar.bz2
|
||||
/alanxz-rabbitmq-c-0.2-69-g2059570.tar.gz
|
||||
/db13342f2443.tar.bz2
|
||||
/rabbitmq-c-v0.3.0.tar.gz
|
||||
/rabbitmq-c-0.4.1.tar.gz
|
||||
/rabbitmq-c-0.5.0.tar.gz
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
available in RHEL 7.5
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
From b852f846c46a3bb9451f99844edfbea41f3289f1 Mon Sep 17 00:00:00 2001
|
||||
From: Alan Antonuk <alan.antonuk@gmail.com>
|
||||
Date: Mon, 17 Feb 2014 19:28:56 -0800
|
||||
Subject: [PATCH] Add missing amqp_get_server_properties() function.
|
||||
|
||||
Fixes #170
|
||||
---
|
||||
librabbitmq/amqp_connection.c | 5 +++++
|
||||
1 file changed, 5 insertions(+)
|
||||
|
||||
diff --git a/librabbitmq/amqp_connection.c b/librabbitmq/amqp_connection.c
|
||||
index d3491fb..5d70b07 100644
|
||||
--- a/librabbitmq/amqp_connection.c
|
||||
+++ b/librabbitmq/amqp_connection.c
|
||||
@@ -519,3 +519,8 @@ int amqp_send_frame(amqp_connection_state_t state,
|
||||
|
||||
return res;
|
||||
}
|
||||
+amqp_table_t *
|
||||
+amqp_get_server_properties(amqp_connection_state_t state)
|
||||
+{
|
||||
+ return &state->server_properties;
|
||||
+}
|
||||
--
|
||||
1.9.1
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
From b7c3f97acf25cd0e8644be46f0a9a5f7ece2e33d Mon Sep 17 00:00:00 2001
|
||||
From: Alan Antonuk <alan.antonuk@gmail.com>
|
||||
Date: Wed, 29 Jan 2014 22:21:31 -0800
|
||||
Subject: [PATCH] Bumping version for development
|
||||
|
||||
---
|
||||
librabbitmq/amqp.h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/librabbitmq/amqp.h b/librabbitmq/amqp.h
|
||||
index 7f4226c..fd13087 100644
|
||||
--- a/librabbitmq/amqp.h
|
||||
+++ b/librabbitmq/amqp.h
|
||||
@@ -223,8 +223,8 @@
|
||||
|
||||
#define AMQP_VERSION_MAJOR 0
|
||||
#define AMQP_VERSION_MINOR 5
|
||||
-#define AMQP_VERSION_PATCH 0
|
||||
-#define AMQP_VERSION_IS_RELEASE 1
|
||||
+#define AMQP_VERSION_PATCH 1
|
||||
+#define AMQP_VERSION_IS_RELEASE 0
|
||||
|
||||
|
||||
/**
|
||||
--
|
||||
1.8.5.1
|
||||
|
||||
173
librabbitmq.spec
173
librabbitmq.spec
|
|
@ -1,173 +0,0 @@
|
|||
# spec file for librabbitmq
|
||||
#
|
||||
# Copyright (c) 2012-2014 Remi Collet
|
||||
# License: CC-BY-SA
|
||||
# http://creativecommons.org/licenses/by-sa/3.0/
|
||||
#
|
||||
# Please, preserve the changelog entries
|
||||
#
|
||||
|
||||
Name: librabbitmq
|
||||
Summary: Client library for AMQP
|
||||
Version: 0.5.0
|
||||
Release: 2%{?dist}
|
||||
License: MIT
|
||||
Group: System Environment/Libraries
|
||||
URL: https://github.com/alanxz/rabbitmq-c
|
||||
|
||||
Source0: https://github.com/alanxz/rabbitmq-c/releases/download/v%{version}/rabbitmq-c-%{version}.tar.gz
|
||||
|
||||
# for revert, switch from 0.5.0 to 0.5.1-pre
|
||||
Patch0: %{name}-ver.patch
|
||||
# Missing function
|
||||
Patch1: %{name}-170.patch
|
||||
|
||||
BuildRequires: libtool
|
||||
BuildRequires: openssl-devel
|
||||
# For tools
|
||||
BuildRequires: popt-devel
|
||||
# For man page
|
||||
BuildRequires: xmlto
|
||||
|
||||
|
||||
%description
|
||||
This is a C-language AMQP client library for use with AMQP servers
|
||||
speaking protocol versions 0-9-1.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Header files and development libraries for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This package contains the header files and development libraries
|
||||
for %{name}.
|
||||
|
||||
|
||||
%package tools
|
||||
Summary: Example tools built using the librabbitmq package
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}
|
||||
|
||||
%description tools
|
||||
This package contains example tools built using %{name}.
|
||||
|
||||
It provides:
|
||||
amqp-consume Consume messages from a queue on an AMQP server
|
||||
amqp-declare-queue Declare a queue on an AMQP server
|
||||
amqp-delete-queue Delete a queue from an AMQP server
|
||||
amqp-get Get a message from a queue on an AMQP server
|
||||
amqp-publish Publish a message on an AMQP server
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n rabbitmq-c-%{version}
|
||||
|
||||
%patch0 -p1 -R
|
||||
%patch1 -p1
|
||||
|
||||
# Copy sources to be included in -devel docs.
|
||||
cp -pr examples Examples
|
||||
|
||||
|
||||
%build
|
||||
autoreconf -i
|
||||
%configure \
|
||||
--enable-tools \
|
||||
--enable-docs \
|
||||
--with-ssl=openssl
|
||||
|
||||
# rpath removal
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
|
||||
make %{_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
make install DESTDIR="%{buildroot}"
|
||||
|
||||
rm %{buildroot}%{_libdir}/%{name}.la
|
||||
|
||||
|
||||
%check
|
||||
: check .pc is usable
|
||||
grep @ %{buildroot}%{_libdir}/pkgconfig/librabbitmq.pc && exit 1
|
||||
|
||||
: upstream tests
|
||||
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
|
||||
make check
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%doc AUTHORS README.md THANKS TODO LICENSE-MIT
|
||||
%{_libdir}/%{name}.so.1*
|
||||
|
||||
|
||||
%files devel
|
||||
%doc Examples
|
||||
%{_libdir}/%{name}.so
|
||||
%{_includedir}/amqp*
|
||||
%{_libdir}/pkgconfig/librabbitmq.pc
|
||||
|
||||
%files tools
|
||||
%{_bindir}/amqp-*
|
||||
%doc %{_mandir}/man1/amqp-*.1*
|
||||
%doc %{_mandir}/man7/librabbitmq-tools.7.gz
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Apr 15 2014 Remi Collet <remi@fedoraproject.org> - 0.5.0-2
|
||||
- upstream patch for missing function
|
||||
|
||||
* Mon Feb 17 2014 Remi Collet <remi@fedoraproject.org> - 0.5.0-1
|
||||
- update to 0.5.0
|
||||
- open https://github.com/alanxz/rabbitmq-c/issues/169 (version is 0.5.1-pre)
|
||||
- open https://github.com/alanxz/rabbitmq-c/issues/170 (amqp_get_server_properties)
|
||||
|
||||
* Mon Jan 13 2014 Remi Collet <remi@fedoraproject.org> - 0.4.1-4
|
||||
- drop BR python-simplejson
|
||||
|
||||
* Tue Jan 7 2014 Remi Collet <remi@fedoraproject.org> - 0.4.1-3
|
||||
- fix broken librabbitmq.pc, #1039555
|
||||
- add check for usable librabbitmq.pc
|
||||
|
||||
* Thu Jan 2 2014 Remi Collet <remi@fedoraproject.org> - 0.4.1-2
|
||||
- fix Source0 URL
|
||||
|
||||
* Sat Sep 28 2013 Remi Collet <remi@fedoraproject.org> - 0.4.1-1
|
||||
- update to 0.4.1
|
||||
- add ssl support
|
||||
|
||||
* Thu Aug 1 2013 Remi Collet <remi@fedoraproject.org> - 0.3.0-3
|
||||
- cleanups
|
||||
|
||||
* Wed Mar 13 2013 Remi Collet <remi@fedoraproject.org> - 0.3.0-2
|
||||
- remove tools from main package
|
||||
|
||||
* Wed Mar 13 2013 Remi Collet <remi@fedoraproject.org> - 0.3.0-1
|
||||
- update to 0.3.0
|
||||
- create sub-package for tools
|
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-0.2.git2059570
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Wed Aug 01 2012 Remi Collet <remi@fedoraproject.org> - 0.2-0.1.git2059570
|
||||
- update to latest snapshot (version 0.2, moved to github)
|
||||
- License is now MIT
|
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.3.hgfb6fca832fd2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Sun Mar 11 2012 Remi Collet <remi@fedoraproject.org> - 0.1-0.2.hgfb6fca832fd2
|
||||
- add %%check (per review comment)
|
||||
|
||||
* Sat Mar 10 2012 Remi Collet <remi@fedoraproject.org> - 0.1-0.1.hgfb6fca832fd2
|
||||
- Initial RPM
|
||||
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
b1f902c658c772cda464754678d8deb6 rabbitmq-c-0.5.0.tar.gz
|
||||
Loading…
Add table
Add a link
Reference in a new issue