From 23dbfdfa519b671064145dcf2ee6c1296a4c29da Mon Sep 17 00:00:00 2001 From: Christoph Kluenter Date: Tue, 9 Sep 2014 09:47:22 +0200 Subject: fix building the debian packages with ./debian in the root --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 36 ++++++++++++++++++++++++++++++++++++ debian/copyright | 21 +++++++++++++++++++++ debian/docs | 1 + debian/rules | 32 ++++++++++++++++++++++++++++++++ debian/source/format | 1 + 7 files changed, 97 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/docs create mode 100755 debian/rules create mode 100644 debian/source/format (limited to 'debian') diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 00000000..529ea5be --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +pixelated-user-agent (0.1-1) unstable; urgency=low + + * source package automatically created by stdeb 0.8.2 + + -- Thoughtworks Mon, 08 Sep 2014 04:57:38 -0700 diff --git a/debian/compat b/debian/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 00000000..f7f36e2a --- /dev/null +++ b/debian/control @@ -0,0 +1,36 @@ +Source: pixelated-user-agent +Maintainer: Thoughtworks +Section: python +Priority: optional +Build-Depends: python-setuptools (>= 0.6b3), python-all (>= 2.6.6-3), debhelper (>= 7.4.3) +Standards-Version: 3.9.1 + + + +Package: python-pixelated-user-agent +Architecture: all +Depends: python (>= 2.7), python (<< 2.8), leap-keymanager, soledad-common, soledad-client,, leap-mail, gunicorn, python-srp, python-dirspec, python-u1db +Description: API to serve the pixelated front-end requests + Pixelated User Agent Service + ============================ + . + This is the service for the Pixelated User Agent. The primary purpose of this is to integrate well with the Pixelated Provider and provide all the capabilities necessary for the UI to work well. + . + The aim is to support these resources/endpoints: + . + ``` + GET /mails + DELETE /mails + POST /mails + PUT /mails + POST /mails/read + . + GET /mail/:id + DELETE /mail/:id + POST /mail/:id/star + POST /mail/:id/unstar + POST /mail/:id/replied + POST /mail/:id/unreplied + + + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 00000000..d11a09ce --- /dev/null +++ b/debian/copyright @@ -0,0 +1,21 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: pixelated-user-agent +Source: + +Files: * +Copyright: 2014 Thoughtworks Inc. +License: AGPL-3+ + +License: AGPL + Pixelated is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + Pixelated 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 Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + diff --git a/debian/docs b/debian/docs new file mode 100644 index 00000000..b43bf86b --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/rules b/debian/rules new file mode 100755 index 00000000..b6082fa2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,32 @@ +#!/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 $@ --sourcedirectory=service + +# 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) + + + + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 00000000..89ae9db8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) -- cgit v1.2.3