From 12a65175797bab26695f3983c9652a34a9451fb0 Mon Sep 17 00:00:00 2001 From: short <> Date: Wed, 10 Sep 2003 14:28:19 +0000 Subject: [PATCH] +Debian packaging. --- Makefile.am | 8 +++- debian/changelog | 3 ++ debian/control | 20 ++++++++++ debian/copyright | 3 ++ debian/ntfsprogs-gnomevfs.docs | 4 ++ debian/ntfsprogs-gnomevfs.files | 2 + debian/rules | 87 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 126 insertions(+), 1 deletion(-) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/ntfsprogs-gnomevfs.docs create mode 100644 debian/ntfsprogs-gnomevfs.files create mode 100755 debian/rules diff --git a/Makefile.am b/Makefile.am index c666af5..15a0033 100644 --- a/Makefile.am +++ b/Makefile.am @@ -34,7 +34,13 @@ EXTRA_DIST+= \ .vimrc \ ChangeLog \ Makefile-head.am \ - cvs2cl-usermap + cvs2cl-usermap \ + debian/ntfsprogs-gnomevfs.files \ + debian/ntfsprogs-gnomevfs.docs \ + debian/changelog \ + debian/control \ + debian/copyright \ + debian/rules MAINTAINERCLEANFILES+= \ ChangeLog diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d944b63 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,3 @@ +ntfsprogs-gnomevfs (1.0cvs) unstable; urgency=low + * See package ChangeLog entries. + -- Jan Kratochvil Sun, 17 Aug 2003 14:16:59 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..486a1da --- /dev/null +++ b/debian/control @@ -0,0 +1,20 @@ +Source: ntfsprogs-gnomevfs +Section: main/base +Priority: optional +Maintainer: Jan Kratochvil +Build-Depends: debhelper (>> 3.0.0), + libgnomevfs2-dev, + libglib2.0-dev, + ntfsprogs-dev +Standards-Version: 3.5.2 + +Package: ntfsprogs-gnomevfs +Architecture: i386 +Depends: libgnomevfs2-0, + libglib2.0-0, + ntfsprogs-dev, +Description: NTFS filesystem library GNOME virtual file-system interface + NTFS filesystem library provides mostly read/only access to NTFS disks. + The GNOME virtual file-system provides universal access to diffent filesystems. + This package enables GNOME virtual file-system clients to seamlessly + utilize NTFS filesystem library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..1387996 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,3 @@ +Author of "ntfsprogs-gnomevfs": +Jan Kratochvil + http://www.jankratochvil.net/ diff --git a/debian/ntfsprogs-gnomevfs.docs b/debian/ntfsprogs-gnomevfs.docs new file mode 100644 index 0000000..a016fd6 --- /dev/null +++ b/debian/ntfsprogs-gnomevfs.docs @@ -0,0 +1,4 @@ +NEWS +README +TODO +AUTHORS diff --git a/debian/ntfsprogs-gnomevfs.files b/debian/ntfsprogs-gnomevfs.files new file mode 100644 index 0000000..f6f14f4 --- /dev/null +++ b/debian/ntfsprogs-gnomevfs.files @@ -0,0 +1,2 @@ +/etc/gnome-vfs-2.0/modules/libntfs.conf +/usr/lib/gnome-vfs-2.0/modules/liblibntfs-gnomevfs*.so diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..4993797 --- /dev/null +++ b/debian/rules @@ -0,0 +1,87 @@ +#!/usr/bin/make -f +# Makefile for Debian dpkg-buildpackage(1) +# Copyright (C) 2003 Jan Kratochvil +# +# 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; exactly version 2 of June 1991 is required +# +# 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, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=3 + +# 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) + + +#ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) +# CFLAGS += -g +#endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +config.status: configure + dh_testdir + ./configure --prefix=/usr --sysconfdir=/etc \ + --enable-shared --disable-static + +build-arch: config.status build-arch-stamp +build-arch-stamp: + dh_testdir + $(MAKE) + touch build-arch-stamp + +build: build-arch + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + # Do not: -$(MAKE) distclean + # as we are run in clean distribution archive by AutoGen.pm + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install-strip + dh_movefiles + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a +# dh_installdebconf -a + dh_installdocs -a +# dh_installinit -a +# dh_installman -a +# dh_installchangelogs ChangeLog -a + dh_link -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-arch +.PHONY: build clean binary-arch binary install -- 1.8.3.1