%define python python2 Summary: Python bindings for ORBit2. Name: pyorbit Version: 2.0.0 Release: 5 Copyright: LGPL Group: Development/Languages Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-root Requires: ORBit2 >= 2.3.103 Requires: libIDL >= 0.7.1 Requires: glib2 >= 1.3.10 Requires: %{python} >= 2.2 Buildrequires: %{python}-devel >= 2.2 Buildrequires: ORBit2-devel >= 2.3.103 Buildrequires: libIDL-devel >= 0.7.1 Buildrequires: glib2-devel >= 1.3.10 Obsoletes: orbit-python # needed for automake/autoconf to work right with multilib python Buildrequires: automake >= 1.6.3-5, autoconf, libtool Patch0: pyorbit-2.0.0-multilib.patch %description pyorbit is an extension module for python that gives you access to the ORBit2 CORBA ORB. %package devel Summary: Files needed to build wrappers for ORBit2 addon libraries. Group: Development/Languages Obsoletes: orbit-python-devel Requires: %{name} = %{version} %description devel This package contains files required to build wrappers for ORBit2 addon libraries so that they interoperate with pyorbit %prep %setup -q %patch0 -p1 -b .multilib %build [ -x /usr/bin/python2.2 ] && export PYTHON=/usr/bin/python2.2 libtoolize --force aclocal automake autoconf autoheader %configure make %install rm -rf $RPM_BUILD_ROOT %makeinstall find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \; %files %defattr(755, root, root, 755) %doc AUTHORS NEWS README ChangeLog %{_libdir}/python?.?/site-packages/*.so %{_libdir}/python?.?/site-packages/*.py %{_libdir}/python?.?/site-packages/*.pyc %{_libdir}/python?.?/site-packages/*.pyo %files devel %defattr(755, root, root, 755) %dir %{_includedir}/pyorbit-2 %{_includedir}/pyorbit-2/*.h %{_libdir}/pkgconfig/*.pc %changelog * Tue Sep 28 2004 Mark McLoughlin 2.0.0-5 - Remove linc requires - Fix multilib issue * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Thu Nov 6 2003 Jeremy Katz 2.0.0-2 - rebuild for python 2.3 * Thu Sep 4 2003 Jeremy Katz 2.0.0-1 - 2.0.0 * Wed Aug 20 2003 Jeremy Katz 1.99.6-1 - 1.99.6 * Wed Jun 04 2003 Elliot Lee - rebuilt * Thu Feb 6 2003 Matt Wilson 1.99.3-5 - rebuild against new python * Tue Jan 28 2003 Jeremy Katz 1.99.3-4 - libdir-ify * Wed Jan 22 2003 Tim Powers - rebuilt * Sat Dec 28 2002 Jeremy Katz 1.99.3-2 - fix defattr * Fri Dec 27 2002 Jeremy Katz 1.99.3-1 - update to pyorbit 1.99.3, obsolete orbit-python * Thu Oct 31 2002 Matt Wilson - use %%configure and %%makeinstall - don't install .la files - use %%_libdir for pkgconfig files * Fri Jun 21 2002 Tim Powers - automated rebuild * Wed Feb 27 2002 Matt Wilson - initial package