From 7025795c23e1ad03fb2a0e06e1d143c77b593426 Mon Sep 17 00:00:00 2001 From: Dominique Fournier Date: Tue, 3 Jun 2014 14:35:55 +0000 Subject: [PATCH] Add debian package to domframework git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@1404 bf3deb0d-5f1a-0410-827f-c0cc1f45334c --- debian/changelog | 3 +++ debian/compat | 1 + debian/control | 15 +++++++++++ debian/copyright | 11 ++++++++ debian/dirs | 1 + debian/files | 1 + debian/install | 3 +++ debian/makePackageDebian | 11 ++++++++ debian/rules | 57 ++++++++++++++++++++++++++++++++++++++++ debian/source/format | 1 + debian/watch | 23 ++++++++++++++++ 11 files changed, 127 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/files create mode 100644 debian/install create mode 100755 debian/makePackageDebian create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..82ee44d --- /dev/null +++ b/debian/changelog @@ -0,0 +1,3 @@ +domframework (0.1-1) testing; urgency=low + * Debian Package + -- Dominique Fournier Tue, 03 Jun 2014 16:24:15 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..fb70165 --- /dev/null +++ b/debian/control @@ -0,0 +1,15 @@ +Source: domframework +Section: web +Priority: optional +Maintainer: Dominique Fournier +Build-Depends: debhelper (>= 4.0.0) +Standards-Version: 3.9.4 + +Package: domframework +Architecture: all +Depends: libapache-mod-php5 | libapache2-mod-php5 | php5-cgi, apache2 | httpd, ${misc:Depends} +Recommends: php5-cli +Description: PHP Framework with basic functionnalities + The DomFramework allow the developpers to create easily some PHP applications. + Provide authentication, abstraction to databases, and much more ! + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d8d1fb2 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,11 @@ +This package was debianized by Dominique Fournier on +Tue, 3 Jun 2014 16:27:40 +0100. + +It was downloaded from http://svn.fournier38.fr/ProgSVN/unstable/domframework/ + +Copyright 2014 Dominique Fournier + +License: BSD + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..01b968e --- /dev/null +++ b/debian/dirs @@ -0,0 +1 @@ +usr/share/domframework diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..e7cc4bb --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +domframework_0.1-1_all.deb web optional diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..6dd78e4 --- /dev/null +++ b/debian/install @@ -0,0 +1,3 @@ +*.php usr/share/domframework +examples usr/share/doc/domframework +docs/* usr/share/doc/domframework diff --git a/debian/makePackageDebian b/debian/makePackageDebian new file mode 100755 index 0000000..74d6b72 --- /dev/null +++ b/debian/makePackageDebian @@ -0,0 +1,11 @@ +#!/bin/bash -x +rm -rf /tmp/domframeworkpack +mkdir /tmp/domframeworkpack +cd /tmp/domframeworkpack +svn -q export https://svn.fournier38.fr/svn/ProgSVN/trunk/domframework domframework-0.1 +tar cjf domframework_0.1.orig.tar.bz2 domdns-0.1 +cd domframework-0.1 +dpkg-buildpackage -rfakeroot -e"Dominique Fournier " +DEB_VENDOR=debian lintian + + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..31d4b64 --- /dev/null +++ b/debian/rules @@ -0,0 +1,57 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +clean: + dh_testdir + dh_testroot + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + dh_installdocs + dh_install + +# Build architecture-dependent files here. +binary: build install + dh_testdir + dh_testroot + dh_installchangelogs +# dh_installdocs +# dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo +# dh_installman + dh_link +# dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_python +# dh_makeshlibs + dh_installdeb +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +#binary: binary-indep binary-arch +.PHONY: build build-arch build-indep clean binary-indep binary-arch binary install configure 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..c31eeb6 --- /dev/null +++ b/debian/watch @@ -0,0 +1,23 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +# Uncomment to examine a Webpage +# +#http://www.example.com/downloads.php #PACKAGE#-(.*)\.tar\.gz + +# Uncomment to examine a Webserver directory +#http://www.example.com/pub/#PACKAGE#-(.*)\.tar\.gz +http://svn.fournier38.fr/ProgSVN/release/domdns/domframework-(.*)\.tgz + +# Uncommment to examine a FTP server +#ftp://ftp.example.com/pub/#PACKAGE#-(.*)\.tar\.gz debian uupdate + +# Uncomment to find new files on sourceforge, for debscripts >= 2.9 +# http://sf.net/#PACKAGE#/#PACKAGE#-(.*)\.tar\.gz + +