Code

* first try at debianization
authorSebastien Estienne <sebastien.estienne@gmail.com>
Wed, 1 Mar 2006 14:59:16 +0000 (14:59 +0000)
committerSebastien Estienne <sebastien.estienne@gmail.com>
Wed, 1 Mar 2006 14:59:16 +0000 (14:59 +0000)
git-svn-id: file:///home/lennart/svn/public/fusedav/trunk@16 e35a362c-bbd6-0310-a59f-a4efcb1729c4

debian/README.Debian [new file with mode: 0644]
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/docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/watch [new file with mode: 0644]

diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644 (file)
index 0000000..427c4b1
--- /dev/null
@@ -0,0 +1,6 @@
+fusedav for Debian
+------------------
+
+fusedav is a Fuse plugin to access WebDAV shares.
+       
+ -- Sebastien ESTIENNE <sebastien.estienne@gmail.com>  Wed, 01 Mar 2006 00:42:52 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..4daee83
--- /dev/null
@@ -0,0 +1,6 @@
+fusedav (0.2-1) unstable; urgency=low
+
+  * Initial Release (Closes: #000000)
+
+ -- Sebastien ESTIENNE <sebastien.estienne@gmail.com>  Wed, 01 Mar 2006 00:42:52 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..25c7ab3
--- /dev/null
@@ -0,0 +1,18 @@
+Source: fusedav
+Section: utils
+Priority: optional
+Maintainer: Sebastien ESTIENNE <sebastien.estienne@gmail.com>
+Build-Depends: debhelper (>= 5.0.0), autotools-dev, libfuse-dev (>= 2.5), libneon25-dev, pkg-config, lynx
+Standards-Version: 3.6.2
+
+Package: fusedav
+Architecture: any
+Depends: ${shlibs:Depends}, fuse-utils
+Suggests: fuse-module
+Description: filesystem client based on WebDAV Protocol
+ fusedav is a filesystem client based on the WebDAV protocol
+ .
+ fusedav is based on FUSE (userspace filesystem framework for Linux),
+ thus you will have to prepare fuse kernel module to be able to use it.
+ .
+ Homepage: http://fuse.sourceforge.net/
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..78e5882
--- /dev/null
@@ -0,0 +1,16 @@
+This package was debianized by Sebastien ESTIENNE <sebastien.estienne@gmail.com> on
+Tue, 28 Feb 2006 23:33:31 +0100
+
+It was downloaded from http://0pointer.de/lennart/projects/fusedav/
+
+Copyright: Copyright 2006 Lennart Poettering <mzqrooht@0pointer.de>
+
+License:
+
+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 2, or (at your option) any
+later version.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in the file `/usr/share/common-licenses/GPL'.
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..afe6da2
--- /dev/null
@@ -0,0 +1 @@
+doc/README
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..9728636
--- /dev/null
@@ -0,0 +1,70 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+       CFLAGS += -O0
+else
+       CFLAGS += -O2
+endif
+
+config.status: configure
+       dh_testdir
+       CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
+
+build: build-stamp
+
+build-stamp:  config.status
+       dh_testdir
+       $(MAKE)
+       touch build-stamp
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp 
+       -$(MAKE) distclean
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+       cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+       cp -f /usr/share/misc/config.guess config.guess
+endif
+       dh_clean 
+
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k 
+       dh_installdirs
+       $(MAKE) install DESTDIR=$(CURDIR)/debian/fusedav
+
+binary-indep: build install
+
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installchangelogs
+       dh_installdocs
+       dh_installman
+       dh_link
+       dh_strip
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
diff --git a/debian/watch b/debian/watch
new file mode 100644 (file)
index 0000000..a6ab547
--- /dev/null
@@ -0,0 +1,2 @@
+version=2
+http://0pointer.de/lennart/projects/fusedav/fusedav-(.*)\.tar\.gz