]> git.decadent.org.uk Git - memories.git/commitdiff
Initial attempt at packaging.
authorBen Hutchings <ben@decadent.org.uk>
Sat, 31 Dec 2005 03:00:38 +0000 (03:00 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 31 Dec 2005 03:00:38 +0000 (03:00 +0000)
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/rules [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..4398e70
--- /dev/null
@@ -0,0 +1,5 @@
+memories (1.1-1) unstable; urgency=low
+
+  * Initial release - closes: #345277
+
+ -- Ben Hutchings <ben@decadentplace.org.uk>  Sat, 31 Dec 2005 02:59:59 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..b8626c4
--- /dev/null
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..f063eb6
--- /dev/null
@@ -0,0 +1,26 @@
+Source: memories
+Maintainer: Ben Hutchings <ben@decadentplace.org.uk>
+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 (file)
index 0000000..84b7ac4
--- /dev/null
@@ -0,0 +1,8 @@
+This is the Debian-packaged version of Memories, put together by Ben
+Hutchings <ben@decadentplace.org.uk> using source from:
+
+  http://maypole.perl.org/?Applications
+
+The author of Memories is Simon Cozens <simon@simon-cozens.org>.
+
+TODO: LICENCE TEXT
diff --git a/debian/rules b/debian/rules
new file mode 100644 (file)
index 0000000..2cc1ef4
--- /dev/null
@@ -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