Name: python-squale Version: 0.1.9 Release: 2 Summary: Python bindings for SQuaLe. Group: Development/Languages License: GPL URL: http://www.dolphy-tech.net/ Source: http://dl.sf.net/squale/squale-%{version}.tar.gz Patch: python-squale.unicode.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: python Requires: squale BuildRequires: python-devel BuildRequires: squale-devel BuildRequires: Pyrex BuildRequires: intltool BuildRequires: libxml2-devel BuildRequires: glib2-devel BuildRequires: gcc-c++ %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} %description A module for Python applications that use SQuaLe. %prep %setup -n squale-%{version} %patch -p1 %build %configure cd contrib/python make %{?_smp_mflags} cd ../.. %install rm -rf $RPM_BUILD_ROOT cd contrib/python %makeinstall cd ../.. rm -rf $RPM_BUILD_ROOT%{_libdir}/python?.?/site-packages/squale.*a %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_libdir}/python?.?/site-packages/squale.so %{_libdir}/python?.?/site-packages/SQuaLe.py %{_libdir}/python?.?/site-packages/SQuaLe.pyc %ghost %{_libdir}/python?.?/site-packages/SQuaLe.pyo %changelog * Mon Jun 11 2007 Thomas Vander Stichele - 0.1.9-2 - add patch for unicode erros; see #958 * Wed Aug 30 2006 Thomas Vander Stichele - 0.1.9-1 - new release * Mon Aug 21 2006 Thomas Vander Stichele - 0.1.7-1 - new release * Tue Jul 25 2006 Thomas Vander Stichele - 0.1.6-2.cvs.20060725 - new build * Thu Jul 13 2006 Thomas Vander Stichele - 0.1.6-2.cvs.20060713 - rebuilt with a snapshot after Andy's fix of my copy/paste error * Wed Nov 03 2004 Thomas Vander Stichele - Initial package