diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-02-03 14:34:19 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-02-03 14:34:19 +0100 |
commit | c1849fefc55b9cfa6a2df55ad9aec92560d1c05d (patch) | |
tree | a7262797f259840425c3844fc936520751c6700c /debian | |
parent | 77506bf58d0616b1b2b25721a1a1319e768015e5 (diff) | |
download | Chimère-c1849fefc55b9cfa6a2df55ad9aec92560d1c05d.tar.bz2 Chimère-c1849fefc55b9cfa6a2df55ad9aec92560d1c05d.zip |
First work on Debian packaging.
* first version of debian specific files to build the package
* fix requirements
* precise licence of external library
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 71 | ||||
-rw-r--r-- | debian/copyright | 113 | ||||
-rw-r--r-- | debian/docs | 5 | ||||
-rwxr-xr-x | debian/rules | 22 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/watch | 3 |
8 files changed, 212 insertions, 9 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5e26b37 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +python-django-chimere (2.0.0) unstable; urgency=low + + * Initial release (Closes: #699579) + + -- Étienne Loks <etienne.loks@peacefrogs.net> Sat, 02 Feb 2013 00:51:40 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..45a4fb7 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +8 diff --git a/debian/control b/debian/control index 1d89b61..2dc9e52 100644 --- a/debian/control +++ b/debian/control @@ -1,10 +1,63 @@ +Source: python-django-chimere +Section: python +Priority: optional +Maintainer: Étienne Loks <etienne.loks@peacefrogs.net> +Build-Depends: debhelper (>= 8.0.0) +Standards-Version: 3.9.3 +Homepage: http://pypi.python.org/pypi/chimere +#Vcs-Git: git://git.debian.org/collab-maint/python-django-chimere.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/python-django-chimere.git;a=summary + Package: python-django-chimere -Version: 2.0 -Depends: python-django (>=1.4), python-gdal, python-psycopg2, - python-beautifulsoup, python-imaging, libjs-jquery, - libjs-jquery-ui, libjs-jquery-ui-theme-base, - postgresql-9.1, postgresql-9.1-postgis, gettext, - python-simplejson, gpsbabel, python-django-south, - python-pyexiv2 python-feedparser javascript-common -Recommends: tinymce, python-django-celery, python-kombu -Suggests: libjs-jquery-ui-theme-south-street +Architecture: all +Depends: ${misc:Depends}, + ${python:Depends}, + python-django (>= 1.4), + python-django (<< 1.5), + python-gdal, + python-psycopg2, + python-beautifulsoup, + python-imaging, + python-simplejson, + python-django-south, + python-pyexiv2, + python-feedparser +Recommends: javascript-common, + libjs-jquery, + libjs-jquery-ui, + libjs-jquery-ui-theme-base, + gpsbabel, + tinymce +Description: collaborative and thematic maps application for Django + Chimère is a cartographic mashup using OpenStreetMap as a default map + layer. This software aims to create online collaborative and thematic + maps. Content (multimedia, text) are associated to basic geographic + items (Point Of Interest, routes). Adds on the map are open to everybody + with no authentification but are moderated by a team in charge of the + map. + . + Main features: + * Display (by default) of the mapnik OpenStreetMap layer. + * Display on the map of POIs (with markers) and routes (with colored + polylines). + * Thematic choices of items to display (POIs and routes). + * Filter themes in regard to currently available items. + * Display of the detail of a POI (name, description, pictures, multimedia + files). + * Management of multimedia files and images associated to POIs. + * Add of a cartographic item (POI, route) on the map by an user without + authentication (the item is only available after moderation). + * Admin interface for moderation and configuration. + * Cut a Chimère by "areas". Each "area" can have specific themes, a new + default center, etc. + * Configuration of map layers in administration interface. + * Import and export of data from/to various formats: ShapeFile, KML, GeoRSS + (import only), CSV and OpenStreetMap. + +Package: python-django-chimere-docs +Architecture: all +Section: doc +Depends: ${sphinxdoc:Depends}, ${misc:Depends} +Description: python-django-chimere documentation + This package documents the use and customization of the collaborative and + thematic maps application for Django Chimère. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f5939a4 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,113 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: chimere +Source: http://pypi.python.org/pypi/chimere + +Files: * +Copyright: 2013 Étienne Loks <etienne.loks@peacefrogs.net> +License: GPL-3.0+ + +Files: debian/* +Copyright: 2013 Étienne Loks <etienne.loks@peacefrogs.net> +License: GPL-3.0+ + +Files: chimere/external_utils/OsmApi.py +Copyright: 2009-2010 Étienne Chové <chove@crans.org> +License: GPL-3.0+ + +Files: chimere/jme/* +Copyright: 2010 Alexander Farkas <info@corrupt-system.de> +License: MIT or GPL-2 + +Files: chimere/bsmSelect/* +Copyright: 2008 Ryan Cramer +Copyright: 2010 Victor Berchet +License: MIT or GPL-2 + +Files: chimere/prettyPhoto/* +Copyright: 2012 Stephane Caron +License: GPL-2 + +Files: chimere/openlayers/* +Copyright: 2006-2012 OpenLayers Contributors +Licence: BSD-2-clause + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE + LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION + OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION + WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +License: GPL-2 + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + . + On Debian systems, the full license can be found at + "/usr/share/common-licenses/GPL-2". + +License: GPL-3.0+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +Licence: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + . + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY OPENLAYERS CONTRIBUTORS ``AS IS'' AND ANY EXPRESS + OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF + MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO + EVENT SHALL COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, + INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, + BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF + LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE + OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + . + The views and conclusions contained in the software and documentation are those + of the authors and should not be interpreted as representing official policies, + either expressed or implied, of OpenLayers Contributors. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..2a00185 --- /dev/null +++ b/debian/docs @@ -0,0 +1,5 @@ +CHANGES.txt +LICENSE.txt +README.txt +README.txt +requirements.txt diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..5d9478f --- /dev/null +++ b/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PYTHON2=$(shell pyversions -vr) + +# Prevent setuptools/distribute from accessing the internet. +export http_proxy = http://127.0.9.1:9 + +%: + dh $@ --with python2,sphinxdoc + +override_dh_installdocs: + python setup.py build_sphinx --source-dir=docs/en/ + dh_installdocs build/sphinx/html + +override_dh_auto_clean: + dh_auto_clean + rm -rf build + rm -rf *.egg-info diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..b7ebbec --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://www.peacefrogs.net/download/chimere/chimere-(.*)\.tar\.bz2 |