summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog16
-rw-r--r--debian/compat1
-rw-r--r--debian/control44
-rw-r--r--debian/copyright28
-rw-r--r--debian/patches/fix-man-page33
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
-rw-r--r--debian/upstream/metadata8
-rw-r--r--debian/watch2
10 files changed, 138 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e00a408
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,16 @@
+inotify-hookable (0.7-2) UNRELEASED; urgency=medium
+
+ [ Salvatore Bonaccorso ]
+ * Update Vcs-Browser URL to cgit web frontend
+ * debian/control: Use HTTPS transport protocol for Vcs-Git URI
+
+ [ Lucas Kanashiro ]
+ * Add debian/upstream/metadata
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 16 Aug 2014 09:29:23 +0200
+
+inotify-hookable (0.7-1) unstable; urgency=low
+
+ * Initial Release. (Closes: #706458)
+
+ -- Dominique Dumont <dod@debian.org> Sat, 18 May 2013 10:11:20 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..a98450d
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,44 @@
+Source: inotify-hookable
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Dominique Dumont <dod@debian.org>
+Section: perl
+Priority: optional
+Build-Depends: debhelper (>= 8)
+Build-Depends-Indep: libclass-inspector-perl,
+ libdata-bitmask-perl,
+ liblinux-inotify2-perl,
+ liblist-moreutils-perl,
+ libmoose-perl,
+ libmoosex-getopt-perl,
+ libmoosex-types-perl,
+ libtry-tiny-perl
+Standards-Version: 3.9.4
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-perl/packages/inotify-hookable.git
+Vcs-Git: https://anonscm.debian.org/git/pkg-perl/packages/inotify-hookable.git
+Homepage: http://search.cpan.org/dist/App-Inotify-Hookable/
+
+Package: inotify-hookable
+Architecture: all
+Depends: ${misc:Depends},
+ ${perl:Depends},
+ libclass-inspector-perl,
+ libdata-bitmask-perl,
+ liblinux-inotify2-perl,
+ liblist-moreutils-perl,
+ libmoose-perl,
+ libmoosex-getopt-perl,
+ libmoosex-types-perl,
+ libtry-tiny-perl
+Description: blocking command-line interface to inotify
+ inotify-hookable is a program that monitor files with Linux inotify. This
+ program accepts options to specify the files to be monitored and the command
+ to run when a file has changed (based in kernel inotify)
+ .
+ inotify-hookable main advantage over inotifywait are:
+ - command to run after watch can be specified with an option
+ - emacs and vi backup files are ignored by default
+ .
+ Example:
+ .
+ inotify-hookable -f foo.c -c 'gcc -o foo foo.c'
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..717701a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,28 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: App-Inotify-Hookable
+Upstream-Contact: Ævar Arnfjörð Bjarmason <avar@cpan.org>
+Source: http://search.cpan.org/dist/App-Inotify-Hookable/
+
+Files: *
+Copyright: 2012, Ævar Arnfjörð Bjarmason <avar@cpan.org>
+License: Artistic or GPL-1+
+
+Files: debian/*
+Copyright: 2013, Dominique Dumont <dod@debian.org>
+License: Artistic or GPL-1+
+
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ .
+ On Debian systems, the complete text of the Artistic License can be
+ found in `/usr/share/common-licenses/Artistic'.
+
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ .
+ On Debian systems, the complete text of version 1 of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-1'.
diff --git a/debian/patches/fix-man-page b/debian/patches/fix-man-page
new file mode 100644
index 0000000..4ee7b43
--- /dev/null
+++ b/debian/patches/fix-man-page
@@ -0,0 +1,33 @@
+Description: Fix inotify-hookable man page
+ Upstream delivers inotify-hookable real man page in
+ App::Inotify::Hookable.3pm file. inotify-hookable.1p
+ instructs people to check the other man page.
+ .
+ This is not user-friendly, so Makefile.PL and Hooakble.pm
+ are hacked the deliver the proper information to the
+ executable man page
+Author: dod
+--- a/lib/App/Inotify/Hookable.pm
++++ b/lib/App/Inotify/Hookable.pm
+@@ -463,7 +463,7 @@
+
+ =head1 NAME
+
+-App::Inotify::Hookable - blocking command-line interface to inotify
++inotify-hookable - blocking command-line interface to inotify
+
+ =head1 SYNOPSIS
+
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -23,6 +23,10 @@
+ "EXE_FILES" => [
+ "bin/inotify-hookable"
+ ],
++ MAN1PODS => {
++ 'blib/lib/App/Inotify/Hookable.pm' => 'blib/man1/inotify-hookable.1p'
++ },
++ MAN3PODS => {},
+ "LICENSE" => "perl",
+ "NAME" => "App::Inotify::Hookable",
+ "PREREQ_PM" => {
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..c023ce6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-man-page
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2d33f6a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..07e4902
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,8 @@
+---
+Archive: CPAN
+Bug-Database: https://rt.cpan.org/Public/Dist/Display.html?Name=App-Inotify-Hookable
+Bug-Submit: bug-App-Inotify-Hookable@rt.cpan.org
+Contact: "Ã\x86var Arnfjörð Bjarmason <avar@cpan.org>"
+Name: App-Inotify-Hookable
+Repository: git://github.com/avar/app-inotify-hookable.git
+Repository-Browse: http://github.com/avar/app-inotify-hookable
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..09c95b7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://search.cpan.org/dist/App-Inotify-Hookable/ .*/App-Inotify-Hookable-v?(\d[\d.-]*)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$