Compare commits

...

10 commits

Author SHA1 Message Date
Steve Traylen
411faca552 Fix rhbz#757629 and bump 3.2.5-3 compat package. 2011-11-28 21:23:50 +01:00
Steve Traylen
fb43b11949 Upstream to 3.4.0 and add a 3.2.5-2 compat package. 2011-10-29 19:25:51 +02:00
Steve Traylen
6d88550d30 Merge branch 'master' into el6 2011-03-08 18:32:01 +01:00
Steve Traylen
4f5293bde1 Merge branch 'master' into el6
Conflicts:
	.gitignore
	activemq-cpp.spec
	sources
2010-11-10 23:16:25 +01:00
Fedora Release Engineering
51debe902d dist-git conversion 2010-07-28 09:35:27 +00:00
stevetraylen
e1112e75e5 Update 3.2.1 2010-07-22 12:42:34 +00:00
stevetraylen
13671a5e19 Upstream to 3.1.2. 2010-05-10 11:08:42 +00:00
Dennis Gilmore
b3691ff9fb Initialize branch EL-6 for activemq-cpp 2010-05-08 02:48:27 +00:00
stevetraylen
c0e9996ff5 Upstream to 3.0.1 2009-12-15 14:58:38 +00:00
stevetraylen
74c574d555 First versions. 2009-12-14 18:55:19 +00:00
2 changed files with 70 additions and 10 deletions

View file

@ -1,12 +1,23 @@
# The normal* variables refer to the standard packaging.
# The compat* variables refer to the compat packages.
%global normalver 3.4.0
%global normalrel 2%{?dist}
%global normalso 14
%global compatver 3.2.5
%global compatrel 3%{?dist}
%global compatso 12
Name: activemq-cpp Name: activemq-cpp
Version: 3.2.5 Version: %{normalver}
Release: 1%{?dist} Release: %{normalrel}%{?dist}
Summary: C++ implementation of JMS-like messaging client Summary: C++ implementation of JMS-like messaging client
Group: Development/Libraries Group: Development/Libraries
License: ASL 2.0 License: ASL 2.0
URL: http://activemq.apache.org/cms/ URL: http://activemq.apache.org/cms/
Source0: http://www.apache.org/dist/activemq/activemq-cpp/source/activemq-cpp-library-%{version}-src.tar.gz Source0: http://www.apache.org/dist/activemq/activemq-cpp/source/activemq-cpp-library-%{normalver}-src.tar.gz
Source1: http://www.apache.org/dist/activemq/activemq-cpp/source/activemq-cpp-library-%{compatver}-src.tar.gz
# Some local texmf configuration to increase default pool_size. # Some local texmf configuration to increase default pool_size.
Patch1: %{name}-local-texmf.patch Patch1: %{name}-local-texmf.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -40,7 +51,7 @@ ActiveMQ is still needed for your clients to communicate.
%package devel %package devel
Summary: C++ implementation header files for JMS-like messaging Summary: C++ implementation header files for JMS-like messaging
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{normalver}-%{normalrel}
Requires: pkgconfig Requires: pkgconfig
%if %{?fedora}%{!?fedora:0} >= 12 || %{?rhel}%{!?rhel:0} >= 6 %if %{?fedora}%{!?fedora:0} >= 12 || %{?rhel}%{!?rhel:0} >= 6
Requires: libuuid-devel%{?_isa} Requires: libuuid-devel%{?_isa}
@ -48,9 +59,6 @@ Requires: libuuid-devel%{?_isa}
Requires: e2fsprogs-devel%{?_isa} Requires: e2fsprogs-devel%{?_isa}
%endif %endif
%description devel %description devel
activemq-cpp is a JMS-like API for C++ for interfacing with Message activemq-cpp is a JMS-like API for C++ for interfacing with Message
Brokers such as Apache ActiveMQ. C++ messaging service helps to make Brokers such as Apache ActiveMQ. C++ messaging service helps to make
@ -79,14 +87,41 @@ for your clients to communicate.
%{name}-doc contains api documentation. %{name}-doc contains api documentation.
%package compat
Version: %{compatver}
Release: %{compatrel}
Summary: C++ implementation of JMS-like messaging client
Group: Development/Libraries
%description compat
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.
This package contains activemq-cpp libraries for applications to bind to.
%prep %prep
%setup -q -n activemq-cpp-library-%{version} #extract source1 as well 0 , the compat lib.
%setup -q -n activemq-cpp-library-%{normalver} -a 1
pushd activemq-cpp-library-%{compatver}
%patch1 -p1
chmod 644 LICENSE.txt
chmod 644 src/main/activemq/transport/mock/MockTransport.cpp
popd
%patch1 -p1 %patch1 -p1
chmod 644 LICENSE.txt chmod 644 LICENSE.txt
chmod 644 src/main/activemq/transport/mock/MockTransport.cpp chmod 644 src/main/activemq/transport/mock/MockTransport.cpp
%build %build
pushd activemq-cpp-library-%{compatver}
%configure --disable-static --disable-doxygen-html --enable-doxygen-pdf
make %{?_smp_mflags}
popd
# Build pdf(30MB) rather than default html(400MB). # Build pdf(30MB) rather than default html(400MB).
%configure --disable-static --disable-doxygen-html --enable-doxygen-pdf %configure --disable-static --disable-doxygen-html --enable-doxygen-pdf
make %{?_smp_mflags} make %{?_smp_mflags}
@ -97,6 +132,18 @@ make %{?_smp_mflags} doxygen-pdf
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
pushd activemq-cpp-library-%{compatver}
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT/%{_libdir}/lib%{name}.la
rm $RPM_BUILD_ROOT/%{_bindir}/example
# Remove the devel files from the compat package
# we only one the runtime stuff.
rm $RPM_BUILD_ROOT/%{_bindir}/activemqcpp-config
rm -rf $RPM_BUILD_ROOT/%{_includedir}/activemq-cpp-%{compatver}
rm $RPM_BUILD_ROOT/%{_libdir}/libactivemq-cpp.so
rm $RPM_BUILD_ROOT/%{_libdir}/pkgconfig/activemq-cpp.pc
popd
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT/%{_libdir}/lib%{name}.la rm $RPM_BUILD_ROOT/%{_libdir}/lib%{name}.la
rm $RPM_BUILD_ROOT/%{_bindir}/example rm $RPM_BUILD_ROOT/%{_bindir}/example
@ -112,13 +159,13 @@ make %{?_smp_mflags} check
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/lib%{name}.so.* %{_libdir}/lib%{name}.so.%{normalso}*
%doc LICENSE.txt NOTICE.txt README.txt RELEASE_NOTES.txt %doc LICENSE.txt NOTICE.txt README.txt RELEASE_NOTES.txt
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_libdir}/lib%{name}.so %{_libdir}/lib%{name}.so
%{_includedir}/%{name}-%{version} %{_includedir}/%{name}-%{normalver}
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%{_bindir}/activemqcpp-config %{_bindir}/activemqcpp-config
@ -126,7 +173,19 @@ make %{?_smp_mflags} check
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc doc/%{name}.pdf %doc doc/%{name}.pdf
%files compat
%defattr(-,root,root,-)
%{_libdir}/lib%{name}.so.%{compatso}*
%doc LICENSE.txt
%changelog %changelog
* Sat Oct 29 2011 Steve Traylen <steve.traylen@cern.ch> - 3.4.0-2
- Fix rhbz#757629 and bump 3.2.5-3 compat package.
* Sat Oct 29 2011 Steve Traylen <steve.traylen@cern.ch> - 3.4.0-1
- Upstream to 3.4.0 and add a 3.2.5-2 compat package.
* Mon Mar 7 2011 Steve Traylen <steve.traylen@cern.ch> - 3.2.5-1 * Mon Mar 7 2011 Steve Traylen <steve.traylen@cern.ch> - 3.2.5-1
- autoconf step removed. - autoconf step removed.
- Upstream to 3.2.5 - Upstream to 3.2.5

View file

@ -1 +1,2 @@
47341f057cee34997ca826f526e3f681 activemq-cpp-library-3.2.5-src.tar.gz 47341f057cee34997ca826f526e3f681 activemq-cpp-library-3.2.5-src.tar.gz
1e476bb5e8b98d095c0ac917ebd31026 activemq-cpp-library-3.4.0-src.tar.gz