|
|
126d6db |
Name: omniORBpy
|
|
|
e2cc8c8 |
Version: 4.2.0
|
|
|
e2cc8c8 |
Release: 1%{?dist}
|
|
|
126d6db |
Summary: CORBA ORB for Python
|
|
|
126d6db |
|
|
|
126d6db |
License: LGPLv2+
|
|
|
126d6db |
URL: http://omniorb.sourceforge.net/
|
|
|
126d6db |
Source0: http://sourceforge.net/projects/omniorb/files/%{name}/%{name}-%{version}/%{name}-%{version}.tar.bz2
|
|
|
126d6db |
|
|
|
126d6db |
# Fix FSF addresses
|
|
|
126d6db |
# find . -type f -print0 | xargs -0 sed -i 's|59 Temple Place\s*. Suite 330,|51 Franklin Street, Fifth Floor,|'
|
|
|
126d6db |
# find . -type f -print0 | xargs -0 sed -i 's|02111-1307|02110-1301|'
|
|
|
126d6db |
Patch0: omniORBpy_fsfaddr.patch
|
|
|
126d6db |
|
|
|
126d6db |
BuildRequires: omniORB-devel
|
|
|
126d6db |
BuildRequires: python2-devel
|
|
|
126d6db |
BuildRequires: openssl-devel
|
|
|
126d6db |
|
|
|
126d6db |
%description
|
|
|
126d6db |
omniORBpy is a robust high-performance CORBA ORB for Python.
|
|
|
126d6db |
|
|
|
126d6db |
|
|
|
126d6db |
%package -n python-omniORB
|
|
|
126d6db |
Summary: CORBA ORB for Python
|
|
|
126d6db |
BuildArch: noarch
|
|
|
126d6db |
Requires: %{name}-libs = %{version}-%{release}
|
|
|
126d6db |
# For %%{python_sitelib}/omniidl_be
|
|
|
126d6db |
Requires: omniORB
|
|
|
126d6db |
|
|
|
126d6db |
%description -n python-omniORB
|
|
|
126d6db |
Robust high-performance CORBA ORB for Python.
|
|
|
126d6db |
|
|
|
126d6db |
|
|
|
126d6db |
%package -n omniORBpy-libs
|
|
|
126d6db |
Summary: Libraries for the CORBA ORB for Python
|
|
|
126d6db |
Requires: python-omniORB = %{version}-%{release}
|
|
|
126d6db |
|
|
|
126d6db |
%description -n omniORBpy-libs
|
|
|
126d6db |
Libraries for the CORBA ORB for Python.
|
|
|
126d6db |
|
|
|
126d6db |
|
|
|
126d6db |
%package -n omniORBpy-devel
|
|
|
126d6db |
Summary: C++ API for the CORBA ORB for Python
|
|
|
126d6db |
Requires: python-omniORB = %{version}-%{release}
|
|
|
126d6db |
Requires: omniORB-devel
|
|
|
126d6db |
BuildArch: noarch
|
|
|
126d6db |
|
|
|
126d6db |
%description -n omniORBpy-devel
|
|
|
126d6db |
C++ API for the CORBA ORB for Python.
|
|
|
126d6db |
|
|
|
126d6db |
|
|
|
126d6db |
%prep
|
|
|
126d6db |
%setup -q
|
|
|
126d6db |
%patch0 -p1
|
|
|
126d6db |
|
|
|
126d6db |
|
|
|
126d6db |
%build
|
|
|
126d6db |
%configure --with-omniorb=%{_prefix} --with-openssl=%{_prefix}
|
|
|
126d6db |
make %{?_smp_mflags}
|
|
|
126d6db |
|
|
|
126d6db |
|
|
|
126d6db |
%install
|
|
|
126d6db |
%make_install
|
|
|
126d6db |
|
|
|
126d6db |
# Remove files which conflict with pyorbit, their sole purpose is to to export the modules to the global namespace via
|
|
|
126d6db |
# sys.modules["<Module>"] = omniORB.<Module>
|
|
|
126d6db |
rm -f %{buildroot}%{python_sitelib}/CORBA.py*
|
|
|
126d6db |
rm -f %{buildroot}%{python_sitelib}/PortableServer.py*
|
|
|
126d6db |
|
|
|
126d6db |
# Ensure shared libraries are executable, otherwise they are not stripped
|
|
|
126d6db |
chmod +x %{buildroot}%{python_sitearch}/*.so.*
|
|
|
126d6db |
|
|
|
126d6db |
# Fix directory permissions
|
|
|
126d6db |
find %{buildroot}%{python_sitelib} -type d -exec chmod 755 {} \;
|
|
|
126d6db |
|
|
|
126d6db |
|
|
|
126d6db |
%files -n python-omniORB
|
|
|
126d6db |
%doc README.Python README.txt ReleaseNotes.txt update.log COPYING.LIB
|
|
|
88d149d |
%{python_sitelib}/CosNaming*
|
|
|
88d149d |
%{python_sitelib}/PortableServer__POA.py*
|
|
|
88d149d |
%{python_sitelib}/omniORB.pth
|
|
|
88d149d |
%{python_sitelib}/omniORB/
|
|
|
88d149d |
%{python_sitelib}/omniidl_be/python.py*
|
|
|
88d149d |
# %%{python_sitelib}/omniidl_be is in omniORB, __init__ is an empty file
|
|
|
126d6db |
%exclude %{python_sitelib}/omniidl_be/__init__.py*
|
|
|
126d6db |
|
|
|
126d6db |
%files -n omniORBpy-libs
|
|
|
126d6db |
%{python_sitearch}/*_omni*.so*
|
|
|
126d6db |
|
|
|
126d6db |
%files -n omniORBpy-devel
|
|
|
126d6db |
# %%{_includedir}/omniORB4 is in omniORB-devel
|
|
|
126d6db |
%{_includedir}/omniORB4/*
|
|
|
126d6db |
%{_includedir}/omniORBpy.h
|
|
|
126d6db |
|
|
|
126d6db |
|
|
|
126d6db |
%changelog
|
|
|
e2cc8c8 |
* Thu May 08 2014 Sandro Mani <manisandro@gmail.com> - 4.2.0-1
|
|
|
e2cc8c8 |
- Update to 4.2.0
|
|
|
e2cc8c8 |
|
|
|
126d6db |
* Fri Mar 14 2014 Sandro Mani <manisandro@gmail.com> - 3.7-5
|
|
|
126d6db |
- Don't own %%{_includedir}/omniORB4
|
|
|
126d6db |
- Fix FSF addresses
|
|
|
126d6db |
- Fix directory permissions
|
|
|
126d6db |
- Ensure shared libraries are executable
|
|
|
126d6db |
|
|
|
126d6db |
* Wed Feb 19 2014 Sandro Mani <manisandro@gmail.com> - 3.7-4
|
|
|
126d6db |
- Pass --with-openssl, add openssl-devel BR
|
|
|
126d6db |
- Use versioned python BR
|
|
|
126d6db |
- Remove conflicting files
|
|
|
126d6db |
|
|
|
126d6db |
* Tue Feb 18 2014 Sandro Mani <manisandro@gmail.com> - 3.7-3
|
|
|
126d6db |
- Rework subpackages
|
|
|
126d6db |
|
|
|
126d6db |
* Mon Feb 17 2014 Sandro Mani <manisandro@gmail.com> - 3.7-2
|
|
|
126d6db |
- Fix package name
|
|
|
126d6db |
- Merge libs into python subpackage
|
|
|
126d6db |
|
|
|
126d6db |
* Fri Oct 04 2013 Sandro Mani <manisandro@gmail.com> - 3.7-1
|
|
|
126d6db |
- Initial package
|