ots (0.5.0-2.1) debian-dir only changes

Summary

 debian/changelog        |   92 +++++++++++++++++++++++++++++++++++
 debian/compat           |    1 
 debian/control          |   31 ++++++++++++
 debian/copyright        |   26 ++++++++++
 debian/dirs             |    1 
 debian/docs             |    6 ++
 debian/libots-dev.dirs  |    2 
 debian/libots-dev.files |    6 ++
 debian/libots0.dirs     |    1 
 debian/libots0.files    |    6 ++
 debian/rules            |  123 ++++++++++++++++++++++++++++++++++++++++++++++++
 debian/watch            |    2 
 12 files changed, 297 insertions(+)

    
download this patch

Patch contents

--- ots-0.5.0.orig/debian/rules
+++ ots-0.5.0/debian/rules
@@ -0,0 +1,123 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# 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
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config.status: configure
+	dh_testdir
+	# Add here commands to configure the package.
+	./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
+
+	# Add here commands to compile the package.
+	$(MAKE)
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	# Add here commands to clean up after the build process.
+#	[ ! -f doc/Makefile ] || $(MAKE) -C doc maintainer-clean
+	[ ! -f Makefile ] || $(MAKE) distclean
+#	-rm -r doc/html
+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
+
+	# Add here commands to install the package into debian/tmp
+	$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
+	-mv debian/tmp/usr/share/doc/libots debian/tmp/usr/share/doc/libots-dev
+	-rm debian/tmp/usr/share/doc/libots-dev/html/index.sgml
+
+	# fixes non-empty-dependency_libs-in-la-file
+	sed -i "/dependency_libs/ s/'.*'/''/" debian/tmp/usr/lib/libots-1.la
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_movefiles
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf	
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman -plibots0
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	d_python
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- ots-0.5.0.orig/debian/dirs
+++ ots-0.5.0/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- ots-0.5.0.orig/debian/watch
+++ ots-0.5.0/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/libots/ots-(.*)\.tar\.gz
--- ots-0.5.0.orig/debian/compat
+++ ots-0.5.0/debian/compat
@@ -0,0 +1 @@
+4
--- ots-0.5.0.orig/debian/libots0.dirs
+++ ots-0.5.0/debian/libots0.dirs
@@ -0,0 +1 @@
+usr/lib
--- ots-0.5.0.orig/debian/docs
+++ ots-0.5.0/debian/docs
@@ -0,0 +1,6 @@
+AUTHORS
+BUGS
+HACKING
+NEWS
+README
+TODO
--- ots-0.5.0.orig/debian/libots0.files
+++ ots-0.5.0/debian/libots0.files
@@ -0,0 +1,6 @@
+usr/bin
+usr/share/ots
+usr/lib/libots-1.so*
+
+
+
--- ots-0.5.0.orig/debian/libots-dev.dirs
+++ ots-0.5.0/debian/libots-dev.dirs
@@ -0,0 +1,2 @@
+usr/lib
+usr/include
--- ots-0.5.0.orig/debian/changelog
+++ ots-0.5.0/debian/changelog
@@ -0,0 +1,92 @@
+ots (0.5.0-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * src/Makefile.in: Added -lm to ots_LDADD.  Fixed FTBFS.  Closes: #555878.
+  * debian/rules: Fixed non-empty-dependency_libs-in-la-file.  Closes: #633183.
+  * Fixed debhelper-but-no-misc-depends.
+  * Fixed copyright-refers-to-versionless-license-file.
+  * debian/control: Added Homepage field.
+  * debian/watch: Added.
+
+ -- Bart Martens <bartm@debian.org>  Thu, 06 Oct 2011 18:52:29 +0200
+
+ots (0.5.0-2) unstable; urgency=low
+
+  * Bumped to Standards-Version: 3.8.0.
+  * Made it binNMU safe - closes: #454949
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Thu, 17 Jul 2008 16:23:13 +0900
+
+ots (0.5.0-1) unstable; urgency=low
+
+  * New upstream release - closes: #429228, #290572, #333571. 
+  * Relibtoolized to fix bad lib filenames without .so suffix.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Wed, 05 Dec 2007 03:35:17 +0900
+
+ots (0.4.2+cvs.2004.02.20-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with gcc-4.0 (Closes: #287886)
+  * Configure with --disable-gtk-doc since it in fact doesn't build
+    with gtk-doc-tools (Closes: #336046)
+
+ -- Frank Lichtenheld <djpig@debian.org>  Sat, 29 Oct 2005 01:50:41 +0200
+
+ots (0.4.2+cvs.2004.02.20-1) unstable; urgency=low
+
+  * New upstream release (CVS snapshot).
+  * [control] change Maintainer field.
+
+ -- Masayuki Hatta (mhatta) <mhatta@debian.org>  Fri, 20 Feb 2004 03:41:44 +0900
+
+ots (0.4.1+cvs.2003.10.26-1) unstable; urgency=low
+
+  * New upstream release (CVS snapshot).
+  * Acknowledged NMU (Thanks Jordi) - closes: #216229
+
+ -- Masayuki Hatta <mhatta@debian.org>  Sun, 26 Oct 2003 12:13:46 +0900
+
+ots (0.4.1+cvs.2003.08.30-1.1) unstable; urgency=low
+
+  * Non-Maintainer Upload.
+  * Relibtoolize to fix bad lib filenames without .so suffix.
+  * debian/control: build-depend on gtk-doc-tools.
+  * debian/libots0.files: adjust filenames of libs to install.
+  * debian/libots-dev: install html docs.
+  * debian/rules:
+    + uncomment call to dh_makeshlibs, to get shlibs in libots0
+      (closes: #216229).
+    + rm generated docs on clean, as it's not cleaned by distclean.
+    + install docs in the correct path for dh_movefiles.
+  * src/Makefile.am: add $(OTS_LIBS) to libots_1_la_LIBADD, to link to all
+    the required libs.
+
+ -- Jordi Mallach <jordi@debian.org>  Thu, 23 Oct 2003 15:54:52 +0200
+
+ots (0.4.1+cvs.2003.08.30-1) unstable; urgency=low
+
+  * New upstream release (CVS snapshot).
+  * Bumped Standards-Version to 3.6.0.
+
+ -- Masayuki Hatta <mhatta@debian.org>  Sat, 30 Aug 2003 06:39:20 +0900
+
+ots (0.4.1+cvs.2003.08.28-1) unstable; urgency=low
+
+  * New upstream release (CVS snapshot).
+  * Added Build-Depends: libpopt-dev (yup, I forgot it) - closes: #203772
+
+ -- Masayuki Hatta <mhatta@debian.org>  Thu, 28 Aug 2003 17:06:05 +0900
+
+ots (0.3.0+cvs.2003.07.27-2) unstable; urgency=low
+
+  * Added Build-Depends: libpopt-dev - closes: #203772
+
+ -- Masayuki Hatta <mhatta@debian.org>  Wed, 20 Aug 2003 21:49:05 +0900
+
+ots (0.3.0+cvs.2003.07.27-1) unstable; urgency=low
+
+  * Initial Release - closes: #202980, ,#200513
+
+ -- Masayuki Hatta <mhatta@debian.org>  Sun, 27 Jul 2003 01:38:54 +0900
+
--- ots-0.5.0.orig/debian/libots-dev.files
+++ ots-0.5.0/debian/libots-dev.files
@@ -0,0 +1,6 @@
+usr/include/*
+usr/lib/lib*.a
+usr/lib/lib*.so
+usr/lib/pkgconfig/*
+usr/lib/*.la
+
--- ots-0.5.0.orig/debian/copyright
+++ ots-0.5.0/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Masayuki Hatta <mhatta@debian.org> on
+Sun, 27 Jul 2003 01:50:01 +0900.
+
+It was downloaded from http://libots.sourceforge.net/
+
+Upstream Author: Nadav Rotem <nadav256@hotmail.com>
+
+Copyright: Copyright (c) 2003- Nadav Rotem, All Rights Reserved.
+
+   This package 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; version 2 dated June, 1991.
+
+   This package 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 package; if not, write to the Free Software
+   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+   02110-1301, USA.
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
--- ots-0.5.0.orig/debian/control
+++ ots-0.5.0/debian/control
@@ -0,0 +1,31 @@
+Source: ots
+Section: devel
+Priority: optional
+Maintainer: Masayuki Hatta (mhatta) <mhatta@debian.org>
+Build-Depends: debhelper (>> 4.0.0), libglib2.0-dev, libpopt-dev, libxml2-dev
+Standards-Version: 3.8.0
+Homepage: http://libots.sourceforge.net/
+
+Package: libots-dev
+Section: libdevel
+Architecture: any
+Depends: libots0 (= ${binary:Version}), ${misc:Depends}
+Description: Open Text Summarizer (development)
+ OTS reads a text and decides which sentences are important and which 
+ are not.  Then it creates a short summary or will highlight the main
+ idea in the text (the output can be HTML).  OTS is m17n'd and 
+ works with UTF-8 encoding.
+ .
+ This package contains files used for development with ots.
+
+Package: libots0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Open Text Summarizer (library)
+ OTS reads a text and decides which sentences are important and which 
+ are not.  Then it creates a short summary or will highlight the main
+ idea in the text (the output can be HTML).  OTS is m17n'd and works 
+ with UTF-8 encoding.
+ .
+ This package contains shared library and a program (ots).