From: Andres Mejia Date: Sat, 5 May 2012 19:24:31 +0000 (-0400) Subject: Merge tag 'upstream/1.3.0' X-Git-Tag: debian/1.3.0-1~1 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2eb4746ca71c4e3139dda3972ff8efb49fd4d823;hp=fab61e3d0384e61553b39860b923d41bc0cf17b1;p=deb_libnfs.git Merge tag 'upstream/1.3.0' Upstream version 1.3.0 --- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..472c64e --- /dev/null +++ b/debian/changelog @@ -0,0 +1,42 @@ +libnfs (1.2.0-4) unstable; urgency=low + + * Allow dev package to be multiarch installable. + * Bump to Standards-Version 3.9.3. + + -- Andres Mejia Fri, 16 Mar 2012 18:11:12 -0400 + +libnfs (1.2.0-3) unstable; urgency=low + + * Make dpkg-source options default for packaging. + + -- Andres Mejia Tue, 10 Jan 2012 17:57:45 -0500 + +libnfs (1.2.0-2) unstable; urgency=low + + * Include pkgconfig file in dev package. + + -- Andres Mejia Sun, 08 Jan 2012 22:55:21 -0500 + +libnfs (1.2.0-1) unstable; urgency=low + + * Prepare new upstream release. (Closes: #644482) + * Rename shared library package for soname bump. + * Remove git-buildpackage options which are already set by default. + * Convert library to support multi-arch. + * Update debian/copyright to follow latest stable DEP5 spec. + * Provide options to pass to dpkg-source. + + -- Andres Mejia Sun, 08 Jan 2012 13:35:22 -0500 + +libnfs (0.0~git20110724.48593f5-1) unstable; urgency=low + + * Update to latest upstream snapshot. + * New snapshot installs libnfs raw headers. + + -- Andres Mejia Sun, 24 Jul 2011 14:16:15 -0400 + +libnfs (0.0~git20110716.8c27363-1) unstable; urgency=low + + * Initial release. (Closes: #634086) + + -- Andres Mejia Sat, 16 Jul 2011 20:14:02 -0400 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..41a2654 --- /dev/null +++ b/debian/control @@ -0,0 +1,40 @@ +Source: libnfs +Section: libs +Priority: optional +Maintainer: Andres Mejia +Build-Depends: debhelper (>= 8.1.3~) +Standards-Version: 3.9.3 +Homepage: https://github.com/sahlberg/libnfs +Vcs-Git: git://anonscm.debian.org/collab-maint/libnfs.git +Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/libnfs.git + +Package: libnfs-dev +Multi-Arch: same +Architecture: any +Section: libdevel +Depends: libnfs1 (= ${binary:Version}), + ${misc:Depends} +Description: NFS client library (development files) + LIBNFS is a client library for accessing NFS shares over a network. + . + LIBNFS offers three different APIs, for different use : + 1, RAW : A fully async low level rpc library for nfs protocols + 2, NFS ASYNC : A fully asynchronous library for high level vfs functions + 3, NFS SYNC : A synchronous library for high level vfs functions + . + This package provides the necessary files needed for development. + +Package: libnfs1 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: NFS client library (shared library) + LIBNFS is a client library for accessing NFS shares over a network. + . + LIBNFS offers three different APIs, for different use : + 1, RAW : A fully async low level rpc library for nfs protocols + 2, NFS ASYNC : A fully asynchronous library for high level vfs functions + 3, NFS SYNC : A synchronous library for high level vfs functions + . + This package provides the shared library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..192e65c --- /dev/null +++ b/debian/copyright @@ -0,0 +1,66 @@ +Format: http://dep.debian.net/deps/dep5/ +Upstream-Name: libnfs +Upstream-Contact: Ronnie Sahlberg +Source: https://github.com/sahlberg/libnfs + +Files: * +Copyright: 2010-2011 Ronnie Sahlberg +License: LGPL-2.1+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library 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 + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see + . + . + On Debian systems, the full text of the GNU Lesser General Public + License version 2.1 can be found in the file + '/usr/share/common-licenses/LGPL-2.1'. + +Files: examples/* +Copyright: 2010-2011 Ronnie Sahlberg +License: GPL-3+ + 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 3 + of the License, or (at your option) any later version. + . + 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, see . + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + '/usr/share/common-licenses/GPL-3'. + +Files: debian/* +Copyright: 2011, Andres Mejia +License: LGPL-2.1+ + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + . + This library 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 + Lesser General Public License for more details. + . + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see + . + . + On Debian systems, the full text of the GNU Lesser General Public + License version 2.1 can be found in the file + '/usr/share/common-licenses/LGPL-2.1'. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..cec628c --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,2 @@ +[DEFAULT] +pristine-tar = True diff --git a/debian/libnfs-dev.install b/debian/libnfs-dev.install new file mode 100644 index 0000000..efca34a --- /dev/null +++ b/debian/libnfs-dev.install @@ -0,0 +1,4 @@ +usr/include +usr/lib/*/pkgconfig +usr/lib/*/libnfs.so +usr/lib/*/libnfs.a diff --git a/debian/libnfs-get-orig-source b/debian/libnfs-get-orig-source new file mode 100755 index 0000000..bc5a450 --- /dev/null +++ b/debian/libnfs-get-orig-source @@ -0,0 +1,36 @@ +#!/bin/sh + +# Script used to generate the orig source tarball for libnfs. + +LIBNFS_GIT_URL="git://github.com/sahlberg/libnfs.git" +LIBNFS_GIT_TAG="libnfs-1.3.0" +LIBNFS_VERSION="1.3.0" + +rm -rf "libnfs-${LIBNFS_VERSION}" +git clone "$LIBNFS_GIT_URL" "libnfs-${LIBNFS_VERSION}" +cd "libnfs-${LIBNFS_VERSION}" +git checkout "$LIBNFS_GIT_TAG" +./bootstrap +cd .. + +# Remove temp files and other cruft from source tarball +# The find command snippet here was taken from debhelper's dh_clean command +# with some modification to delete more unneeded files. +echo "Removing temp files and other cruft from source tarball" +find libnfs-${LIBNFS_VERSION} \( \( -type f -a \ + \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ + -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ + -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ + -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ + -o -name config.status -o -name config.cache -o -name config.log \ + \) -exec rm -f "{}" \; \) -o \ + \( -type d -a -name autom4te.cache -prune -exec rm -rf "{}" \; \) \) +rm -rf libnfs-${LIBNFS_VERSION}/.git +rm -f libnfs-${LIBNFS_VERSION}/.gitignore + +# Remove empty directories +echo "Removing empty directories" +find libnfs-${LIBNFS_VERSION} -type d -empty -delete + +tar --exclude-vcs -czf "libnfs_${LIBNFS_VERSION}.orig.tar.gz" \ + "libnfs-${LIBNFS_VERSION}/" diff --git a/debian/libnfs1.install b/debian/libnfs1.install new file mode 100644 index 0000000..0e85b13 --- /dev/null +++ b/debian/libnfs1.install @@ -0,0 +1 @@ +usr/lib/*/libnfs.so.* diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..fb9ca85 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +# Set CFLAGS to DEB_CFLAGS +CFLAGS=$(DEB_CFLAGS) + +%: + dh $@ --parallel + +override_dh_clean: + dh_clean examples/Makefile diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides new file mode 100644 index 0000000..b051ec9 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,2 @@ +# Only Build-Depends on debhelper (>= 8.1.3~) is needed, so ignore this. +libnfs source: package-needs-versioned-debhelper-build-depends 9 diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..9cdfca9 --- /dev/null +++ b/debian/source/options @@ -0,0 +1,2 @@ +unapply-patches +abort-on-upstream-changes diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..0d9c19a --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +# There is currently no upstream source tarball. This package is generated +# from upstream's git vcs.