Info2: << Package: tilecache-py%type_pkg[python] Version: 2.01 Revision: 1 Type: python (2.5) Description: WMS-C tiling client DescDetail: << TileCache is an implementation of a WMS-C (about) compliant server made available under the BSD license by MetaCarta. TileCache provides a Python-based WMS/TMS server, with pluggable caching mechanisms and rendering backends. In the simplest use case, TileCache requires only write access to a disk, the ability to run Python CGI scripts, and a WMS you want to be cached. With these resources, you can create your own local disk-based cache of any WMS server, and use the result in any WMS-C supporting client, like OpenLayers, or any TMS supporting client, like OpenLayers and worldKit. << Source: http://tilecache.org/tilecache-%v.tar.gz Source-MD5: 8c133902b2a86ef6bc8f8033a392f56c Depends: python%type_pkg[python] CompileScript: << %p/bin/python%type_raw[python] setup.py build << InstallScript: << #!/bin/bash -ev %p/bin/python%type_raw[python] setup.py install --root %d mkdir -p %i/lib/cgi-bin mv %i/bin/tilecache.cgi %i/lib/cgi-bin/tilecache.cgi%type_raw[python] mv %i/bin/tilecache.fcgi %i/lib/cgi-bin/tilecache.fcgi%type_raw[python] mkdir -p %i/share/doc/%n mv %i/TileCache/tilecache.cfg %i/share/doc/%n/ rmdir %i/TileCache mv %i/bin/tilecache_clean.py{,%type_raw[python]} mv %i/bin/tilecache_http_server.py{,%type_raw[python]} mv %i/bin/tilecache_install_config.py{,%type_raw[python]} mv %i/bin/tilecache_seed.py{,%type_raw[python]} << PostInstScript: << update-alternatives --install %p/lib/cgi-bin/tilecache.cgi tilecache.cgi %p/lib/cgi-bin/tilecache.cgi%type_raw[python] %type_pkg[python] update-alternatives --install %p/lib/cgi-bin/tilecache.fcgi tilecache.fcgi %p/lib/cgi-bin/tilecache.fcgi%type_raw[python] %type_pkg[python] update-alternatives --install %p/bin/tilecache_clean.py tilecache_clean.py %p/bin/tilecache_clean.py%type_raw[python] %type_pkg[python] update-alternatives --install %p/bin/tilecache_http_server.py tilecache_http_server.py %p/bin/tilecache_http_server.py%type_raw[python] %type_pkg[python] update-alternatives --install %p/bin/tilecache_install_config.py tilecache_install_config.py %p/bin/tilecache_install_config.py%type_raw[python] %type_pkg[python] update-alternatives --install %p/bin/tilecache_seed.py tilecache_seed.py %p/bin/tilecache_seed.py%type_raw[python] %type_pkg[python] echo "" echo "The scripts" tilecache.{,f}cgi, " tilecache_clean.py, tilecache_http_server.py, tilecache_install_config.py" echo "and tilecache_seed.py installed in %p/bin/ and %p/lib/cgi-bin" echo "are symlinks automatically updated by the update-alternatives utility." echo "If you install multiple flavors of the tileserver package, the symlinks" echo "will point to the higher flavor by default." << PreRmScript: << if [ $1 != "upgrade" ]; then update-alternatives --remove tilecache.cgi %p/lib/cgi-bin/tilecache.cgi%type_raw[python] update-alternatives --remove tilecache.fcgi %p/lib/cgi-bin/tilecache.fcgi%type_raw[python] update-alternatives --remove tilecache_clean.py %p/bin/tilecache_clean.py%type_raw[python] update-alternatives --remove tilecache_http_server.py %p/bin/tilecache_http_server.py%type_raw[python] update-alternatives --remove tilecache_install_config.py %p/bin/%type_raw[python] update-alternatives --remove tilecache_seed.py %p/bin/tilecache_seed.py%type_raw[python] fi << License: BSD Homepage: http://tilecache.org/ Maintainer: Kurt Schwehr DocFiles: index.html # Info2 <<