diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..114e7c8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +activemq-cpp-library-3.2.1-src.tar.gz +/activemq-cpp-library-3.2.3-src.tar.gz +/activemq-cpp-library-3.2.4-src.tar.gz +/activemq-cpp-library-3.2.5-src.tar.gz +/activemq-cpp-library-3.3.0-src.tar.gz +/activemq-cpp-library-3.4.0-src.tar.gz +/activemq-cpp-library-3.4.1-src.tar.gz +/activemq-cpp-library-3.4.4-src.tar.gz +/activemq-cpp-library-3.7.1-src.tar.gz +/activemq-cpp-library-3.8.2-src.tar.gz +/activemq-cpp-library-3.8.3-src.tar.gz +/activemq-cpp-library-3.8.4-src.tar.gz +/activemq-cpp-library-3.9.4-src.tar.gz +/activemq-cpp-library-3.9.5-src.tar.gz diff --git a/Makefile b/Makefile deleted file mode 100644 index 4e715a9..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: activemq-cpp -# $Id$ -NAME := activemq-cpp -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/activemq-cpp-3.8.2-system-zlib.patch b/activemq-cpp-3.8.2-system-zlib.patch new file mode 100644 index 0000000..c14e202 --- /dev/null +++ b/activemq-cpp-3.8.2-system-zlib.patch @@ -0,0 +1,177 @@ +diff --git a/src/main/Makefile.am b/src/main/Makefile.am +index 5d117aa..9e71d92 100644 +--- a/src/main/Makefile.am ++++ b/src/main/Makefile.am +@@ -385,20 +385,6 @@ cc_sources = \ + decaf/internal/util/concurrent/Threading.cpp \ + decaf/internal/util/concurrent/unix/Atomics.cpp \ + decaf/internal/util/concurrent/unix/PlatformThread.cpp \ +- decaf/internal/util/zip/adler32.c \ +- decaf/internal/util/zip/crc32.c \ +- decaf/internal/util/zip/deflate.c \ +- decaf/internal/util/zip/gzclose.c \ +- decaf/internal/util/zip/gzlib.c \ +- decaf/internal/util/zip/gzread.c \ +- decaf/internal/util/zip/gzwrite.c \ +- decaf/internal/util/zip/infback.c \ +- decaf/internal/util/zip/inffast.c \ +- decaf/internal/util/zip/inflate.c \ +- decaf/internal/util/zip/inftrees.c \ +- decaf/internal/util/zip/trees.c \ +- decaf/internal/util/zip/uncompr.c \ +- decaf/internal/util/zip/zutil.c \ + decaf/io/BlockingByteArrayInputStream.cpp \ + decaf/io/BufferedInputStream.cpp \ + decaf/io/BufferedOutputStream.cpp \ +@@ -1042,17 +1028,6 @@ h_sources = \ + decaf/internal/util/concurrent/Transferer.h \ + decaf/internal/util/concurrent/unix/PlatformDefs.h \ + decaf/internal/util/concurrent/windows/PlatformDefs.h \ +- decaf/internal/util/zip/crc32.h \ +- decaf/internal/util/zip/deflate.h \ +- decaf/internal/util/zip/gzguts.h \ +- decaf/internal/util/zip/inffast.h \ +- decaf/internal/util/zip/inffixed.h \ +- decaf/internal/util/zip/inflate.h \ +- decaf/internal/util/zip/inftrees.h \ +- decaf/internal/util/zip/trees.h \ +- decaf/internal/util/zip/zconf.h \ +- decaf/internal/util/zip/zlib.h \ +- decaf/internal/util/zip/zutil.h \ + decaf/io/BlockingByteArrayInputStream.h \ + decaf/io/BufferedInputStream.h \ + decaf/io/BufferedOutputStream.h \ +@@ -1327,7 +1302,7 @@ libactivemq_cpp_la_SOURCES= $(h_sources) $(cc_sources) + libactivemq_cpp_la_CXXFLAGS= $(AMQ_CXXFLAGS) + libactivemq_cpp_la_CFLAGS= $(AMQ_CFLAGS) + libactivemq_cpp_la_LDFLAGS= -version-info $(ACTIVEMQ_LIBRARY_VERSION) +-libactivemq_cpp_la_LIBADD= $(AMQ_LIBS) ++libactivemq_cpp_la_LIBADD= $(AMQ_LIBS) -lz + + ## + ## Packaging Info +diff --git a/src/main/Makefile.in b/src/main/Makefile.in +index a53e327..53e79c1 100644 +--- a/src/main/Makefile.in ++++ b/src/main/Makefile.in +@@ -493,20 +493,6 @@ am__objects_2 = activemq/cmsutil/libactivemq_cpp_la-CachedConsumer.lo \ + decaf/internal/util/concurrent/libactivemq_cpp_la-Threading.lo \ + decaf/internal/util/concurrent/unix/libactivemq_cpp_la-Atomics.lo \ + decaf/internal/util/concurrent/unix/libactivemq_cpp_la-PlatformThread.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-adler32.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-crc32.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-deflate.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-gzclose.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-gzlib.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-gzread.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-gzwrite.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-infback.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-inffast.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-inflate.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-inftrees.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-trees.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-uncompr.lo \ +- decaf/internal/util/zip/libactivemq_cpp_la-zutil.lo \ + decaf/io/libactivemq_cpp_la-BlockingByteArrayInputStream.lo \ + decaf/io/libactivemq_cpp_la-BufferedInputStream.lo \ + decaf/io/libactivemq_cpp_la-BufferedOutputStream.lo \ +@@ -1346,20 +1332,6 @@ cc_sources = \ + decaf/internal/util/concurrent/Threading.cpp \ + decaf/internal/util/concurrent/unix/Atomics.cpp \ + decaf/internal/util/concurrent/unix/PlatformThread.cpp \ +- decaf/internal/util/zip/adler32.c \ +- decaf/internal/util/zip/crc32.c \ +- decaf/internal/util/zip/deflate.c \ +- decaf/internal/util/zip/gzclose.c \ +- decaf/internal/util/zip/gzlib.c \ +- decaf/internal/util/zip/gzread.c \ +- decaf/internal/util/zip/gzwrite.c \ +- decaf/internal/util/zip/infback.c \ +- decaf/internal/util/zip/inffast.c \ +- decaf/internal/util/zip/inflate.c \ +- decaf/internal/util/zip/inftrees.c \ +- decaf/internal/util/zip/trees.c \ +- decaf/internal/util/zip/uncompr.c \ +- decaf/internal/util/zip/zutil.c \ + decaf/io/BlockingByteArrayInputStream.cpp \ + decaf/io/BufferedInputStream.cpp \ + decaf/io/BufferedOutputStream.cpp \ +@@ -2002,17 +1974,6 @@ h_sources = \ + decaf/internal/util/concurrent/Transferer.h \ + decaf/internal/util/concurrent/unix/PlatformDefs.h \ + decaf/internal/util/concurrent/windows/PlatformDefs.h \ +- decaf/internal/util/zip/crc32.h \ +- decaf/internal/util/zip/deflate.h \ +- decaf/internal/util/zip/gzguts.h \ +- decaf/internal/util/zip/inffast.h \ +- decaf/internal/util/zip/inffixed.h \ +- decaf/internal/util/zip/inflate.h \ +- decaf/internal/util/zip/inftrees.h \ +- decaf/internal/util/zip/trees.h \ +- decaf/internal/util/zip/zconf.h \ +- decaf/internal/util/zip/zlib.h \ +- decaf/internal/util/zip/zutil.h \ + decaf/io/BlockingByteArrayInputStream.h \ + decaf/io/BufferedInputStream.h \ + decaf/io/BufferedOutputStream.h \ +@@ -2282,7 +2243,7 @@ libactivemq_cpp_la_SOURCES = $(h_sources) $(cc_sources) + libactivemq_cpp_la_CXXFLAGS = $(AMQ_CXXFLAGS) + libactivemq_cpp_la_CFLAGS = $(AMQ_CFLAGS) + libactivemq_cpp_la_LDFLAGS = -version-info $(ACTIVEMQ_LIBRARY_VERSION) +-libactivemq_cpp_la_LIBADD = $(AMQ_LIBS) ++libactivemq_cpp_la_LIBADD = $(AMQ_LIBS) -lz + library_includedir = $(includedir)/$(ACTIVEMQ_LIBRARY_NAME)-$(ACTIVEMQ_VERSION) + nobase_library_include_HEADERS = $(h_sources) + all: all-am +diff --git a/src/main/decaf/util/zip/Adler32.cpp b/src/main/decaf/util/zip/Adler32.cpp +index 517fbb4..f1fcd3c 100644 +--- a/src/main/decaf/util/zip/Adler32.cpp ++++ b/src/main/decaf/util/zip/Adler32.cpp +@@ -17,7 +17,7 @@ + + #include "Adler32.h" + +-#include ++#include + + using namespace decaf; + using namespace decaf::lang; +diff --git a/src/main/decaf/util/zip/CRC32.cpp b/src/main/decaf/util/zip/CRC32.cpp +index 5d3b308..8b100bc 100644 +--- a/src/main/decaf/util/zip/CRC32.cpp ++++ b/src/main/decaf/util/zip/CRC32.cpp +@@ -17,7 +17,7 @@ + + #include "CRC32.h" + +-#include ++#include + + using namespace decaf; + using namespace decaf::lang; +diff --git a/src/main/decaf/util/zip/Deflater.cpp b/src/main/decaf/util/zip/Deflater.cpp +index 12f4184..be21808 100644 +--- a/src/main/decaf/util/zip/Deflater.cpp ++++ b/src/main/decaf/util/zip/Deflater.cpp +@@ -20,7 +20,7 @@ + #include + #include + +-#include ++#include + #include + + using namespace decaf; +diff --git a/src/main/decaf/util/zip/Inflater.cpp b/src/main/decaf/util/zip/Inflater.cpp +index bb0923f..e0dde29 100644 +--- a/src/main/decaf/util/zip/Inflater.cpp ++++ b/src/main/decaf/util/zip/Inflater.cpp +@@ -20,7 +20,7 @@ + #include + #include + +-#include ++#include + + #include + diff --git a/activemq-cpp.spec b/activemq-cpp.spec new file mode 100644 index 0000000..d8d7cec --- /dev/null +++ b/activemq-cpp.spec @@ -0,0 +1,227 @@ +Name: activemq-cpp +Version: 3.9.5 +Release: 5%{?dist} +Summary: C++ implementation of JMS-like messaging client + +License: Apache-2.0 +URL: http://activemq.apache.org/cms/ +Source0: http://www.apache.org/dist/activemq/activemq-cpp/%{version}/activemq-cpp-library-%{version}-src.tar.gz +Patch: activemq-cpp-3.8.2-system-zlib.patch + +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: openssl-devel +BuildRequires: zlib-devel +BuildRequires: apr-util-devel >= 1.3 +BuildRequires: cppunit-devel >= 1.10.2 +BuildRequires: libuuid-devel + +%description +activemq-cpp is a JMS-like API for C++ for interfacing with Message +Brokers such as Apache ActiveMQ. C++ messaging service helps to make your +C++ client code much neater and easier to follow. To get a better feel for +CMS try the API Reference. +ActiveMQ-CPP is a client only library, a message broker such as Apache +ActiveMQ is still needed for your clients to communicate. + +%package devel +Summary: C++ implementation header files for JMS-like messaging +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig +Requires: libuuid-devel + +%description devel +activemq-cpp is a JMS-like API for C++ for interfacing with Message +Brokers such as Apache ActiveMQ. C++ messaging service helps to make +your C++ client code much neater and easier to follow. To get a better +feel for CMS try the API Reference. ActiveMQ-CPP is a client only +library, a message broker such as Apache ActiveMQ is still needed +for your clients to communicate. + +%{name}-devel contains development header files. + + +%prep +%autosetup -n activemq-cpp-library-%{version} -p1 +rm -r src/main/decaf/internal/util/zip +chmod 644 LICENSE.txt +chmod 644 src/main/activemq/transport/mock/MockTransport.cpp + +%configure --disable-static + + +%build +%make_build + + +%install +%make_install +rm %{buildroot}%{_libdir}/lib%{name}.la +rm %{buildroot}%{_bindir}/example + + +%check +make check + +%ldconfig_scriptlets + + +%files +%{_libdir}/lib%{name}.so.* +%license LICENSE.txt +%doc NOTICE.txt README.txt RELEASE_NOTES.txt + + +%files devel +%{_libdir}/lib%{name}.so +%{_includedir}/%{name}-%{version} +%{_libdir}/pkgconfig/%{name}.pc +%{_bindir}/activemqcpp-config + + +%changelog +* Fri Jan 16 2026 Fedora Release Engineering - 3.9.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Wed Jul 23 2025 Fedora Release Engineering - 3.9.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Thu Jan 16 2025 Fedora Release Engineering - 3.9.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Jul 17 2024 Fedora Release Engineering - 3.9.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Apr 03 2024 Jonathan Wright - 3.9.5-1 +- Unorphan package +- Update to 3.9.5 +- Overhaul spec file + +* Wed Jul 24 2019 Fedora Release Engineering - 3.9.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jan 31 2019 Fedora Release Engineering - 3.9.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Jul 12 2018 Fedora Release Engineering - 3.9.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Apr 13 2018 Steve Traylen - 3.9.4-1 +- New from upstream +- Add patch for openssl1 + +* Wed Feb 07 2018 Fedora Release Engineering - 3.8.4-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Aug 02 2017 Fedora Release Engineering - 3.8.4-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 3.8.4-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 3.8.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 03 2016 Fedora Release Engineering - 3.8.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Tue Jun 16 2015 Fedora Release Engineering - 3.8.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 3.8.4-2 +- Rebuilt for GCC 5 C++11 ABI change + +* Wed Mar 11 2015 Steve Traylen - 3.8.4-1 +- Upstream to 3.8.4 + +* Wed Aug 27 2014 Steve Traylen - 3.8.3-1 +- Upstream to 3.8.3 + +* Fri Aug 15 2014 Fedora Release Engineering - 3.8.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 3.8.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Thu May 29 2014 Ville Skyttä - 3.8.2-2 +- Patch to use system zlib instead of bundled one + +* Thu Jan 23 2014 Steve Traylen - 3.8.2-1 +- Upstream to 3.8.2 + +* Wed Sep 4 2013 Steve Traylen - 3.7.1-1 +- Upstream to 3.7.1 + +* Sat Aug 03 2013 Fedora Release Engineering - 3.4.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Feb 13 2013 Fedora Release Engineering - 3.4.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sun Sep 16 2012 Steve Traylen - 3.4.4-1 +- Upstream to 3.4.4 + +* Wed Jul 18 2012 Fedora Release Engineering - 3.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Feb 28 2012 Fedora Release Engineering - 3.4.1-2 +- Rebuilt for c++ ABI breakage + +* Sun Feb 12 2012 Steve Traylen - 3.4.1-1 +- Upstream to 3.4.1 +- Add patch for gcc47, AMQCPP-389 + +* Thu Jan 12 2012 Fedora Release Engineering - 3.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Sun Jul 10 2011 Steve Traylen - 3.4.0-1 +- Upstream to 3.4.0 + +* Mon Apr 18 2011 Steve Traylen - 3.3.0-1 +- Upstream to 3.3.0 + +* Mon Mar 7 2011 Steve Traylen - 3.2.5-1 +- autoconf step removed. +- Upstream to 3.2.5 + +* Mon Feb 07 2011 Fedora Release Engineering - 3.2.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Feb 6 2011 Steve Traylen - 3.2.4-1 +- Upstream to 3.2.4 + +* Wed Nov 10 2010 Steve Traylen - 3.2.3-1 +- Upstream to 3.2.3 + +* Thu Jul 22 2010 Steve Traylen - 3.2.1-1 +- Upstream to 3.2.1 +- Add BR of openssl-devel since library now supports ssl + connections. + +* Sat Apr 3 2010 Steve Traylen - 3.1.2-1 +- Upstream to 3.1.2 + +* Sat Jan 9 2010 Steve Traylen - 3.1.0-1 +- Upstream to 3.1.0 + +* Fri Dec 11 2009 Steve Traylen - 3.0.1-1 +- Upstream to 3.0.1 +- Tar ball name change. + +* Fri Dec 11 2009 Steve Traylen - 2.2.6-5 +- Add libuuid-devel as Requires to -devel package. + +* Sat Nov 14 2009 Steve Traylen - 2.2.6-4 +- Remove patch to relocate headers from versioned directory. +- Add make smp options to make check. + +* Fri Nov 6 2009 Steve Traylen - 2.2.6-3 +- Relocate headers to non versioned directory with patch0 + +* Fri Nov 6 2009 Steve Traylen - 2.2.6-2 +- Adapted to Fedora guidelines. + +* Thu Feb 26 2009 Ricardo Rocha - 2.2.6-1 +- First version of the spec file + + diff --git a/sources b/sources index e69de29..fc0102a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (activemq-cpp-library-3.9.5-src.tar.gz) = 6481974f079b63f78fa9988726a544e86206c535066621068dae4e0856316219f92f4ead032431fa3d11a90e496e6d23b7f0f0183e44b4f51d47a98c82dc9078