# # Spec file for Red Hat Messaging package rhm. # %define svnrev xxx # built against qpidc svn rev xxx Name: rhm Version: 0.2 Release: 21%{?dist} Summary: Red Hat extensions to the Qpid messaging system Group: System Environment/Libraries License: LGPL URL: http://rhm.et.redhat.com/rhm Source0: http://rhm.et.redhat.com/download/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ExclusiveArch: i386 x86_64 BuildRequires: qpidc-devel BuildRequires: qpidd-devel BuildRequires: db4-devel # TODO: Workaround missing dependency in qpidd-devel. Remove this # when qpid-devel is updated. BuildRequires: e2fsprogs-devel BuildRequires: libaio-devel BuildRequires: python BuildRequires: libtool Requires: qpidd Requires: db4 Requires: libaio %description Red Hat extensions to the Qpid AMQP broker: persistent message storage in Berkeley DB. %prep %setup -q %build %configure --with-qpid-checkout=/usr/share/cruisecontrol-bin-2.6.1/projects/qpid-1.0 --disable-static --disable-rpath CXXFLAGS="-O3 -DNDEBUG" make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} install -d -m0775 %{buildroot}%{_localstatedir}/rhm install -d -m0755 %{buildroot}/usr/lib/qpidd install -Dp -m0755 lib/.libs/libbdbstore.so* %{buildroot}/usr/lib/qpidd rm -f %{buildroot}%_libdir/*.a rm -f %{buildroot}%_libdir/*.la rm -f %{buildroot}%_libdir/*.so* rm %{buildroot}%_sysconfdir/rhmd.conf %clean rm -rf %{buildroot} %check make check %files %defattr(-,root,root,-) %doc README COPYING /usr/lib/qpidd/libbdbstore.so* %attr(0775,qpidd,qpidd) %dir %_localstatedir/rhm %changelog * Thu May 29 2008 Nuno Santos - 0.2-21 - BZ448931: remove initscript for rhmd, and shell startup script * Mon Apr 14 2008 Kim van der Riet - 0.2-20 - removed cppunit as build dependency - all tests now boost test * Fri Apr 11 2008 Kim van der Riet - 0.2-19 - added python package as build dependency * Tue Feb 12 2008 Rafael Schloming - 0.2-17 - bump release for Beta 3 bug fixes * Mon Feb 11 2008 Rafael Schloming - 0.2-15 - Bumped for Beta 3 update * Tue Jan 22 2008 Nuno Santos - 0.2-14 - fix syntax in configuration file * Thu Jan 21 2008 Gordon Sim - 0.2-13 - Bump release for various journal fixes. * Thu Jan 03 2008 Nuno Santos - 0.2-11 - add missing dependencies on libaio, cppunit, qpidc-devel * Thu Jan 03 2008 Nuno Santos - 0.2-6 - limit builds to i386 and x86_64 archs * Tue Dec 18 2007 Nuno Santos - 0.2-5 - Include several fixes, mainly from Kim Van Der Riet (BZ 401071: Add journal file geometry parameters to broker, 401091: Handle journal full condition in broker, 401151: Journal RID not monotonically increasing in all cases, 401191: Journal recovery fails when overwrite boundary coincides with previous record, 403051: Failures in perftest fanout mode with async persistence, 403201: Messages prematurely deleted by store, 413021: Journal recovery fails when flush did not occur and records don't end on sblk boundary, 423981: Error running durable perftest) * Thu Dec 06 2007 Alan Conway - 0.2-4 - Build with optimized flags. * Thu Oct 04 2007 Nuno Santos - 0.2-2 - Add rhmd init script * Wed Jul 25 2007 Nuno Santos - 0.2-1 - Disable rpath; bump release to match numbers of qpidc trunk packages * Tue Apr 17 2007 Alan Conway - 0.1-3 - Workaround missing BuildRequires: e2fsprogs-devel in qpidc-devel. * Tue Apr 17 2007 Alan Conway - 0.1-2 - Added missing BuildRequires: db4-devel * Thu Apr 12 2007 Alan Conway - 0.1-1 - Initial build.