From 81233ac4d4ce3f4ec68d8d9c6986f0653c493755 Mon Sep 17 00:00:00 2001 From: Sebastien Estienne Date: Wed, 1 Mar 2006 14:59:16 +0000 Subject: [PATCH] * first try at debianization git-svn-id: file:///home/lennart/svn/public/fusedav/trunk@16 e35a362c-bbd6-0310-a59f-a4efcb1729c4 --- debian/README.Debian | 6 ++++ debian/changelog | 6 ++++ debian/compat | 1 + debian/control | 18 ++++++++++++ debian/copyright | 16 ++++++++++ debian/docs | 1 + debian/rules | 70 ++++++++++++++++++++++++++++++++++++++++++++ debian/watch | 2 ++ 8 files changed, 120 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100755 debian/rules create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..427c4b1 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,6 @@ +fusedav for Debian +------------------ + +fusedav is a Fuse plugin to access WebDAV shares. + + -- Sebastien ESTIENNE Wed, 01 Mar 2006 00:42:52 +0100 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4daee83 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +fusedav (0.2-1) unstable; urgency=low + + * Initial Release (Closes: #000000) + + -- Sebastien ESTIENNE Wed, 01 Mar 2006 00:42:52 +0100 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..25c7ab3 --- /dev/null +++ b/debian/control @@ -0,0 +1,18 @@ +Source: fusedav +Section: utils +Priority: optional +Maintainer: Sebastien ESTIENNE +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 index 0000000..78e5882 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,16 @@ +This package was debianized by Sebastien ESTIENNE on +Tue, 28 Feb 2006 23:33:31 +0100 + +It was downloaded from http://0pointer.de/lennart/projects/fusedav/ + +Copyright: Copyright 2006 Lennart Poettering + +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 index 0000000..afe6da2 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +doc/README diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..9728636 --- /dev/null +++ b/debian/rules @@ -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 index 0000000..a6ab547 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=2 +http://0pointer.de/lennart/projects/fusedav/fusedav-(.*)\.tar\.gz -- 2.30.2