From e3caadc037da20bd79fb4314beb3998c36da2b22 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sat, 31 Dec 2005 03:00:38 +0000 Subject: [PATCH] Initial attempt at packaging. --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 26 ++++++++++++++++++++++++++ debian/copyright | 8 ++++++++ debian/rules | 31 +++++++++++++++++++++++++++++++ 5 files changed, 71 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/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4398e70 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +memories (1.1-1) unstable; urgency=low + + * Initial release - closes: #345277 + + -- Ben Hutchings Sat, 31 Dec 2005 02:59:59 +0000 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..b8626c4 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +4 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f063eb6 --- /dev/null +++ b/debian/control @@ -0,0 +1,26 @@ +Source: memories +Maintainer: Ben Hutchings +Section: web +Priority: extra +Build-Depends-Indep: debhelper (>= 4), perl (>= 5.6.0-16) +Standards-Version: 3.6.2 + +Package: memories +Architecture: all +Depends: ${perl:Depends}, + libcache-cache-perl, + libhtml-tagcloud-perl, + libimage-info-perl, + libimage-imlib2-perl, + libmaypole-perl, + libmaypole-authentication-usersessioncookie-perl, + libmaypole-plugin-upload-perl, + libtime-piece-perl +Recommends: libapache-mod-perl | libapache2-mod-perl2, + libclass-dbi-mysql-perl, + libdbd-mysql-perl +Description: a web-based photo sharing application + Memories allows multiple users to browse and share photos. Each + user's photos can be seen in blog format or as albums. Each photo can + be tagged with names, places, and other descriptive terms, and found + through these tags. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..84b7ac4 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,8 @@ +This is the Debian-packaged version of Memories, put together by Ben +Hutchings using source from: + + http://maypole.perl.org/?Applications + +The author of Memories is Simon Cozens . + +TODO: LICENCE TEXT diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..2cc1ef4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f + +build : + +binary : binary-arch binary-indep + +binary-arch : + +binary-indep : + dh_testroot + mkdir -p debian/memories/usr/share/perl5/Memories + install Memories.pm debian/memories/usr/share/perl5/ + install Memories/*.pm debian/memories/usr/share/perl5/Memories/ + mkdir -p debian/memories/etc + mv debian/memories/usr/share/perl5/Memories/Config.pm debian/memories/etc/ + ln -s /etc/memories/Config.pm debian/memories/usr/share/perl5/Memories/ + mkdir -p debian/memories/usr/share/memories + install memories.sql tag_dates templates debian/memories/usr/share/memories/ + dh_perl + dh_installchangelogs + dh_installdocs + dh_compress + dh_fixperms + dh_gencontrol + dh_builddeb + +clean : + if [ -f Makefile ]; then $(MAKE) clean; fi + dh_clean Makefile Makefile.old build-stamp + +.PHONY : build binary binary-arch binary-dep clean -- 2.39.5