Project

General

Profile

Revision 35afe3dd

ID35afe3dd48c30726afccc30da7390add079c5173
Parent 21d6f302
Child f20684bf

Added by Francois POIROTTE over 11 years ago

Packaging Debian de la version communautaire.

Ajoute les fichiers nécessaires au packaging des composants de la
version communautaire pour Debian stable (squeeze).

Change-Id: Ief1f1d2b051382a886508e24a162d8e246533b81
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/990
Tested-by: Build system <>
Reviewed-by: Francois POIROTTE <>

View differences:

MANIFEST.in
4 4

  
5 5
graft doc
6 6
graft pkg
7
graft debian
7 8
recursive-include vigigraph/i18n *.pot *.po
8 9

  
9 10
graft deployment
debian/changelog
1
vigilo-vigigraph (3.0.0.dev-g3e987b6-1) unstable; urgency=low
2

  
3
  * New upstream release.
4

  
5
 -- Francois Poirotte <francois.poirotte@c-s.fr>  Sat, 24 Nov 2012 13:06:43 +0100
6

  
7
vigilo-vigigraph (2.1.2.dev-g0d9fe29-1) unstable; urgency=low
8

  
9
  * Initial release
10

  
11
 -- Francois Poirotte <francois.poirotte@c-s.fr>  Sat, 10 Nov 2012 21:16:32 +0100
debian/compat
1
7
debian/conffile
1
/usr/share/pyshared/vigigraph/config/app_cfg.py
debian/control
1
Source: vigilo-vigigraph
2
Section: python
3
Priority: extra
4
Maintainer: Vigilo Team <contact@projet-vigilo.org>
5
Build-Depends:
6
 debhelper (>= 7.0.50~),
7
 python (>= 2.6.6-3~),
8
 python-setuptools,
9
 python-babel
10
Standards-Version: 3.8.4
11
Homepage: http://www.projet-vigilo.org/
12
X-Python-Version: >= 2.5
13

  
14
Package: vigilo-vigigraph
15
Architecture: all
16
Suggests: vigilo-vigigraph-doc
17
Depends:
18
 ${misc:Depends},
19
 ${python:Depends},
20
 libapache2-mod-wsgi
21
Description: Vigilo metrology interface
22
 Vigilo metrology interface
23

  
24
Package: vigilo-vigigraph-doc
25
Architecture: all
26
Section: doc
27
Depends: ${sphinxdoc:Depends} ${misc:Depends}
28
Description: Vigilo metrology interface (documentation)
29
 Vigilo metrology interface.
30
 .
31
 This package contains documentation about the vigilo-vigigraph package.
debian/copyright
1
Maintainer: Vigilo Team (contact@projet-vigilo.org)
2
Source: http://sourceforge.net/projects/vigilo/files/Sources/
3
Name: vigilo-vigigraph
4

  
5
Files: *
6
Copyright: 2007-2012, by CS-SI
7
License: GPL-2+
8

  
9
Files: debian/*
10
Copyright: 2012, by CS-SI
11
License: GPL-2+
12

  
13
License: GPL-2+
14
 This program is free software; you can redistribute it and/or modify
15
 it under the terms of the GNU General Public License as published by
16
 the Free Software Foundation; either version 2, or (at your option)
17
 any later version.
18
 .
19
 On Debian GNU/Linux systems, the complete text of the GNU General
20
 Public License can be found in `/usr/share/common-licenses/GPL-2'
debian/docs
1
COPYING.txt
2
README.txt
debian/links
1
/etc/vigilo/vigigraph/vigigraph.conf            /etc/apache2/sites-available/vigilo-vigigraph.conf
2
/usr/share/pyshared/vigigraph/config/app_cfg.py /etc/vigilo/vigigraph/app_cfg.py
debian/postinst
1
#!/bin/sh
2
# postinst script for vigilo-connector-nagios
3
#
4
# see: dh_installdeb(1)
5

  
6
set -e
7

  
8
# summary of how this script can be called:
9
#        * <postinst> `configure' <most-recently-configured-version>
10
#        * <old-postinst> `abort-upgrade' <new version>
11
#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
12
#          <new-version>
13
#        * <postinst> `abort-remove'
14
#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
15
#          <failed-install-package> <version> `removing'
16
#          <conflicting-package> <version>
17
# for details, see http://www.debian.org/doc/debian-policy/ or
18
# the debian-policy package
19

  
20

  
21
case "$1" in
22
    configure)
23
        MODULE=vigigraph
24
        PKGNAME=vigilo-$MODULE
25
        HTTPD_USER=www-data
26

  
27
        chown $HTTPD_USER:$HTTPD_USER \
28
            /var/log/vigilo/$MODULE
29

  
30
        chown root:$HTTPD_USER /etc/vigilo/$MODULE/*.ini
31
        chmod 640 /etc/vigilo/$MODULE/*.ini
32

  
33
        chown $HTTPD_USER:$HTTPD_USER /var/cache/vigilo/sessions
34
        chmod 750 /var/cache/vigilo/sessions
35
    ;;
36

  
37
    abort-upgrade|abort-remove|abort-deconfigure)
38
    ;;
39

  
40
    *)
41
        echo "postinst called with unknown argument \`$1'" >&2
42
        exit 1
43
    ;;
44
esac
45

  
46
# dh_installdeb will replace this with shell code automatically
47
# generated by other debhelper scripts.
48

  
49
#DEBHELPER#
50

  
51
exit 0
debian/pydist-overrides
1
vigilo-common           vigilo-common
2
vigilo-connector        vigilo-connector
3
vigilo-connector-metro  vigilo-connector-metro
4
vigilo-connector-nagios vigilo-connector-nagios
5
vigilo-correlator       vigilo-correlator
6
vigilo-models           vigilo-models
7
vigilo-themes-default   vigilo-themes-default
8
vigilo-turbogears       vigilo-turbogears
9
vigilo-vigiboard        vigilo-vigiboard
10
vigilo-vigiconf         vigilo-vigiconf
11
vigilo-vigiconf-local   vigilo-vigiconf-local
12
vigilo-vigigraph        vigilo-vigigraph
13
vigilo-vigirrd          vigilo-vigirrd
debian/rules
1
#!/usr/bin/make -f
2
# -*- makefile -*-
3

  
4
# Uncomment this to turn on verbose mode.
5
export DH_VERBOSE=1
6
export DH_OPTIONS=-v
7

  
8
PKGNAME=$(shell printf "%s" `dpkg-parsechangelog | grep '^Source:' | cut -d: -f2-`)
9
VERSION=$(shell printf "%s" `dpkg-parsechangelog | grep '^Version:' | cut -d: -f2-`)
10

  
11
%:
12
	dh $@ --with python2,sphinxdoc
13

  
14
override_dh_auto_clean:
15
	dh_auto_clean -- buildclean
16
	$(RM) -rf vigilo_vigigraph.egg-info
17
	find vigigraph/i18n/ -name '*.mo' -o -name '*.js' -delete
18

  
19
override_dh_auto_build:
20
	/usr/bin/python setup.py compile_catalog
21
	$(MAKE)	deployment/logrotate.conf deployment/settings.ini \
22
			deployment/vigigraph.conf deployment/vigigraph.wsgi
23

  
24
override_dh_auto_install:
25
	python setup.py install --root=debian/$(PKGNAME) \
26
		--single-version-externally-managed \
27
		--install-layout=deb
28
	mkdir -p debian/$(PKGNAME)/var/log/vigilo/vigigraph/
29
	mkdir -p debian/$(PKGNAME)/var/cache/vigilo/sessions/
30
	find vigigraph/i18n/ -name '*.mo' -o -name '*.js' -exec \
31
		'mv' '{}' "debian/$(PKGNAME)/usr/share/pyshared/{}" ';'
32

  
33
override_dh_auto_test:
34

  
35
override_dh_installdocs:
36
ifneq "$(shell dh_listpackages | grep -- -doc)" ""
37
	PYTHONPATH=src/ sphinx-build -b html -d doc/_build/doctrees \
38
		-D version=$(VERSION) -D release=$(VERSION) \
39
		doc/ debian/$(PKGNAME)-doc/usr/share/doc/$(PKGNAME)-doc/html/
40
endif
41

  
42
override_dh_sphinxdoc:
43
ifneq "$(shell dh_listpackages | grep -- -doc)" ""
44
	dh_sphinxdoc -p $(PKGNAME)-doc
45
endif
46

  
47
.PHONY: override_dh_auto_clean \
48
		override_dh_auto_build \
49
		override_dh_auto_install \
50
		override_dh_auto_test \
51
		override_dh_installdocs \
52
		override_dh_sphinxdoc
debian/source/format
1
3.0 (quilt)
debian/source/include-binaries
1
vigigraph/i18n/en/LC_MESSAGES/vigigraph.mo
2
vigigraph/i18n/en/LC_MESSAGES/vigigraph.js
3
vigigraph/i18n/fr/LC_MESSAGES/vigigraph.mo
4
vigigraph/i18n/fr/LC_MESSAGES/vigigraph.js
5
vigigraph/i18n/de/LC_MESSAGES/vigigraph.mo
6
vigigraph/i18n/de/LC_MESSAGES/vigigraph.js
debian/vigilo-vigigraph-doc.doc-base
1
Document: vigilo-vigigraph-manual
2
Title: Vigilo VigiGraph manual
3
Author: Vigilo Team
4
Abstract: The vigilo-vigigraph paquage provides
5
 a web UI that displays performance data.
6
Section: Text
7

  
8
Format: HTML
9
Index: /usr/share/doc/vigilo-vigigraph-doc/html/index.html
10
Files: /usr/share/doc/vigilo-vigigraph-doc/html/*
debian/vigilo-vigigraph-doc.docs
1
COPYING.txt
2
README.txt
3
doc/_build/html
debian/vigilo-vigigraph-doc.links
1
/usr/share/doc/vigilo-vigigraph-doc/html/_sources/ /usr/share/doc/vigilo-vigigraph-doc/rst

Also available in: Unified diff