File omniORBpy.spec of Package omniORBpy
Summary: A robust high performance CORBA ORB for C++ and Python
Name: omniORBpy
Version: 4.2.3
Release: 6
License: GPL
Group: System/Libraries
Source0: http://downloads.sourceforge.net/omniorb/omniORBpy-%{version}.tar.bz2
#Patch0: omniORBpy-3.4-link.patch
URL: http://omniorb.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: python3-devel
#BuildRequires: openssl-devel
BuildRequires: omniORB
BuildRequires: omniORB-devel
BuildRequires: gcc-c++
BuildRequires: automake
%description
omniORB is a robust high performance CORBA ORB for C++ and Python.
It is freely available under the terms of the GNU Lesser General Public License
(for the libraries), and GNU General Public License (for the tools). omniORB
is largely CORBA 2.6 compliant.
omniORB is one of only three ORBs to have been awarded the Open Group's Open
Brand for CORBA. This means that omniORB has been tested and certified CORBA
compliant, to version 2.1 of the CORBA specification. You can find out more
about the branding program at the Open Group.
%prep
%setup -qn omniORBpy-%{version}
#%patch0 -p0
%build
%configure PYTHON=/usr/bin/python3 --includedir=%{_includedir}/omniORBpy3/
#--with-openssl=/usr
#./configure --prefix=%{_prefix} --exec-prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} \
#--libdir=%{_libdir} --sysconfdir=%{_sysconfdir} --localstatedir=%{_localstatedir} --bindir=%{_bindir} --sbindir=%{_sbindir} \
#--datadir=%{_datadir} --includedir=%{_includedir} --libdir=%{_libdir} --libexecdir=%{_libexecdir} \
#--sharedstatedir=%{_sharedstatedir} --with-openssl=%{_prefix}
%__make %{?jobs:-j%{jobs}}
%install
rm -fr %buildroot
%makeinstall
# don't conflict with python-omniidl
rm -f %{buildroot}%{py_puresitedir}/omniidl_be/__init__.py*
rm -f %{buildroot}%{py_puresitedir}/CORBA.py
rm -f %{buildroot}%{py_puresitedir}/PortableServer.py
# Custom install target forces generation of .pyc files
find %{buildroot} -name \*.pyc | xargs rm -f
%clean
rm -rf %{buildroot}
%files
%dir /usr/include/omniORBpy3
%dir /usr/include/omniORBpy3/omniORB4
%defattr (-,root,root)
%python3_sitelib/*
%python3_sitearch/*
%{_includedir}/omniORBpy3/omniORB4/*.hh
%{_includedir}/omniORBpy3/*.h
%changelog
* Thu Jan 02 2014 - build at sciomnis__singledot__com
- Adapt to openSUSE
* Sat Apr 09 2011 Funda Wang <fwang@mandriva.org> 3.4-6mdv2011.0
+ Revision: 652098
- link with libpython
* Wed Nov 17 2010 Paulo Andrade <pcpa@mandriva.com.br> 3.4-5mdv2011.0
+ Revision: 598474
- Do not install PortableServer.py when built to not conflict with pyorbit
* Sat Nov 06 2010 Funda Wang <fwang@mandriva.org> 3.4-4mdv2011.0
+ Revision: 593983
- rebuild
* Thu Sep 30 2010 Paulo Andrade <pcpa@mandriva.com.br> 3.4-3mdv2011.0
+ Revision: 582207
- Conflict conditionally with pyorbit
* Tue May 11 2010 Paulo Andrade <pcpa@mandriva.com.br> 3.4-2mdv2010.1
+ Revision: 544457
- Explicitly confict with pyorbit.
* Thu Feb 18 2010 Paulo Andrade <pcpa@mandriva.com.br> 3.4-1mdv2010.1
+ Revision: 507778
- Import python-omniorb (omniORBpy) version 3.4.
- python-omniorb