diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..7d94976 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,30 @@ +teckit (2.5.4~beta1) stable; urgency=medium + + * Update Unicode character names and normalization data to 7.0.0 + * Fix data normalization bug + * Update tests + + -- Neil Mayhew Mon, 30 Jun 2014 17:17:45 -0600 + +teckit (2.5.3) maverick; urgency=low + + * Update Unicode character names and normalization data to 6.0.0 + * Update copyright dates and contact details + + -- Neil Mayhew Wed, 12 Jan 2011 21:26:48 -0700 + +teckit (2.5.2) intrepid; urgency=low + + * Fix Perl handling 0 length return strings + + -- Martin Hosken Fri, 30 Jan 2009 19:14:38 +0700 + +teckit (2.5.1-1ubuntu1~hardy) hardy; urgency=low + + * Package v2.5.1 + + -- Martin Hosken Thu, 03 Apr 2008 15:11:04 +0700 + +Local variables: +mode: debian-changelog +End: diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..76c8add --- /dev/null +++ b/debian/control @@ -0,0 +1,33 @@ +Source: teckit +Build-Depends: autotools-dev, cdbs (>= 0.4.27-1), perl (>= 5.8.0), debhelper (>= 4.2.21), pkg-config, zlib1g-dev, libexpat1-dev +Section: devel +Priority: optional +Maintainer: Daniel Glassey +Standards-Version: 3.7.2 + +Package: teckit +Architecture: any +Section: devel +Depends: ${shlibs:Depends} +Description: Encoding conversion library + Provides a generic library for converting data too and from Unicode + And also from Unicode <> Unicode. + . + It also includes a compiler for a description language that allows + for bidirectional conversion description (the same description is + used for conversion too and from Unicode, for example). + +Package: libteckit-dev +Architecture: any +Section: libdevel +Depends: libteckit (= ${Source-Version}) +Description: Development files for TECkit + Development files to allow linking to libteckit for data conversion + +Package: libteckit-perl +Architecture: any +Section: perl +Depends: perl (>= 5.8.0) +Description: Perl module to access TECkit converter + This Perl module is a statically linked teckit engine + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4f3add7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,43 @@ + TECKit Licensing + + Copyright 2002-2014, SIL International + All rights reserved. + + This library is free software; you can redistribute it and/or modify + it under the terms of either: + + a) the Common Public License as published by the "Agreement + Steward" for that license (currently IBM); either version 0.5 + of the License, or (at your option) any later version, + + or + + b) the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2.1 of 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 either + the Common Public License or the GNU Lesser General Public License + for more details. + + You should have received a plain text copy of the Common Public License + Version 0.5 with this distribution in the file named "License_CPLv05.txt". + That text came from http://www.opensource.org/licenses/cpl.html. The + initial "Agreement Steward" for the CPL displays currently the license at + http://www-124.ibm.com/developerworks/oss/license-cpl.html. + + You should also have received a copy of the GNU Lesser General Public + License along with this library in the file named "License_LGPLv21.txt". + If not, write to the Free Software Foundation, Inc., 59 Temple Place, + Suite 330, Boston, MA 02111-1307, USA or visit their web page on the + internet at http://www.fsf.org/licenses/lgpl.html. + + The GNU General Public License to which the GNU Lesser General Public + License refers can be found at http://www.gnu.org/copyleft/gpl.html. + For convenient reference, a text version has been included with this + distribution in the file named "License_GPLv2.txt". All of the licenses + mentioned above can also be found at http://www.opensource.org/licenses/. + +-------------------------------------------------------------------------- diff --git a/debian/libteckit-dev.install b/debian/libteckit-dev.install new file mode 100644 index 0000000..a50737a --- /dev/null +++ b/debian/libteckit-dev.install @@ -0,0 +1,4 @@ +usr/include +usr/lib/libTECkit.*a +usr/lib/libTECkit_Compiler.*a +usr/lib/pkgconfig diff --git a/debian/libteckit-perl.install b/debian/libteckit-perl.install new file mode 100644 index 0000000..7aa80ca --- /dev/null +++ b/debian/libteckit-perl.install @@ -0,0 +1,2 @@ +usr/lib/*/perl5 +usr/share/man/man3 diff --git a/debian/libteckit-perl.install.oldperl b/debian/libteckit-perl.install.oldperl new file mode 100644 index 0000000..0d0f0f6 --- /dev/null +++ b/debian/libteckit-perl.install.oldperl @@ -0,0 +1,2 @@ +usr/lib/perl5 +usr/share/man/man3 diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..7c0f4b6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f + +#DEB_AUTO_UPDATE_DEBIAN_CONTROL:=yes + +DEB_TAR_SRCDIR := teckit-2.5.4 + +include /usr/share/cdbs/1/rules/tarball.mk + +#include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +common-configure-arch common-configure-indep:: + @PERLVER=$$(dpkg-query -W -f '$${Version}' perl); \ + echo "Perl version is $$PERLVER"; \ + if dpkg --compare-versions $$PERLVER lt 5.20; then \ + echo "Using an old (non-multiarch) perl"; \ + cp debian/libteckit-perl.install.oldperl \ + debian/libteckit-perl.install; \ + fi + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_DH_SHLIBDEPS_ARGS_teckit := -lteckit + +build/libteckit-perl :: + cd $(DEB_SRCDIR)/source/Perl ; perl Makefile.PL INSTALLDIRS=vendor + cd $(DEB_SRCDIR)/source/Perl ; $(MAKE) OPTIMIZE="-O2 -g -Wall" + +install/libteckit-perl :: + cd $(DEB_SRCDIR)/source/Perl ; $(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/debian/teckit.install b/debian/teckit.install new file mode 100644 index 0000000..aa924d5 --- /dev/null +++ b/debian/teckit.install @@ -0,0 +1,2 @@ +usr/bin +usr/lib/lib*.so*