|
|
@ -34,13 +34,9 @@ BuildRequires: pkgconfig
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
BuildRequires: openssl-devel
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?fedora}
|
|
|
|
|
|
|
|
BuildRequires: glibc-headers
|
|
|
|
BuildRequires: glibc-headers
|
|
|
|
%endif
|
|
|
|
|
|
|
|
BuildRequires: cyrus-sasl-devel
|
|
|
|
BuildRequires: cyrus-sasl-devel
|
|
|
|
BuildRequires: jsoncpp-devel
|
|
|
|
BuildRequires: jsoncpp-devel
|
|
|
|
|
|
|
|
|
|
|
@ -175,7 +171,6 @@ Obsoletes: qpid-proton-cpp-devel-docs
|
|
|
|
%doc %{proton_datadir}/examples/cpp/tutorial.dox
|
|
|
|
%doc %{proton_datadir}/examples/cpp/tutorial.dox
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} || 0%{?rhel} > 7
|
|
|
|
|
|
|
|
%package -n python3-qpid-proton
|
|
|
|
%package -n python3-qpid-proton
|
|
|
|
Summary: Python language bindings for the Qpid Proton messaging framework
|
|
|
|
Summary: Python language bindings for the Qpid Proton messaging framework
|
|
|
|
%{?python_provide:%python_provide python3-qpid-proton}
|
|
|
|
%{?python_provide:%python_provide python3-qpid-proton}
|
|
|
@ -188,7 +183,7 @@ Requires: python3
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-qpid-proton
|
|
|
|
%files -n python3-qpid-proton
|
|
|
|
%{python3_sitearch}/*
|
|
|
|
%{python3_sitearch}/*
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python-qpid-proton-docs
|
|
|
|
%package -n python-qpid-proton-docs
|
|
|
|
Summary: Documentation for the Python language bindings for Qpid Proton
|
|
|
|
Summary: Documentation for the Python language bindings for Qpid Proton
|
|
|
@ -252,14 +247,10 @@ mv %{buildroot}%{proton_datadir}/examples/python/proton_server.py.original %{bui
|
|
|
|
|
|
|
|
|
|
|
|
chmod +x %{buildroot}%{python3_sitearch}/_cproton.so
|
|
|
|
chmod +x %{buildroot}%{python3_sitearch}/_cproton.so
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} && 0%{?rhel} <= 6
|
|
|
|
|
|
|
|
install -pm 644 %{SOURCE1} %{buildroot}%{proton_datadir}/
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
install -dm 755 %{buildroot}%{proton_licensedir}
|
|
|
|
install -dm 755 %{buildroot}%{proton_licensedir}
|
|
|
|
install -pm 644 %{SOURCE1} %{buildroot}%{proton_licensedir}
|
|
|
|
install -pm 644 %{SOURCE1} %{buildroot}%{proton_licensedir}
|
|
|
|
install -pm 644 %{buildroot}%{proton_datadir}/LICENSE.txt %{buildroot}%{proton_licensedir}
|
|
|
|
install -pm 644 %{buildroot}%{proton_datadir}/LICENSE.txt %{buildroot}%{proton_licensedir}
|
|
|
|
rm -f %{buildroot}%{proton_datadir}/LICENSE.txt
|
|
|
|
rm -f %{buildroot}%{proton_datadir}/LICENSE.txt
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# clean up files that are not shipped
|
|
|
|
# clean up files that are not shipped
|
|
|
|
rm -rf %{buildroot}%{_exec_prefix}/bindings
|
|
|
|
rm -rf %{buildroot}%{_exec_prefix}/bindings
|
|
|
@ -267,15 +258,6 @@ rm -rf %{buildroot}%{_libdir}/java
|
|
|
|
rm -rf %{buildroot}%{_libdir}/libproton-jni.so
|
|
|
|
rm -rf %{buildroot}%{_libdir}/libproton-jni.so
|
|
|
|
rm -rf %{buildroot}%{_datarootdir}/java
|
|
|
|
rm -rf %{buildroot}%{_datarootdir}/java
|
|
|
|
rm -rf %{buildroot}%{_libdir}/proton.cmake
|
|
|
|
rm -rf %{buildroot}%{_libdir}/proton.cmake
|
|
|
|
%if 0%{?rhel}
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/perl5
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/php
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/ruby
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_datarootdir}/php
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_datarootdir}/perl5
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_datarootdir}/ruby
|
|
|
|
|
|
|
|
rm -rf %{buildroot}%{_sysconfdir}/php.d
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
rm -fr %{buildroot}%{proton_datadir}/examples/CMakeFiles
|
|
|
|
rm -fr %{buildroot}%{proton_datadir}/examples/CMakeFiles
|
|
|
|
rm -f %{buildroot}%{proton_datadir}/examples/Makefile
|
|
|
|
rm -f %{buildroot}%{proton_datadir}/examples/Makefile
|
|
|
|
rm -f %{buildroot}%{proton_datadir}/examples/*.cmake
|
|
|
|
rm -f %{buildroot}%{proton_datadir}/examples/*.cmake
|
|
|
|