summaryrefslogtreecommitdiff
path: root/qpid/SPECS/qpid-cpp.spec
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-12-12 16:05:01 +0000
committerAlan Conway <aconway@apache.org>2006-12-12 16:05:01 +0000
commit4e1735463fdb63f87d03541c33a816a5c7af563f (patch)
tree7fa099b8276d46337cb4c766d16db480bf39a04d /qpid/SPECS/qpid-cpp.spec
parentd3b1ef68b0c14e38a80f9486331c88cb32360665 (diff)
downloadqpid-python-4e1735463fdb63f87d03541c33a816a5c7af563f.tar.gz
2006-12-11 Alan Conway <aconway@redhat.com>
* SPECS/qpid-cpp.spec: Draft RPM spec file for C++. Based on initial draft provided by David Lutterkort <dlutter@redhat.com> * cpp Makefiles: Renamed libraries with qpid prefix: libqpidclient etc. * cpp/man/: moved to docs/man/ * docs/api/usr.doxygen: more restricted, user-oriented doc settings. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@486207 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/SPECS/qpid-cpp.spec')
-rw-r--r--qpid/SPECS/qpid-cpp.spec121
1 files changed, 121 insertions, 0 deletions
diff --git a/qpid/SPECS/qpid-cpp.spec b/qpid/SPECS/qpid-cpp.spec
new file mode 100644
index 0000000000..e1e1a73787
--- /dev/null
+++ b/qpid/SPECS/qpid-cpp.spec
@@ -0,0 +1,121 @@
+Name: qpid-cpp
+Version: 0.1
+Release: 1%{?dist}
+Summary: Qpid is an implementation of the AMQP messaging specification.
+Group: System Environment/Daemons
+License: Apache
+URL: http://incubator.apache.org/qpid/
+# FIXME: Source must be a URL pointing to where the tarball can be downloaded
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+# FIXME: The BR's need to be checked against a clean buildroot [lutter]
+BuildRequires: libtool
+BuildRequires: apr-devel
+BuildRequires: boost-devel
+BuildRequires: cppunit
+BuildRequires: cppunit-devel
+BuildRequires: doxygen
+BuildRequires: graphviz
+BuildRequires: help2man
+BuildRequires: pkgconfig
+
+# FIXME: aconway don't think this is required, I don't have it installed.
+# BuildRequires: check-devel
+# FIXME: For libuuid. aconway: Why do we depend on libuuid?
+BuildRequires: e2fsprogs-devel
+
+Requires: apr
+Requires: boost
+
+%description
+Qpid-cpp is a C++ implementation of the AMQP messaging specification.
+
+%package client
+Summary: Libraries for Qpid client applications.
+Group: System Environment/Libraries
+
+%description client
+Run-time libraries for Qpid C++ clients. Qpid clients exchange messages
+with an AMQP message broker using the AMQP protocol.
+
+%package client-devel
+Summary: Headers & libraries for developing Qpid client applications.
+Group: Development/System
+Requires: %name-client = %version-%release
+Requires: libtool
+Requires: apr-devel
+Requires: boost-devel
+Requires: cppunit
+Requires: cppunit-devel
+
+%description client-devel
+Libraries and header files for developing AMQP clients in C++ using Qpid.
+Qpid implements the AMQP messaging specification.
+
+
+%package broker
+Summary: The Qpid message broker daemon.
+Group: System Environment/Daemons
+Requires: %name-client = %version-%release
+
+%description broker
+A message broker daemon that receives stores and routes messages using
+the open AMQP messaging protocol.
+
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%_localstatedir/run/qpid
+mkdir -p $RPM_BUILD_ROOT%_localstatedir/lib/qpid
+rm -f $RPM_BUILD_ROOT%_libdir/*.a
+rm -f $RPM_BUILD_ROOT%_libdir/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%check
+make check
+
+%files client
+%defattr(-,root,root,-)
+# FIXME: A Changelog or NEWS file might be nice
+%doc LICENSE.txt NOTICE.txt
+%_libdir/libqpidcommon.so.0
+%_libdir/libqpidcommon.so.0.1.0
+%_libdir/libqpidclient.so.0
+%_libdir/libqpidclient.so.0.1.0
+
+%files client-devel
+%defattr(-,root,root,-)
+%_includedir/qpid/*.h
+%_libdir/libqpidcommon.so
+%_libdir/libqpidclient.so
+
+%files broker
+%_libdir/libqpidbroker.so.0
+%_libdir/libqpidbroker.so.0.1.0
+%_sbindir/qpidd
+%_mandir/man1/qpidd.*
+%_localstatedir/run/qpid
+%_localstatedir/lib/qpid
+
+#FIXME: Fix Makefile.am to install etc/init.d/qpidd properly:
+#%_sysconfdir/rc.d/init.d/qpidd
+
+%changelog
+* Mon Dec 11 2006 Alan Conway <aconway@localhost.localdomain> - 0.1-1
+- Second cut, still needs work and testing.
+
+* Fri Dec 8 2006 David Lutterkort <dlutter@redhat.com> - 0.1-1
+- Initial version based on Jim Meyering's sketch and discussions with Alan
+ Conway
+