File omniORB.spec of Package omniORB
#
# spec file for package omniORB
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# norootforbuild
Name: omniORB
Summary: A robust high performance CORBA ORB for C++ and Python
License: GPL/LGPL
Group: System/Libraries
Version: 4.1.4
Release: 0
Url: http://omniorb.sourceforge.net
Vendor: openSUSE-Education
Source0: %{name}-%{version}.tar.bz2
BuildRequires: gcc-c++
BuildRequires: python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
%py_requires
%endif
%if 0%{?suse_version} >= 1120
%define py_sitedir %{py_prefix}/lib/python%{py_ver}/site-packages
%endif
%description
omniORB is a robust high performance CORBA ORB for C++ and Python.
It adheres to version 2.6 of the CORBA specification and is fully
interoperable with other CORBA ORBs.
%package devel
Group: Development/Libraries/C and C++
Summary: Development libraries, header files and utilities for omniORB
Requires: %{name} = %{version}
%description devel
omniORB-devel contains the omniORB development files. These
files are needed to develop applications based on omniORB.
%prep
%setup -q
%build
%configure --disable-static
%__make %{?jobs:-j%{jobs}}
%install
%makeinstall
%clean
[ -d %{buildroot} -a "%{buildroot}" != "" ] && %__rm -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING* CREDITS README* ReleaseNotes*
%doc doc/*
%dir %{_datadir}/idl/%{name}/COS
%dir %{_datadir}/idl
%dir %{_datadir}/idl/%{name}
%dir %{py_sitedir}/omniidl
%dir %{py_sitedir}/omniidl_be
%{_bindir}/*
%{_libdir}/*.so.*
%{py_prefix}/%{_lib}/python%{py_ver}/site-packages/_omniidlmodule*
%{py_sitedir}/omniidl/*
%{py_sitedir}/omniidl_be/*
%{_datadir}/idl/%{name}/*.idl
%{_datadir}/idl/%{name}/COS/*.idl
%files devel
%defattr(-,root,root)
%doc COPYING* CREDITS README* ReleaseNotes*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%changelog