This is an automated email from the git hooks/post-receive script.

johanvdw-guest pushed a commit to branch master
in repository istsos.

commit 3725a6a90481735409ce791e206dea991f361797
Author: Johan Van de Wauw <johan.vandew...@gmail.com>
Date:   Fri Jul 18 13:43:13 2014 +0200

    Update installation
---
 debian/control     | 10 +++++-----
 debian/install     | 11 +++++++++++
 debian/istsos.conf |  9 +++++++++
 debian/postinst    |  2 ++
 debian/rules       | 30 +-----------------------------
 5 files changed, 28 insertions(+), 34 deletions(-)

diff --git a/debian/control b/debian/control
index d40b931..37ab858 100644
--- a/debian/control
+++ b/debian/control
@@ -1,15 +1,15 @@
 Source: istsos
-Section: unknown
+Section: web
 Priority: optional
 Maintainer: Johan Van de Wauw <johan.vandew...@gmail.com>
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9),  python-all-dev, python, python-setuptools, 
apache2
 Standards-Version: 3.9.5
 Homepage: <insert the upstream URL, if relevant>
 #Vcs-Git: git://anonscm.debian.org/collab-maint/istsos.git
 #Vcs-Browser: http://anonscm.debian.org/?p=collab-maint/istsos.git;a=summary
 
-Package: istsos
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
+Package: python-istsos
+Architecture: all 
+Depends: ${misc:Depends}, apache2, python-psycopg2,libapache2-mod-wsgi
 Description: <insert up to 60 chars description>
  <insert long description, indented with spaces>
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..c88e02f
--- /dev/null
+++ b/debian/install
@@ -0,0 +1,11 @@
+*.py /usr/share/istsos
+
+logs /usr/share/istsos
+test /usr/share/istsos
+interface /usr/share/istsos
+istsoslib /usr/share/istsos
+scripts /usr/share/istsos
+services /usr/share/istsos
+walib /usr/share/istsos
+lib /usr/share/istsos
+debian/istsos.conf /etc/apache2/sites-available/istsos.conf
diff --git a/debian/istsos.conf b/debian/istsos.conf
new file mode 100644
index 0000000..a6e604a
--- /dev/null
+++ b/debian/istsos.conf
@@ -0,0 +1,9 @@
+WSGIScriptAlias /istsos /usr/share/istsos/application.py
+Alias /istsos/admin /usr/share/istsos/interface
+
+<LocationMatch /istsos>
+    Options +Indexes +FollowSymLinks +MultiViews
+    AllowOverride all
+    Require all granted
+</LocationMatch>
+
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..394d38e
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,2 @@
+chown -R www-data:www-data /usr/share/istsos/logs
+a2ensite istsos
diff --git a/debian/rules b/debian/rules
index ce15cce..d421ef7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,32 +1,4 @@
 #!/usr/bin/make -f
-# See debhelper(7) (uncomment to enable)
-# output every command that modifies files on the build system.
-#DH_VERBOSE = 1
-
-# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
-DPKG_EXPORT_BUILDFLAGS = 1
-include /usr/share/dpkg/default.mk
-
-# see FEATURE AREAS in dpkg-buildflags(1)
-#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-# see ENVIRONMENT in dpkg-buildflags(1)
-# package maintainers to append CFLAGS
-#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
-# package maintainers to append LDFLAGS
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
-
-# main packaging script based on dh7 syntax
 %:
-       dh $@ 
-
-# debmake generated override targets
-# This is example for Cmake (See http://bugs.debian.org/641051 )
-#override_dh_auto_configure:
-#      dh_auto_configure -- \
-#      -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
-
-
-
+       dh $@ --with python2
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/istsos.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to