Info2: << Package: pycurl-py%type_pkg[python] Version: 7.15.2 Revision: 1 Type: python (2.3 2.4) Description: Python bindings for libcurl DescPackaging: << setup.py installs all docs--so no need for DocFiles--but in a non-versioned directory, so we need to rename %i/share/doc/pycurl to %i/share/doc/pycurl-py%type_pkg[python]. We conflict with openssl*-dev so that we don't accidentally link to the wrong libs. Not sure if it would really be a problem, but just in case... << Maintainer: Daniel Johnson License: GPL Homepage: http://pycurl.sourceforge.net/ Source: http://pycurl.sourceforge.net/download/pycurl-%v.tar.gz Source-MD5: d96d7392304f4c3c4ebdc05dd479fc41 Depends: python%type_pkg[python], libcurl3-unified-shlibs BuildDepends: libcurl3-unified, system-openssl-dev BuildConflicts: openssl-dev, openssl097-dev CompileScript: << %p/bin/python%type_raw[python] setup.py build --curl-config=%p/bin/curl-config << InstallScript: << %p/bin/python%type_raw[python] setup.py install --root %d /bin/mv %i/share/doc/pycurl %i/share/doc/pycurl-py%type_pkg[python] << <<