--- fstrcmp-0.3.D001.orig/debian/libfstrcmp0.install +++ fstrcmp-0.3.D001/debian/libfstrcmp0.install @@ -0,0 +1 @@ +usr/lib/libfstrcmp.so.* --- fstrcmp-0.3.D001.orig/debian/control +++ fstrcmp-0.3.D001/debian/control @@ -0,0 +1,46 @@ +Source: fstrcmp +Section: devel +Priority: optional +Maintainer: Peter Miller +Homepage: http://fstrcmp.sourceforge.net/ +XS-DM-Upload-Allowed: yes +Build-Depends: debhelper (>= 5), groff, libtool +Standards-Version: 3.8.2 + +Package: fstrcmp +Section: devel +Priority: optional +Architecture: any +Description: fuzzy comparison of strings + This package provides a command to make fuzzy string comparisons. +Depends: ${misc:Depends}, ${shlibs:Depends}, libfstrcmp0 + +Package: libfstrcmp0 +Section: libs +Priority: optional +Architecture: any +Description: library of fuzzy string comparison functions + This package provides a library which may be used to make a variety fuzzy + comparisons, on strings and arrays of bytes, including wide character strings + and multi-byte character strings. +Depends: ${misc:Depends}, ${shlibs:Depends} + +Package: libfstrcmp0-dbg +Section: debug +Priority: extra +Architecture: any +Description: library of fuzzy string comparison functions - debugging symbols + This package provides a library which may be used to make a variety fuzzy + comparisons, on strings and arrays of bytes, including wide character strings + and multi-byte character strings. +Depends: ${misc:Depends}, ${shlibs:Depends}, libfstrcmp0 (= ${binary:Version}) + +Package: libfstrcmp-dev +Section: libdevel +Priority: optional +Architecture: any +Description: library of fuzzy string comparison functions - development files + This package provides a library which may be used to make a variety fuzzy + comparisons, on strings and arrays of bytes, including wide character strings + and multi-byte character strings. +Depends: ${misc:Depends}, ${shlibs:Depends}, libfstrcmp0 (= ${binary:Version}) --- fstrcmp-0.3.D001.orig/debian/libfstrcmp-dev.install +++ fstrcmp-0.3.D001/debian/libfstrcmp-dev.install @@ -0,0 +1,15 @@ +usr/lib/libfstrcmp.a +usr/lib/libfstrcmp.la +usr/lib/libfstrcmp.so +usr/include/fstrcmp.h +usr/lib/pkgconfig/fstrcmp.pc +usr/share/man/man3/fmemcmp.3 +usr/share/man/man3/fmemcmpi.3 +usr/share/man/man3/fstrcasecmp.3 +usr/share/man/man3/fstrcasecmpi.3 +usr/share/man/man3/fstrcmp.3 +usr/share/man/man3/fstrcmpi.3 +usr/share/man/man3/fstrcoll.3 +usr/share/man/man3/fstrcolli.3 +usr/share/man/man3/fwcscmp.3 +usr/share/man/man3/fwcscmpi.3 --- fstrcmp-0.3.D001.orig/debian/copyright +++ fstrcmp-0.3.D001/debian/copyright @@ -0,0 +1,34 @@ +Copyright (C) 2009 Peter Miller + +http://fstrcmp.sourceforge.net/ + + +The library is licensed under the GNU GPL. The code is derived from the +fuzzy comparison functions in GNU Gettext, which is GNU GPL licensed. +The GNU Gettext fuzzy comparison functions were, in turn, derived from +GNU Diff, which is also GNU GPL licensed. + +These license details are important, because only GPL licensed programs, +or compatibly licensed programs, may link against this library. + + 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. + +On Debian systems, the complete text of the GNU General Public License, +version 3, can be found in /usr/share/common-licenses/GPL-3. + + +The code that analyzes differences between two vectors is derived from +GNU Gettext 0.17, GPLv3+ license, +Copyright (C) 1988-1989, 1992-1995, 2001-2004, 2006, 2007 Free +Software Foundation, Inc. + +The GNU Gettext fuzzy comparison code was itself derived from +GNU diff 2.7, also Copyright (C) FSF --- fstrcmp-0.3.D001.orig/debian/rules +++ fstrcmp-0.3.D001/debian/rules @@ -0,0 +1,65 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +CFLAGS += -O0 +else +CFLAGS += -O2 +endif + +config.status: configure + dh_testdir + sh configure --prefix=/usr --localstatedir=/var \ + --sysconfdir=/etc --mandir=/usr/share/man \ + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + +build: build-stamp + +build-stamp: config.status + dh_testdir + $(MAKE) + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + test ! -f Makefile || $(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs -A --list-missing + mkdir -p $(CURDIR)/debian/tmp/usr/lib + mkdir -p $(CURDIR)/debian/tmp/usr/share + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + rm $(CURDIR)/debian/tmp/usr/share/man/man1/fstrcmp_license.1 + +binary-indep: build install + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs -A + dh_install --fail-missing --sourcedir=debian/tmp + dh_installman -A + dh_strip --dbg-package=libfstrcmp0-dbg + dh_compress -A + dh_fixperms + dh_makeshlibs + dh_shlibdeps + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +.PHONY: build clean binary-indep binary-arch binary install --- fstrcmp-0.3.D001.orig/debian/changelog +++ fstrcmp-0.3.D001/debian/changelog @@ -0,0 +1,134 @@ +fstrcmp (0.3.D001-1) unstable; urgency=low + + * This change set prepares fstrcmp for the next public release. + + -- Peter Miller Tue, 14 Jul 2009 06:08:55 +1000 + +fstrcmp (0.2.D002-1) unstable; urgency=low + + * The debian/copyright file now explicitly states the provenance of the fuzzy + comparison code. + * The debian/control file now uses the correct sections for the runtime + library and debug symbols. + * Closes: #532267 + + -- Peter Miller Mon, 13 Jul 2009 22:37:38 +1000 + +fstrcmp (0.2.D001-1) unstable; urgency=low + + * This change set prepares fstrcmp for the next public release. + + -- Peter Miller Wed, 17 Jun 2009 17:39:14 +1000 + +fstrcmp (0.1.D004-1) unstable; urgency=low + + * The pacakge is nopw marked DM-Upload-Allowed so I can upload updates once a + DD has uploaded it first. + + -- Peter Miller Wed, 17 Jun 2009 17:16:07 +1000 + +fstrcmp (0.1.D003-1) unstable; urgency=low + + * This change set attaches the debian bug tracking number to the project. + + -- Peter Miller Mon, 08 Jun 2009 20:59:55 +1000 + +fstrcmp (0.1.D002-1) unstable; urgency=low + + * The include file now has C++ insulation. + + -- Peter Miller Mon, 08 Jun 2009 20:47:30 +1000 + +fstrcmp (0.1.D001-1) unstable; urgency=low + + * This change set prepares fstrcmp for the first public release. + + -- Peter Miller Mon, 08 Jun 2009 11:32:36 +1000 + +fstrcmp (0.0.D013-1) unstable; urgency=low + + * There is a new fstrcolli function, like fstrcoll except that it returns an + int. + + -- Peter Miller Mon, 08 Jun 2009 11:07:41 +1000 + +fstrcmp (0.0.D012-1) unstable; urgency=low + + * This change set makes improvements to the Debian packaging. + + -- Peter Miller Sun, 07 Jun 2009 22:35:18 +1000 + +fstrcmp (0.0.D011-1) unstable; urgency=low + + * This change set makes improvements to the Debian packaging. + + -- Peter Miller Sun, 07 Jun 2009 22:13:23 +1000 + +fstrcmp (0.0.D010-1) unstable; urgency=low + + * There is a new fstrcoll function, for making fuzzy comparisons of multi-byte + character strings. + + -- Peter Miller Sun, 07 Jun 2009 21:53:24 +1000 + +fstrcmp (0.0.D009-1) unstable; urgency=low + + * The dosucmentation has been cleaned up in preparation for release. + + -- Peter Miller Sun, 07 Jun 2009 21:21:08 +1000 + +fstrcmp (0.0.D008-1) unstable; urgency=low + + * There is a new fstrcmp --select option, that may be used to perform a fuzzy + search for a needle in a haystack. + + -- Peter Miller Sun, 07 Jun 2009 19:45:47 +1000 + +fstrcmp (0.0.D007-1) unstable; urgency=low + + * The type of the OFFSET_T needs to be signed. It help if you read the + comments. + + -- Peter Miller Sun, 07 Jun 2009 14:09:13 +1000 + +fstrcmp (0.0.D006-1) unstable; urgency=low + + * There is a new fstrcasecmpi function, same as fstrcmpi but case in- + sensitive. + + -- Peter Miller Sun, 07 Jun 2009 00:13:33 +1000 + +fstrcmp (0.0.D005-1) unstable; urgency=low + + * There is are new fmemcmpi and fstrcmpi functions, that return integer + results, for use on systems where floating point is not available, or is + slow. + + -- Peter Miller Sat, 06 Jun 2009 23:24:40 +1000 + +fstrcmp (0.0.D004-1) unstable; urgency=low + + * There is a new fmemcmp() function in the library, for comparing arrays of + bytes. + + -- Peter Miller Sat, 06 Jun 2009 20:23:43 +1000 + +fstrcmp (0.0.D003-1) unstable; urgency=low + + * This change set adds a web icon. + + -- Peter Miller Fri, 05 Jun 2009 17:27:30 +1000 + +fstrcmp (0.0.D002-1) unstable; urgency=low + + * There is now an fstrcmp function in the library, and an fstrcmp command to + test it with. + + -- Peter Miller Fri, 05 Jun 2009 17:17:20 +1000 + +fstrcmp (0.0.D001-1) unstable; urgency=low + + * Initial project skeleton. + + -- Peter Miller Tue, 02 Jun 2009 17:47:22 +1000 + --- fstrcmp-0.3.D001.orig/debian/compat +++ fstrcmp-0.3.D001/debian/compat @@ -0,0 +1 @@ +5 --- fstrcmp-0.3.D001.orig/debian/fstrcmp.install +++ fstrcmp-0.3.D001/debian/fstrcmp.install @@ -0,0 +1,2 @@ +usr/bin/fstrcmp +usr/share/man/man1/fstrcmp.1