# # spec file for package python-sip (Version 4.5.2) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: python-sip BuildRequires: c++_compiler python-devel License: GPL Group: Development/Libraries/Python Summary: SIP tool to create python bindings Version: 4.5.2 Release: 1 URL: http://www.riverbankcomputing.co.uk/sip/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: sip-%{version}.tar.bz2 %description SIP is a tool that makes it very easy to create Python bindings for C and C++ libraries. It was originally developed to create PyQt, the Python bindings for the Qt toolkit, but can be used to create bindings for any C or C++ library. Authors: -------- RIVERBANK COMPUTING LIMITED %prep %setup -q -n sip-%{version} %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" python configure.py make %{?jobs:-j %jobs} %install make DESTDIR=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT/usr/share/sip %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog README TODO /usr/bin/sip %{py_incdir}/sip.h %{py_sitedir}/sip.so %{py_sitedir}/sipconfig.py %{py_sitedir}/sipdistutils.py /usr/share/sip %changelog -n python-sip * Fri Jan 26 2007 - dmueller@suse.de - Initial package (4.5.2)