--- mecab-0.98.orig/mecab-0.98.tar.gz.cdbs-config_list +++ mecab-0.98/mecab-0.98.tar.gz.cdbs-config_list @@ -0,0 +1,4 @@ +mecab-0.98/config.h.in +mecab-0.98/config.guess +mecab-0.98/config.rpath +mecab-0.98/config.sub --- mecab-0.98.orig/debian/compat +++ mecab-0.98/debian/compat @@ -0,0 +1 @@ +7 --- mecab-0.98.orig/debian/rules +++ mecab-0.98/debian/rules @@ -0,0 +1,40 @@ +#!/usr/bin/make -f +# -*- Makefile -*- + +VERSION = $(shell dpkg-parsechangelog|awk '/^Version: /{print $$2}') +LIBPACKAGE = $(shell dh_listpackages|egrep 'lib.*[0-9]') +LIBFILES = debian/$(LIBPACKAGE).files + +DEB_TAR_SRCDIR := mecab-$(shell echo $(VERSION)|cut -f1 -d-) + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/tarball.mk + +DEB_CONFIGURE_LIBEXECDIR = /usr/lib +DEB_CONFIGURE_EXTRA_FLAGS = --with-perl5=/usr/bin/perl +DEB_DH_MAKESHLIBS_ARGS += -V"$(LIBPACKAGE) (>= $(VERSION))" + +binary-post-install/mecab:: + dh_movefiles -p$(cdbs_curpkg) + +binary-post-install/mecab-utils:: + dh_movefiles -p$(cdbs_curpkg) + +binary-post-install/libmecab-dev:: + dh_movefiles -p$(cdbs_curpkg) + +binary-post-install/$(LIBPACKAGE):: $(LIBFILES) + dh_movefiles -p$(cdbs_curpkg) + +$(LIBFILES): debian/control debian/rules debian/libmecab.files.in + cp -p debian/libmecab.files.in $@ + +clean:: + -rm -f $(LIBFILES) + +DEB_AUTO_UPDATE_LIBTOOL = pre +DEB_AUTO_UPDATE_ACLOCAL = $(shell dpkg -s automake | perl -nle '/^Version: (?:\d:)?(\d+\.\d+)?/ and print $$1') +DEB_AUTO_UPDATE_AUTOCONF = $(shell dpkg -s autoconf | perl -nle '/^Version: (?:\d:)?(\d+\.\d+)?/ and print $$1') +DEB_AUTO_UPDATE_AUTOMAKE = $(shell dpkg -s automake | perl -nle '/^Version: (?:\d:)?(\d+\.\d+)?/ and print $$1') --- mecab-0.98.orig/debian/changelog +++ mecab-0.98/debian/changelog @@ -0,0 +1,131 @@ +mecab (0.98-1) unstable; urgency=low + + * New upstream release + + -- Taku YASUI Sun, 10 Jul 2011 19:00:14 +0900 + +mecab (0.97-2) unstable; urgency=low + + * Add Taku YASUI to Uploaders + * Make using the latest automake and autoconf (closes: #549145, #628347) + * Add ${misc:Depends} to Depends line of each packages + * Change build depending debhelper version to >= 7.0.0 (for lenny rebuilding) + * Remove needless .la file (closes: #622460) + * Bump Standards-Version to 3.9.2 + * Add copyright notice and BSD License phrases + * Fix manpage whatis entry + - debian/patches/090_man_whatis_entry.diff + * Add Vcs-* and Homepage tag to debian/control + + -- Taku YASUI Sun, 10 Jul 2011 15:47:53 +0900 + +mecab (0.97-1) unstable; urgency=low + + * New upstream. + + -- TSUCHIYA Masatoshi Thu, 03 Jul 2008 23:00:00 +0900 + +mecab (0.96-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add '90_gcc-4.3_support.diff' to fix FTBFS with GCC 4.3 (Closes: #461727) + * debian/control: + - Bump Standards-Version to 3.7.3. + - Use ${binary:Version} instead of ${Source-Version}. + + -- Chris Lamb Thu, 24 Apr 2008 18:15:55 +0100 + +mecab (0.96-1) unstable; urgency=low + + * New upstream. + + -- TSUCHIYA Masatoshi Sat, 15 Sep 2007 18:32:35 +0900 + +mecab (0.95-1.1) unstable; urgency=high + + * Non-maintainer upload for testing security team. + * Included 040_fix_CVE-2007-3231.patch to fix + CVE-2007-3231 (Closes: #429174). + + -- Nico Golde Thu, 16 Aug 2007 02:11:16 +0200 + +mecab (0.95-1) unstable; urgency=low + + * New upstream. + * Rebuild dictionaries if they exist. + + -- TSUCHIYA Masatoshi Sun, 25 Mar 2007 18:39:52 +0900 + +mecab (0.93-1) unstable; urgency=low + + * New upstream. (closes: #379646) + * Do not use bash-specifc syntax in debian/rules. (closes: #378306) + + -- TSUCHIYA Masatoshi Sat, 07 Oct 2006 17:34:18 +0900 + +mecab (0.80-2.2) unstable; urgency=low + + * Non-maintainer upload. + * libstdc++ allocator transition: renamed libmecab0c2 into libmecab0c2a + (closes: bug#339230). + * Update libtool at build time (closes: bug#342688). + + -- Aurelien Jarno Sat, 17 Dec 2005 15:04:52 +0100 + +mecab (0.80-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * C++ ABI transition (Closes: #335636). + + -- Luk Claes Wed, 26 Oct 2005 10:56:48 +0200 + +mecab (0.80-2) unstable; urgency=low + + * debian/patches/050_mecab-config.diff: Fix `dicdir'. (closes: #295780) + * Change the section of libmecab-dev from `devel' to `libdevel'. + + -- TSUCHIYA Masatoshi Wed, 06 Apr 2005 23:14:57 +0900 + +mecab (0.80-1) unstable; urgency=low + + * New upstream. + * Use CDBS instead of DBS. + * Insert meta tags to specify charsets. (closes: #233643) + + -- TSUCHIYA Masatoshi Fri, 12 Nov 2004 23:56:14 +0900 + +mecab (0.79-1) unstable; urgency=low + + * New upstream. + + -- TSUCHIYA Masatoshi Sun, 29 Aug 2004 17:21:05 +0900 + +mecab (0.78-1) unstable; urgency=low + + * New upstream. + + -- TSUCHIYA Masatoshi Tue, 22 Jun 2004 22:40:39 +0900 + +mecab (0.77-2) unstable; urgency=low + + * Improve documents. (closes: #232597) + + -- TSUCHIYA Masatoshi Mon, 05 Jan 2004 15:12:05 +0900 + +mecab (0.77-1) unstable; urgency=low + + * New upstream. + + -- TSUCHIYA Masatoshi Mon, 05 Jan 2004 15:12:05 +0900 + +mecab (0.76-2) unstable; urgency=low + + * Split `mecab-jumandic' package from this source package. + + -- TSUCHIYA Masatoshi Thu, 04 Dec 2003 22:31:14 +0900 + +mecab (0.76-1) unstable; urgency=low + + * Initial release. + + -- TSUCHIYA Masatoshi Tue, 11 Nov 2003 16:23:59 +0900 --- mecab-0.98.orig/debian/mecab.dirs +++ mecab-0.98/debian/mecab.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/share/doc/mecab +usr/share/man --- mecab-0.98.orig/debian/libmecab-dev.files +++ mecab-0.98/debian/libmecab-dev.files @@ -0,0 +1,4 @@ +usr/bin/mecab-config +usr/include/* +usr/lib/lib*.a +usr/lib/lib*.so --- mecab-0.98.orig/debian/mecab-utils.files +++ mecab-0.98/debian/mecab-utils.files @@ -0,0 +1 @@ +usr/lib/mecab/* --- mecab-0.98.orig/debian/mecab-config.1 +++ mecab-0.98/debian/mecab-config.1 @@ -0,0 +1,56 @@ +.TH MECAB-CONFIG "1" "Aug 15th, 2003" +.SH NAME +mecab-config \- Get command-line flags for building stuff using Mecab +.SH SYNOPSIS +.B mecab-config +[\fIOPTION\fR] ... +.SH DESCRIPTION +.B mecab-config +gives information about how +.I Mecab +is configured on your system, giving necessary command line options to +build your applications. +.PP +Known values for OPTION are: +.TP +\fB\-\-cxx\fR +print C++ compiler used to compile Mecab +.TP +\fB\-\-prefix\fR +print Mecab prefix +.TP +\fB\-\-exec\-prefix\fR +print Mecab executable prefix +.TP +\fB\-\-libs\fR +print library linking information +.TP +\fB\-\-cflags\fR +print preprocessor flags, I_opts, and compiler options +.TP +\fB\-\-dicdir\fR +print path to directory containing dictionaries +.TP +\fB\-\-libexecdir\fR +print path to directory containing helper executables +.TP +\fB\-\-libs-only-L\fR +print linker "-L" flags for dynamic linking +.TP +\fB\-\-libs-only-l\fR +print dynamic linker "-l" flags +.TP +\fB\-\-inc-dir\fR +print "-I" include options +.TP +\fB\-\-help\fR +print this help and exit +.TP +\fB\-\-version\fR +print version information +.br +.SH SEE ALSO +.BR mecab (1). +.SH AUTHOR +This manual page was written by TSUCHIYA Masatoshi , +for the Debian project (but may be used by others). --- mecab-0.98.orig/debian/control +++ mecab-0.98/debian/control @@ -0,0 +1,46 @@ +Source: mecab +Section: misc +Priority: optional +Maintainer: TSUCHIYA Masatoshi +Build-Depends: debhelper (>= 7.0.0), cdbs, libtool, automake, autoconf +Uploaders: Taku YASUI +Homepage: http://mecab.sourceforge.net/ +Vcs-Svn: svn://svn.debian.org/svn/collab-maint/deb-maint/mecab +Vcs-Browser: http://anonscm.debian.org/viewvc/collab-maint/deb-maint/mecab +Standards-Version: 3.9.2 + +Package: mecab +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, mecab-jumandic|mecab-ipadic +Description: Japanese morphological analysis system + Mecab is a morphological analysis system. It reads Japanese + sentences from the standard input, segments them into morpheme + sequences, and outputs them to the standard output with many + additional pieces of information (pronunciation, semantic + information, etc). + +Package: mecab-utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Support programs of Mecab + This package provides the dictionary compiler to convert a dictionary + written in text format to a binary data for Mecab, that is a Japanese + morphological analysis system. This package is necessary to install + dictionary packages for Mecab like mecab-jumandic. + +Package: libmecab1 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Libraries of Mecab + This package provides runtime libraries of Mecab, that is a Japanese + morphological analysis system. + +Package: libmecab-dev +Section: libdevel +Architecture: any +Depends: libmecab1 (= ${binary:Version}), ${misc:Depends} +Description: Header files of Mecab + This package provides header files which are necessary to development + programs using runtime libraries of Mecab, that is a Japanese + morphological analysis system. --- mecab-0.98.orig/debian/README.Debian +++ mecab-0.98/debian/README.Debian @@ -0,0 +1,18 @@ +Mecab for Debian +---------------- + +Mecab is a morphological analysys system. It can segment and tokenize +Japanese text string, and can output with many additional information +(pronunciation, semantic information, and others). It will print the +result of such an operation to the standard output, so that it can be +either written to a file or further processed. + +Two dictionary packages for Mecab are available: `mecab-jumandic' and +`mecab-ipadic'. To select a dictionary, (a) edit /etc/mecabrc, or (b) +execute the command `update-alternatives --config mecab-dictionary'. + +If you want to use UTF-8 when analyzing morphologicaly, +see `/usr/share/doc/mecab-jumandic/README.Debian' or +`/usr/share/doc/mecab-ipadic/README.Debian'. + + -- TSUCHIYA Masatoshi , Wed, 5 Dec 2007 11:58:14 +0900 --- mecab-0.98.orig/debian/mecab.postinst +++ mecab-0.98/debian/mecab.postinst @@ -0,0 +1,32 @@ +#! /bin/sh +# postinst script for mecab +# +# see: dh_installdeb(1) + +set -e + +reconfigure(){ + if ( dpkg --status ${1} 2>/dev/null|egrep -q "^Status: install ok installed" ); then + dpkg-reconfigure ${1} + fi +} + +case "$1" in + configure) + reconfigure mecab-ipadic + reconfigure mecab-jumandic + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- mecab-0.98.orig/debian/libmecab-dev.manpages +++ mecab-0.98/debian/libmecab-dev.manpages @@ -0,0 +1 @@ +debian/mecab-config.1 --- mecab-0.98.orig/debian/mecab.files +++ mecab-0.98/debian/mecab.files @@ -0,0 +1,2 @@ +usr/bin/mecab +usr/share/man/man1/* --- mecab-0.98.orig/debian/copyright +++ mecab-0.98/debian/copyright @@ -0,0 +1,41 @@ +This package was debianized by TSUCHIYA Masatoshi on +Wed, 31 Jul 2002 17:20:50 +0900. + +It was downloaded from http://mecab.sourceforge.net/ + +Copyright(C) 2001-2006 Taku Kudo +Copyright(C) 2004-2006 Nippon Telegraph and Telephone Corporation + +Copyright: + MeCab is copyrighted free software by Taku Kudo + and Nippon Telegraph and Telephone Corporation, and is released + under any of the GPL (see `/usr/share/common-licenses/GPL-2'), + the LGPL (see `/usr/share/common-licenses/LGPL-2.1'), or + the BSD License as follows. + +The BSD License: + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. Neither the name of the University nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + --- mecab-0.98.orig/debian/libmecab.files.in +++ mecab-0.98/debian/libmecab.files.in @@ -0,0 +1,2 @@ +etc/* +usr/lib/lib*.so.* --- mecab-0.98.orig/debian/mecab.docs +++ mecab-0.98/debian/mecab.docs @@ -0,0 +1,3 @@ +build-tree/mecab-*/doc/*.css +build-tree/mecab-*/doc/*.html +build-tree/mecab-*/doc/*.png --- mecab-0.98.orig/debian/patches/050_mecab-config.diff +++ mecab-0.98/debian/patches/050_mecab-config.diff @@ -0,0 +1,12 @@ +#DPATCHLEVEL=1 +--- mecab-0.93.orig/mecab-config.in 2006-03-09 04:19:35.000000000 +0900 ++++ mecab-0.93/mecab-config.in 2006-10-07 15:19:09.725655286 +0900 +@@ -107,7 +107,7 @@ + ;; + + --libexecdir) +- echo @prefix@/libexec/mecab ++ echo /usr/lib/mecab + ;; + + --sysconfdir) --- mecab-0.98.orig/debian/patches/090_man_whatis_entry.diff +++ mecab-0.98/debian/patches/090_man_whatis_entry.diff @@ -0,0 +1,11 @@ +--- man/mecab.1.orig 2011-07-10 15:34:24.552549899 +0900 ++++ man/mecab.1 2011-07-10 15:34:46.176884653 +0900 +@@ -1,7 +1,7 @@ + .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.23. + .TH MECAB "1" "March 2009" "mecab of 0.98pre1" MeCab + .SH NAME +-mecab \- manual page for mecab of 0.98pre1 ++mecab \- Yet Another Part-of-Speech and Morphological Analyzer + .SH SYNOPSIS + .B mecab + [\fIoptions\fR] \fIfiles\fR --- mecab-0.98.orig/debian/patches/030_mecabrc.diff +++ mecab-0.98/debian/patches/030_mecabrc.diff @@ -0,0 +1,12 @@ +#DPATCHLEVEL=1 +--- mecab-0.93/mecabrc.in~ 2006-10-07 15:10:46.512753644 +0900 ++++ mecab-0.93/mecabrc.in 2006-10-07 15:11:49.388866592 +0900 +@@ -3,7 +3,7 @@ + ; + ; $Id: mecabrc.in,v 1.3 2006/05/29 15:36:08 taku-ku Exp $; + ; +-dicdir = @prefix@/lib/mecab/dic/ipadic ++dicdir = /var/lib/mecab/dic/debian + + ; userdic = /home/foo/bar/user.dic +