Skip to content

Commit

Permalink
Merge branch 'lamby/packaging'
Browse files Browse the repository at this point in the history
  • Loading branch information
JedMeister committed Aug 16, 2017
2 parents 54e4672 + 94d7571 commit 4d8d1a0
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 40 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
sudo: required
language: generic

services:
- docker

script:
- wget -O- http://travis.debian.net/script.sh | sh -

branches:
except:
- /^debian\/\d/
2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5
10
16 changes: 11 additions & 5 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,21 @@ Source: ebsmount
Section: misc
Priority: optional
Maintainer: Alon Swartz <[email protected]>
Build-Depends: debhelper (>> 4.2.0)
Standards-Version: 3.6.1
Build-Depends:
debhelper (>= 10),
python-all (>= 2.6.6-3~),
Standards-Version: 4.0.0
X-Python-Version: >= 2.6

Package: ebsmount
Architecture: any
Depends: python (>= 2.4), udev, turnkey-pylib
Section: misc
Depends:
dh-python,
${misc:Depends},
${python:Depends},
turnkey-pylib,
udev,
Description: Automatically mount EC2/Eucalyptus EBS devices
Automatically mounts EBS (Elastic Block Storage) devices when they are
attached, supports formatted devices as well as partitions, uniquely
identifiable mount points, and hooking scripts execution upon mount.

1 change: 0 additions & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ License:

On Debian and Ubuntu systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL file.

1 change: 1 addition & 0 deletions debian/ebsmount.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs/*
2 changes: 2 additions & 0 deletions debian/ebsmount.manpages
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
man/ebsmount-manual.1
man/ebsmount-udev.8
38 changes: 5 additions & 33 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -1,37 +1,9 @@
#! /usr/bin/make -f

progname=$(shell awk '/^Source/ {print $$2}' debian/control)
buildroot=debian/$(progname)
prefix=$(buildroot)/usr
include /usr/share/dpkg/pkg-info.mk

clean:
dh_clean
%:
dh $@ --with python2

build:
mkdir -p $(prefix)

install:
dh_testroot
dh_clean -k
dh_testdir
dh_installdirs
dh_install
$(MAKE) install prefix=$(prefix) destdir=$(buildroot)
dh_link

binary-indep: install
dh_testdir
dh_testroot
dh_installdocs docs/
dh_installman man/ebsmount-manual.1 man/ebsmount-udev.8
dh_installchangelogs
dh_compress
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb

binary-arch: install

binary: binary-indep binary-arch
.PHONY: clean binary-indep binary-arch binary install
override_dh_auto_install:
dh_auto_install -- prefix=debian/$(DEB_SOURCE)/usr destdir=debian/$(DEB_SOURCE)
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (native)

0 comments on commit 4d8d1a0

Please sign in to comment.