Skip to content

Commit

Permalink
Add debian folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jerome-quere committed Apr 20, 2017
1 parent 88068b7 commit 0a1dfe4
Show file tree
Hide file tree
Showing 9 changed files with 130 additions and 0 deletions.
29 changes: 29 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
indi-backup (0.3.0-0-g88068b7) unstable; urgency=medium

* Release 0.3.0-0-g88068b7

-- Jerome Quere <[email protected]> Thu, 20 Apr 2017 17:30:22 +0000

indi-backup (0.2.1-8-g13943c2) unstable; urgency=medium

* Release 0.2.1-8-g13943c2

-- Jérôme Quéré <[email protected]> Thu, 20 Apr 2017 17:03:22 +0000

indi-backup (0.2-6-gfd2b0d8) unstable; urgency=medium

* Release 0.2-6-gfd2b0d8

-- Jérôme Quéré <[email protected]> Mon, 17 Aug 2015 21:28:40 +0200

indi-backup (0.1-4-g955aa64) unstable; urgency=medium

* Release 0.1-4-g955aa64

-- Jérôme Quéré <[email protected]> Fri, 14 Aug 2015 23:00:46 +0200

indi-backup (0.1-1) unstable; urgency=low

* Initial release

-- Jérôme Quéré <[email protected]> Tue, 11 Aug 2015 21:03:19 +0200
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
16 changes: 16 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Source: indi-backup
Section: utils
Priority: optional
Maintainer: Jerome Quere <[email protected]>
Build-Depends: debhelper (>= 9)
Standards-Version: 3.9.6
Vcs-Git: https://github.com/indigen-solutions/indi-backup.git
Vcs-Browser: https://github.com/indigen-solutions/indi-backup

Package: indi-backup
Architecture: all
Depends: ${misc:Depends}
Suggests: stdin2swift, mysql-client
Description: Modular backup system write in bash with minimal dependency.
Full documentation available here:
(https://github.com/indigen-solutions/indi-backup/wiki).
27 changes: 27 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: indi-backup

Files: *
Copyright: 2015 Indigen Solution
License: MIT
The MIT License (MIT)
.
Copyright (c) 2015 Indigen Solutions
.
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.
21 changes: 21 additions & 0 deletions debian/create-deb.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

SOURCE=$(dpkg-parsechangelog --show-field Source)
VERSION=$(git describe --tags --long | cut -c 2-)
SHORT_VERSION=$(echo "$VERSION" | cut -d '-' -f 1,2)
DEBEMAIL="Jerome Quere <[email protected]>"
DEBEMAIL=$DEBEMAIL dch -v $VERSION "Release $VERSION"
DEBEMAIL=$DEBEMAIL dch -r $VERSION

tar -cJf ../${SOURCE}_${SHORT_VERSION}.orig.tar.xz *

debuild
debuild clean

rm -f ../${SOURCE}_${VERSION}*.build
rm -f ../${SOURCE}_${VERSION}*.changes
rm -f ../${SOURCE}_${VERSION}*.tar.xz
rm -f ../${SOURCE}_${VERSION}*.dsc
rm -f ../${SOURCE}_${SHORT_VERSION}.orig.tar.xz

popd > /dev/null
2 changes: 2 additions & 0 deletions debian/docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
AUTHORS
README.md
1 change: 1 addition & 0 deletions debian/indi-backup.manpages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
manpages/indi-backup.1
32 changes: 32 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -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 $@

# 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)




1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)

0 comments on commit 0a1dfe4

Please sign in to comment.