1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
9 thisapp = pycurl-%{version}
11 groups = Development/Languages
12 url = http://pycurl.sourceforge.net/
13 license = LGPLv2+ or MIT
14 summary = A Python interface to libcurl.
17 PycURL is a Python interface to libcurl. PycURL can be used to fetch
18 objects identified by a URL from a Python program, similar to the
19 urllib Python module. PycURL is mature, very fast, and supports a lot
23 source_dl = http://pycurl.sourceforge.net/download/
32 CFLAGS += -DHAVE_CURL_OPENSSL
39 PYTHONPATH=$PWD/build/lib* python tests/test_internals.py -q
43 python setup.py install --skip-build -O1 \
45 rm -rf %{BUILDROOT}/usr/share/doc/pycurl
51 # During its initialization, PycURL checks that the actual libcurl version
52 # is not lower than the one used when PycURL was built.
53 # Yes, that should be handled by library versioning (which would then get
54 # automatically reflected).
55 # For now, we have to reflect that dependency.
57 libcurl >= %(curl-config --version | awk '{ print $NF }')
61 package %{name}-debuginfo