]> git.mjollnir.org Git - cil.git/commitdiff
Change layout of Debian directories, add new way of doing it.
authorAndrew Chilton <andychilton@gmail.com>
Mon, 23 Jun 2008 10:31:25 +0000 (22:31 +1200)
committerAndrew Chilton <andychilton@gmail.com>
Mon, 23 Jun 2008 10:31:25 +0000 (22:31 +1200)
19 files changed:
INSTALLATION
debian-etch/.gitignore [moved from debian/.gitignore with 100% similarity]
debian-etch/changelog [moved from debian/changelog with 100% similarity]
debian-etch/compat [moved from debian/compat with 100% similarity]
debian-etch/control [moved from debian/control with 100% similarity]
debian-etch/copyright [moved from debian/copyright with 100% similarity]
debian-etch/docs [moved from debian/docs with 100% similarity]
debian-etch/install [moved from debian/install with 100% similarity]
debian-etch/manpages [moved from debian/manpages with 100% similarity]
debian-etch/rules [moved from debian/rules with 100% similarity]
debian-lenny/.gitignore [new file with mode: 0644]
debian-lenny/changelog [new file with mode: 0644]
debian-lenny/compat [new file with mode: 0644]
debian-lenny/control [new file with mode: 0644]
debian-lenny/copyright [new file with mode: 0644]
debian-lenny/docs [new file with mode: 0644]
debian-lenny/install [new file with mode: 0644]
debian-lenny/manpages [new file with mode: 0644]
debian-lenny/rules [new file with mode: 0755]

index b76177d0272811b427240da7683fbd4af6cba850..326da835c419647b68848b7eb07d427e7c513918 100644 (file)
@@ -30,7 +30,13 @@ For Debian Etch, the following packages will need to be installed:
 * libclass-accessor-perl
 * libdatetime-perl
 
-When inside the main cil directory, you can type the following to create a
+Out of the box, cil provides two debian directories depending on which version
+of Debian you wish to use. Currently, there isn't much difference but choose
+which distro you want and link that to 'debian/'. e.g. for Etch, run:
+
+ $ ln -s debian-etch debian
+
+Then inside the main cil directory, you can type the following to create a
 Debian paackage:
 
  $ dpkg-buildpackage -tc -us -uc -rfakeroot
similarity index 100%
rename from debian/.gitignore
rename to debian-etch/.gitignore
similarity index 100%
rename from debian/changelog
rename to debian-etch/changelog
similarity index 100%
rename from debian/compat
rename to debian-etch/compat
similarity index 100%
rename from debian/control
rename to debian-etch/control
similarity index 100%
rename from debian/copyright
rename to debian-etch/copyright
similarity index 100%
rename from debian/docs
rename to debian-etch/docs
similarity index 100%
rename from debian/install
rename to debian-etch/install
similarity index 100%
rename from debian/manpages
rename to debian-etch/manpages
similarity index 100%
rename from debian/rules
rename to debian-etch/rules
diff --git a/debian-lenny/.gitignore b/debian-lenny/.gitignore
new file mode 100644 (file)
index 0000000..5aeeab2
--- /dev/null
@@ -0,0 +1,3 @@
+/files
+/cil
+*.substvars
diff --git a/debian-lenny/changelog b/debian-lenny/changelog
new file mode 100644 (file)
index 0000000..75bf85e
--- /dev/null
@@ -0,0 +1,11 @@
+cil (0.2.0) unstable; urgency=low
+
+  * Ready for 0.2 release
+
+ -- Andrew Chilton <andychilton@gmail.com>  Sun, 22 Jun 2008 16:17:18 +1200
+
+cil (0.1.0) unstable; urgency=low
+
+  * Ready for 0.1 release
+
+ -- Andrew Chilton <andychilton@gmail.com>  Sun, 04 May 2008 16:17:17 +1200
diff --git a/debian-lenny/compat b/debian-lenny/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian-lenny/control b/debian-lenny/control
new file mode 100644 (file)
index 0000000..ebac134
--- /dev/null
@@ -0,0 +1,18 @@
+Source: cil
+Section: perl
+Priority: optional
+Maintainer: Andrew Chilton <andychilton@gmail.com>
+Uploaders: Andrew Chilton <andychilton@gmail.com>
+Standards-Version: 3.6.1
+Build-Depends: debhelper (>= 5)
+Build-Depends-Indep: perl
+
+Package: cil
+Section: perl
+Priority: optional
+Architecture: all
+Depends: ${perl:Depends}, libgetopt-mixed-perl, libfile-touch-perl, libfile-slurp-perl, libclass-accessor-perl, libdatetime-perl
+Description: command line issue tracker
+ 'cil' allows easy command-line creation of an issue tracker. It saves each
+ issue locally and in plain text. Commands are given such that these issues can
+ be added, edited and listed easily.
diff --git a/debian-lenny/copyright b/debian-lenny/copyright
new file mode 100644 (file)
index 0000000..57ddd5f
--- /dev/null
@@ -0,0 +1,25 @@
+This package was debianized by Andrew Chilton <andychilton@gmail.com> on
+Sun, 22 Jun 2008 17:48:00 +1200
+
+Upstream Author: Andrew Chilton <andychilton@gmail.com>
+
+Copyright: (C) 2008 Andrew Chilton
+
+License:
+
+    cil 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 3 of the License, or (at your option) any later
+    version.
+
+    This program 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 General Public License for
+    more details.
+
+    You should have received a copy of the GNU General Public License along
+    with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+You are free to distribute this software under the terms of the GNU General
+Public License. On Debian systems, the complete text of the GNU General Public
+License can be found in /usr/share/common-licenses/GPL file.
diff --git a/debian-lenny/docs b/debian-lenny/docs
new file mode 100644 (file)
index 0000000..e845566
--- /dev/null
@@ -0,0 +1 @@
+README
diff --git a/debian-lenny/install b/debian-lenny/install
new file mode 100644 (file)
index 0000000..6d9e803
--- /dev/null
@@ -0,0 +1,2 @@
+lib/*               usr/share/perl5
+bin/cil             usr/bin
diff --git a/debian-lenny/manpages b/debian-lenny/manpages
new file mode 100644 (file)
index 0000000..866347b
--- /dev/null
@@ -0,0 +1 @@
+cil.1
diff --git a/debian-lenny/rules b/debian-lenny/rules
new file mode 100755 (executable)
index 0000000..b9873e2
--- /dev/null
@@ -0,0 +1,53 @@
+#!/usr/bin/make -f
+## ----------------------------------------------------------------------------
+
+## ----------------------------------------------------------------------------
+## uncomment this to turn on verbose mode
+
+# export DH_VERBOSE=1
+
+## ----------------------------------------------------------------------------
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp install-stamp
+       [ ! -f Makefile ] || $(MAKE) clean
+       rm -f $(CURDIR)/cil.1
+       dh_clean
+
+build: build-stamp
+build-stamp:
+       dh_testdir
+       [ ! -f Makefile ] || $(MAKE)
+       echo Doing MAN...
+       pod2man $(CURDIR)/bin/cil > $(CURDIR)/cil.1
+       touch build-stamp
+
+binary:
+       dh_testdir
+       dh_testroot
+
+       dh_install
+       dh_installdirs
+       dh_installdocs
+       dh_installdebconf
+       dh_installman
+       dh_installchangelogs
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+
+       dh_perl
+
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary-arch:
+
+binary:        binary-indep binary-arch
+
+.PHONY:        clean install binary-indep binary-arch binary
+
+## ----------------------------------------------------------------------------