[qpid-proton/f18] Rebased on Proton 0.3.

Darryl L. Pierce mcpierce at fedoraproject.org
Wed Jan 16 14:38:24 UTC 2013


commit 27084860a3acf809363a807d79750238c67b4cc5
Author: Darryl L. Pierce <dpierce at redhat.com>
Date:   Wed Jan 2 09:29:12 2013 -0500

    Rebased on Proton 0.3.

 .gitignore       |    1 +
 qpid-proton.spec |  146 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 148 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..06a2b33 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/qpid-proton-c-0.3.tar.gz
diff --git a/qpid-proton.spec b/qpid-proton.spec
new file mode 100644
index 0000000..60289f8
--- /dev/null
+++ b/qpid-proton.spec
@@ -0,0 +1,146 @@
+%global proton_datadir %{_datadir}/proton-%{version}
+
+Name:           qpid-proton
+Version:        0.3
+Release:        1%{?dist}
+Summary:        A high performance, lightweight messaging library
+
+License:        ASL 2.0
+URL:            http://qpid.apache.org/proton/
+Source0:        http://www.apache.org/dist/qpid/proton/%{version}/qpid-proton-c-%{version}.tar.gz
+
+BuildRequires:  cmake >= 2.6
+BuildRequires:  swig
+BuildRequires:  pkgconfig
+BuildRequires:  doxygen
+BuildRequires:  libuuid-devel
+BuildRequires:  openssl-devel
+BuildRequires:  python-devel
+BuildRequires:  epydoc
+
+
+%description
+Proton is a high performance, lightweight messaging library. It can be used in
+the widest range of messaging applications including brokers, client libraries,
+routers, bridges, proxies, and more. Proton is based on the AMQP 1.0 messaging
+standard. Using Proton it is trivial to integrate with the AMQP 1.0 ecosystem
+from any platform, environment, or language.
+
+
+%package -n qpid-proton-devel
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Summary:  Development libraries for writing messaging apps with Qpid Proton
+
+
+%description -n qpid-proton-devel
+%{summary}.
+
+
+%files -n qpid-proton-devel
+%defattr(-,root,root,-)
+%{_includedir}/proton
+%{_libdir}/libqpid-proton.so
+%{_libdir}/pkgconfig/libqpid-proton.pc
+%{proton_datadir}/docs/api-c
+
+
+%package -n python-qpid-proton
+Summary:  Python language bindings for the Qpid Proton messaging framework
+
+Requires: %{name}%{?_isa} = %{version}-%{release}
+Requires: python
+
+
+
+%description -n python-qpid-proton
+%{summary}.
+
+
+%files -n python-qpid-proton
+%defattr(-,root,root,-)
+%{python_sitearch}/_cproton.so
+%{python_sitearch}/cproton.*
+%{python_sitearch}/proton.*
+
+
+%package -n python-qpid-proton-doc
+Summary: Documentation for the Python language bindings for Qpid Proton
+
+
+%description -n python-qpid-proton-doc
+%{summary}.
+
+
+%files -n python-qpid-proton-doc
+%defattr(-,root,root,-)
+%{proton_datadir}/docs
+
+
+%prep
+%setup -q -n qpid-proton-c-%{version}
+
+
+%build
+%cmake -DPROTON_DISABLE_RPATH=true .
+make all docs %{?_smp_mflags}
+
+
+%install
+%make_install
+
+chmod +x %{buildroot}%{python_sitearch}/_cproton.so
+
+install -m 644 docs/man/proton.1 %{buildroot}%{_mandir}/man1/proton.1
+
+# clean up files that are not shipped
+rm -rf %{buildroot}%{_libdir}/php
+rm -rf %{buildroot}%{_datarootdir}/php
+rm -rf %{buildroot}%{_sysconfdir}/php.d
+
+
+%post -p /sbin/ldconfig
+
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%dir %{proton_datadir}
+%doc %{proton_datadir}/LICENSE
+%doc %{proton_datadir}/README
+%doc %{proton_datadir}/TODO
+%{_mandir}/man1/*
+%{_bindir}/proton
+%{_bindir}/proton-dump
+%{_libdir}/libqpid-proton.so.*
+
+
+%changelog
+* Wed Jan 16 2013 Darryl L. Pierce <dpierce at redhat.com> - 0.3-1
+- Rebased on Proton 0.3.
+
+* Fri Dec 28 2012 Darryl L. Pierce <dpierce at redhat.com> - 0.2-2.4
+- Moved ownership of the docs dir to the docs package.
+
+* Wed Dec 19 2012 Darryl L. Pierce <dpierce at redhat.com> - 0.2-2.3
+- Fixed package dependencies, adding the release macro.
+
+* Mon Dec 17 2012 Darryl L. Pierce <dpierce at redhat.com> - 0.2-2.2
+- Fixed subpackage dependencies on main package.
+- Removed accidental ownership of /usr/include.
+
+* Thu Dec 13 2012 Darryl L. Pierce <dpierce at redhat.com> - 0.2-2.1
+- Remove BR for ruby-devel.
+- Removed redundant package name from summary.
+- Removed debugging artifacts from specfile.
+- Moved unversioned library to the -devel package.
+- Added dependency on main package to -devel. 
+- Fixed directory ownerships.
+
+* Fri Nov 30 2012 Darryl L. Pierce <dpierce at redhat.com> - 0.2-2
+- Removed BR on help2man.
+- Added patch for generated manpage.
+
+* Mon Nov  5 2012 Darryl L. Pierce <dpierce at redhat.com> - 0.2-1
+- Initial packaging of the Qpid Proton.
diff --git a/sources b/sources
index e69de29..2a86305 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+094f003b8c35a5ca7c90168b2e18a589  qpid-proton-c-0.3.tar.gz


More information about the scm-commits mailing list