Why does this package provide a qmf-devel sub-package?

Anas

On 31 Jan 2011, at 12:27, Joonas Kylänpää wrote:

> Hi,
> Adding new package qpid-cpp in project Trunk:Testing. Please review and 
> accept ASAP.
> 
> Justification for this new package:
> 
> New package. Fixes BMC#12804
> 
> Thank You,
> Joonas Kylänpää
> 
> [This message was auto-generated]
> 
> ---
> 
> Request #13090:
> 
>  submit:   devel:quality/qpid-cpp(r19) -> Trunk:Testing/qpid-cpp
> 
> 
> Message:
>    New package. Fixes BMC#12804
> 
> State:   new          2011-01-31T04:27:07 jokylanp
> Comment: None
> 
> 
> This is a NEW package in Trunk:Testing project.
> The files in the new package:
> qpid-cpp/
>  |__  debian.changelog
>  |__  debian.tar.gz
>  |__  qpid-cpp-0.8.tar.gz
>  |__  qpid-cpp-xUbuntu_10.10.control
>  |__  qpid-cpp-xUbuntu_10.10.dsc
>  |__  qpid-cpp.changes
>  |__  qpid-cpp.dsc
>  |__  qpid-cpp.spec
> 
> The content of the spec file, qpid-cpp.spec:
> ===================================================================
> %define python_sitelib %(%{__python} -c "from distutils.sysconfig import 
> get_python_lib; print get_python_lib()")
> 
> Summary:   This release of Qpid/C++ implements the AMQP 0-10
> Name:      qpid-cpp
> %define srcdir_name qpidc
> Version:   0.8
> Release:   1
> License:   Apache License Version 2.0
> Group:     Development/Libraries 
> URL:       http://qpid.apache.org/download.cgi
> Source0:   %{name}-%{version}.tar.gz
> BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
> BuildRequires: boost-devel       >= 1.35
> BuildRequires: e2fsprogs         >= 1.39
> BuildRequires: gcc-c++
> BuildRequires: libuuid-devel
> BuildRequires: pkgconfig         >= 0.21
> BuildRequires: python-devel
> BuildRequires: swig
> 
> %description
>    Qpid/C++ is a C++ implementation of the AMQP protocol described at
>    http://amqp.org/
> 
>    This release of Qpid/C++ implements the AMQP 0-10.
> 
>    Clustering support and RDMA are not supported in this build.
> 
> Authors:
>    http://qpid.apache.org/people.html
> 
> # === Package: qpid-cpp-client ===
> 
> %package -n %{name}-client
> Summary: Libraries for Qpid C++ client applications
> Group: System/Libraries
> Requires: boost
> 
> Requires(post):/sbin/chkconfig
> Requires(preun):/sbin/chkconfig
> Requires(preun):/sbin/service
> Requires(postun):/sbin/service
> 
> %description -n %{name}-client
> Run-time libraries for AMQP client applications developed using Qpid
> C++. Clients exchange messages with an AMQP message broker using
> the AMQP protocol.
> 
> %files -n %{name}-client
> %defattr(-,root,root,-)
> %_libdir/libqpidcommon.so.*
> %_libdir/libqpidclient.so.*
> %_libdir/libqpidtypes.so.*
> %_libdir/libqpidmessaging.so.*
> %dir %_libdir/qpid
> %dir %_libdir/qpid/client
> %dir %_sysconfdir/qpid
> %config(noreplace) %_sysconfdir/qpid/qpidc.conf
> 
> %post -n %{name}-client
> /sbin/ldconfig
> 
> %postun -n %{name}-client
> /sbin/ldconfig
> 
> # === Package: qpid-cpp-client-devel ===
> 
> %package -n %{name}-client-devel
> Summary: Header files, documentation and testing tools for developing Qpid 
> C++ clients
> Group: Development/System
> Requires: %{name}-client >= %{version}
> Requires: boost-devel
> Requires: boost-filesystem
> Requires: boost-program-options
> Requires: libuuid-devel
> Requires: python
> 
> %description -n %{name}-client-devel
> Libraries, header files and documentation for developing AMQP clients
> in C++ using Qpid.  Qpid implements the AMQP messaging specification.
> 
> %files -n %{name}-client-devel
> %defattr(-,root,root,-)
> %dir %_includedir/qpid
> %_includedir/qpid/*.h
> %_includedir/qpid/amqp_0_10
> %_includedir/qpid/client
> %_includedir/qpid/console
> %_includedir/qpid/framing
> %_includedir/qpid/sys
> %_includedir/qpid/log
> %_includedir/qpid/management
> %_includedir/qpid/messaging
> %_includedir/qpid/agent
> %_includedir/qpid/types
> %_includedir/qmf
> %_libdir/libqpidcommon.so
> %_libdir/libqpidclient.so
> %_libdir/libqpidtypes.so
> %_libdir/libqpidmessaging.so
> %_libdir/pkgconfig/qpid.pc
> 
> %post -n %{name}-client-devel
> /sbin/ldconfig
> 
> %postun -n %{name}-client-devel
> /sbin/ldconfig
> 
> # === Package: qpid-cpp-server ===
> 
> %package -n %{name}-server
> Summary: An AMQP message broker daemon
> Group: System/Daemons
> Requires: %{name}-client >= %{version}
> 
> %description -n %{name}-server
> A message broker daemon that receives stores and routes messages using
> the open AMQP messaging protocol.
> 
> %files -n %{name}-server
> %defattr(-,root,root,-)
> %_libdir/libqpidbroker.so.*
> %_libdir/qpid/daemon/replicating_listener.so
> %_libdir/qpid/daemon/replication_exchange.so
> %_sbindir/qpidd
> %config(noreplace) %_sysconfdir/qpidd.conf
> %{_initrddir}/qpidd
> %dir %_libdir/qpid/daemon
> %_libdir/qpid/daemon/acl.so
> %attr(755, qpidd, qpidd) %_localstatedir/lib/qpidd
> %ghost %attr(755, qpidd, qpidd) /var/run/qpidd
> %doc %_mandir/man1/qpidd.*
> 
> %pre -n %{name}-server
> getent group qpidd >/dev/null || groupadd -r qpidd
> getent passwd qpidd >/dev/null || \
>  useradd -r -M -g qpidd -d %{_localstatedir}/lib/qpidd -s /sbin/nologin \
>    -c "Owner of Qpidd Daemons" qpidd
> exit 0
> 
> %post -n %{name}-server
> # This adds the proper /etc/rc*.d links for the script
> /sbin/chkconfig --add qpidd
> /sbin/ldconfig
> 
> %preun -n %{name}-server
> # Check that this is actual deinstallation, not just removing for upgrade.
> if [ $1 = 0 ]; then
>        /sbin/service qpidd stop >/dev/null 2>&1 || :
>        /sbin/chkconfig --del qpidd
> fi
> 
> %postun -n %{name}-server
> if [ $1 -ge 1 ]; then
>        /sbin/service qpidd condrestart >/dev/null 2>&1 || :
> fi
> /sbin/ldconfig
> 
> # === Package: qpid-cpp-server-devel ===
> 
> %package -n %{name}-server-devel
> Summary: Libraries and header files for developing Qpid broker extensions
> Group: Development/System
> Requires: %{name}-client-devel = %version-%release
> Requires: %{name}-server = %version-%release
> Requires: boost-devel
> Requires: boost-filesystem
> Requires: boost-program-options
> 
> %description -n %{name}-server-devel
> Libraries and header files for developing extensions to the
> Qpid broker daemon.
> 
> %files -n %{name}-server-devel
> %defattr(-,root,root,-)
> %defattr(-,root,root,-)
> %_libdir/libqpidbroker.so
> %_includedir/qpid/broker
> 
> %post -n %{name}-server-devel
> /sbin/ldconfig
> 
> %postun -n %{name}-server-devel
> /sbin/ldconfig
> 
> # === Package: qmf ===
> 
> %package -n qmf
> Summary: The QPID Management Framework
> Group: System/Daemons
> Requires: %{name}-client >= %{version}
> 
> %description -n qmf
> An extensible management framework layered on QPID messaging.
> 
> %files -n qmf
> %defattr(-,root,root,-)
> %_libdir/libqmf.so.*
> %_libdir/libqmf2.so.*
> %_libdir/libqmfengine.so.*
> %_libdir/libqmfconsole.so.*
> 
> %post -n qmf
> /sbin/ldconfig
> 
> %postun -n qmf
> /sbin/ldconfig
> 
> # === Package: qmf-devel ===
> 
> %package -n qmf-devel
> Summary: Header files and tools for developing QMF extensions
> Group: Development/System
> Requires: qmf >= %{version}
> Requires: %{name}-client-devel = %version-%release
> 
> %description -n qmf-devel
> Header files and code-generation tools needed for developers of QMF-managed
> components.
> 
> %files -n qmf-devel
> %defattr(-,root,root,-)
> %_libdir/libqmf.so
> %_libdir/libqmf2.so
> %_libdir/libqmfengine.so
> %_libdir/libqmfconsole.so
> %_bindir/qmf-gen
> %{python_sitelib}/qmfgen
> 
> %post -n qmf-devel
> /sbin/ldconfig
> 
> %postun -n qmf-devel
> /sbin/ldconfig
> 
> # === Package: qpid-cpp-examples ===
> 
> %package -n %{name}-examples
> License:   Apache Licence v2 and others
> Group:     Development/Tools
> Summary:   Examples for Qpid
> 
> %description -n %{name}-examples
>    Qpid/C++ is a C++ implementation of the AMQP protocol described at
>    http://amqp.org/
> 
>    This release of Qpid/C++ implements the AMQP 0-10.
> 
>    This package provides example implementations
> 
> %files -n %{name}-examples
> %defattr(-,root,root,-)
> %{_libdir}/qpidc-examples
> %{_datadir}/qpidc
> 
> %prep
> %setup -q -n %{srcdir_name}-%{version}
> 
> %build
> %configure --without-sasl --disable-static --without-swig 
> --libexecdir=%{_libdir}
> make %{?jobs:-j %jobs}
> 
> %install
> make install DESTDIR="%{buildroot}"
> 
> install -Dp -m0755 etc/qpidd %{buildroot}%{_initrddir}/qpidd
> install -d -m0755 %{buildroot}%{_localstatedir}/lib/qpidd
> install -d -m0755 %{buildroot}%_libdir/qpidd
> install -d -m0755 %{buildroot}/var/run/qpidd
> 
> # Copy example binaries manually since make does not install them
> mkdir -p %{buildroot}%{_libdir}/qpidc-examples/direct
> cp %{_builddir}/qpidc-0.8/examples/direct/.libs/* 
> %{buildroot}%{_libdir}/qpidc-examples/direct
> mkdir -p %{buildroot}%{_libdir}/qpidc-examples/failover
> cp %{_builddir}/qpidc-0.8/examples/failover/.libs/* 
> %{buildroot}%{_libdir}/qpidc-examples/failover
> mkdir -p %{buildroot}%{_libdir}/qpidc-examples/fanout
> cp %{_builddir}/qpidc-0.8/examples/fanout/.libs/* 
> %{buildroot}%{_libdir}/qpidc-examples/fanout
> mkdir -p %{buildroot}%{_libdir}/qpidc-examples/messaging
> cp %{_builddir}/qpidc-0.8/examples/messaging/.libs/* 
> %{buildroot}%{_libdir}/qpidc-examples/messaging
> mkdir -p %{buildroot}%{_libdir}/qpidc-examples/pub-sub
> cp %{_builddir}/qpidc-0.8/examples/pub-sub/.libs/* 
> %{buildroot}%{_libdir}/qpidc-examples/pub-sub
> mkdir -p %{buildroot}%{_libdir}/qpidc-examples/qmf-console
> cp %{_builddir}/qpidc-0.8/examples/qmf-console/.libs/* 
> %{buildroot}%{_libdir}/qpidc-examples/qmf-console
> mkdir -p %{buildroot}%{_libdir}/qpidc-examples/request-response
> cp %{_builddir}/qpidc-0.8/examples/request-response/.libs/* 
> %{buildroot}%{_libdir}/qpidc-examples/request-response
> mkdir -p %{buildroot}%{_libdir}/qpidc-examples/tradedemo
> cp %{_builddir}/qpidc-0.8/examples/tradedemo/.libs/* 
> %{buildroot}%{_libdir}/qpidc-examples/tradedemo
> 
> rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
> rm -f $RPM_BUILD_ROOT%{_libdir}/qpid/*/*.la
> rm -rf %{buildroot}%_libdir/qpid/tests
> 
> %clean
> rm -rf $RPM_BUILD_ROOT
> 
> %post -n qpid-cpp -p /sbin/ldconfig  
> 
> %postun -n qpid-cpp -p /sbin/ldconfig
> 
> 
> ===================================================================
> 
> _______________________________________________
> MeeGo-commits mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-commits

_______________________________________________
MeeGo-packaging mailing list
[email protected]
http://lists.meego.com/listinfo/meego-packaging

Reply via email to