debian/0000755000000000000000000000000012144277460007175 5ustar debian/mecab-naist-jdic-eucjp.prerm0000644000000000000000000000222412133371415014433 0ustar #!/bin/sh # prerm script for mecab-naist-jdic-eucjp # # see: dh_installdeb(1) set -e srcdir=${dictdir}-eucjp destdir=/var/lib/mecab/dic/naist-jdic-eucjp remove_mecabfiles() { if [ -d $destdir ]; then rm -f $destdir/* fi } # summary of how this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove) update-alternatives --remove mecab-dictionary ${destdir} remove_mecabfiles ;; upgrade|deconfigure) remove_mecabfiles ;; failed-upgrade) ;; *) echo "prerm 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 debian/mecab-naist-jdic.preinst0000644000000000000000000000152112133371415013665 0ustar #!/bin/sh # preinst script for mecab-naist-jdic # # see: dh_installdeb(1) set -e destdir="/var/lib/mecab/dic/naist-jdic" remove_symlinks() { if [ -d $destdir ]; then rm -f $destdir/* fi } # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in install|upgrade) remove_symlinks ;; abort-upgrade) ;; *) echo "preinst 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 debian/copyright0000644000000000000000000000651612133371415011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: mecab-naist-jdic Upstream-Contact: Masayuki Asahara Source: http://sourceforge.jp/projects/naist-jdic/ Files: * Copyright: 2009-2011, Nara Institute of Science and Technology, Japan. License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. * Neither the name of the Nara Institute of Science and Technology (NAIST) 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 COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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. Files: debian/* Copyright: 2009-2013, Hideki Yamane License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. * Neither the name of the Nara Institute of Science and Technology (NAIST) 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 COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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. debian/compat0000644000000000000000000000000212133371415010364 0ustar 9 debian/control0000644000000000000000000000335612133371415010600 0ustar Source: mecab-naist-jdic Section: misc Priority: optional Build-Depends: debhelper (>= 9.20120518~), autotools-dev Build-Depends-Indep: autoconf, automake, mecab-utils (>= 0.93), libmecab-dev Maintainer: Natural Language Processing, Japanese Uploaders: Hideki Yamane Standards-Version: 3.9.4 Vcs-Git: git://git.debian.org/pkg-nlp-ja/mecab-naist-jdic.git Vcs-Browser: http://git.debian.org/?p=pkg-nlp-ja/mecab-naist-jdic.git;a=summary Homepage: http://sourceforge.jp/projects/naist-jdic/ Package: mecab-naist-jdic Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, mecab-utils (>= 0.93), mecab-naist-jdic-eucjp (= ${source:Version}) Description: free Japanese Dictionaries for mecab (replacement of mecab-ipadic) NAIST Japanese Dictionary is a Dictionary for MeCab, Japanese morphological analysis implementation. . This is based on mecab-ipadic, however it is released under BSD style license now by NAIST (Nara Institute of Science and Technology, Japan), so it is free and can replace mecab-ipadic-utf8. . This is empty package and generates UTF-8 data from mecab-naist-jdic-eucjp with its installation. Package: mecab-naist-jdic-eucjp Architecture: all Pre-Depends: dpkg (>= 1.15.6~) Depends: ${misc:Depends}, mecab-utils (>= 0.93) Description: free Japanese Dictionaries for mecab (replacement of mecab-ipadic) in EUC-JP NAIST Japanese Dictionary is a Dictionary for MeCab, Japanese morphological analysis implementation. . This is based on mecab-ipadic, however it is released under BSD style license now by NAIST (Nara Institute of Science and Technology, Japan), so it is free and can replace mecab-ipadic. . This package provides EUC-JP data, not UTF-8. debian/changelog0000644000000000000000000000633712144277460011060 0ustar mecab-naist-jdic (0.6.3.b-20111013-5) unstable; urgency=low * Upload to unstable -- Hideki Yamane Tue, 14 May 2013 09:02:38 +0900 mecab-naist-jdic (0.6.3.b-20111013-4) experimental; urgency=low * debian/control - bump up "Build-Depends: debhelper (>= 9.20120518~) to use xz option - add "Pre-Depends: dpkg (>= 1.15.6~)" - set "Standards-Version: 3.9.4" - add Vcs-* filed, now it's under pkg-nlp-ja. - set Maintainer as pkg-nlp-ja and add Uploaders me. * debian/compat - set 9 * debian/rules - convert to dh style - install NEWS as upstream changelog (Closes: #675499) * debian/docs - wrong Mecab upstream URL information, so remove it * debian/copyright - convert to copyright format1.0 -- Hideki Yamane Sun, 24 Mar 2013 13:31:53 +0900 mecab-naist-jdic (0.6.3.b-20111013-3) unstable; urgency=low * debian/rules - add compress option -- Hideki Yamane Fri, 01 Jun 2012 08:41:46 +0900 mecab-naist-jdic (0.6.3.b-20111013-2) unstable; urgency=low * debian/control - set "Standards-Version: 3.9.3" - set "Build-Depends: debhelper (>= 7.0.50~)" * debian/rules - compress with xz -- Hideki Yamane Tue, 29 May 2012 07:34:39 +0900 mecab-naist-jdic (0.6.3.b-20111013-1) unstable; urgency=low * New upstream release - merged by upstream (Closes: #636056) Thanks to Osamu Aoki * debian/watch - update to deal with upstream versioning -- Hideki Yamane Sun, 16 Oct 2011 06:46:32 +0900 mecab-naist-jdic (0.6.3-20100801-2) unstable; urgency=low * debian/patches - remove unnecessary patch * debian/control - set Standards-Version: 3.9.2 -- Hideki Yamane Fri, 03 Jun 2011 22:26:10 +0900 mecab-naist-jdic (0.6.3-20100801-1) unstable; urgency=low * New upstream release * debian/control - Bump up "Standards-Version: 3.9.1" - update my address and remove DM stuff. - change description to fix lintian "empty-binary-package" warning * source format 3.0 (quilt) -- Hideki Yamane Sun, 01 Aug 2010 15:22:29 -0400 mecab-naist-jdic (0.6.2-20100208-2) unstable; urgency=low * It's in repository now, closing ITP (Closes: #491986) * debian/watch - remove unnecessary uversionmangle pattern -- Hideki Yamane (Debian-JP) Wed, 10 Mar 2010 16:53:04 +0900 mecab-naist-jdic (0.6.2-20100208-1) unstable; urgency=low * New upstream release -- Hideki Yamane (Debian-JP) Sun, 07 Feb 2010 23:22:42 +0900 mecab-naist-jdic (0.6.2-20100208~pre2-1) unstable; urgency=low * New upstream release * debian/watch: - fix it to work -- Hideki Yamane (Debian-JP) Wed, 03 Feb 2010 02:03:31 +0900 mecab-naist-jdic (0.6.2-20100208~pre1-1) unstable; urgency=low * New upstream release * debian/control: - set "Standards-Version: 3.8.4" with no change. -- Hideki Yamane (Debian-JP) Sat, 30 Jan 2010 23:28:18 +0900 mecab-naist-jdic (0.6.1-20090630-1) unstable; urgency=low * Initial release -- Hideki Yamane (Debian-JP) Sat, 07 Nov 2009 18:07:49 +0900 debian/mecab-naist-jdic.prerm0000644000000000000000000000215312133371415013330 0ustar #!/bin/sh # prerm script for mecab-naist-jdic # # see: dh_installdeb(1) set -e destdir=/var/lib/mecab/dic/naist-jdic remove_mecabfiles() { if [ -d $destdir ]; then rm -f $destdir/* fi } # summary of how this script can be called: # * `remove' # * `upgrade' # * `failed-upgrade' # * `remove' `in-favour' # * `deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in remove) update-alternatives --remove mecab-dictionary ${destdir} remove_mecabfiles ;; upgrade|deconfigure) remove_mecabfiles ;; failed-upgrade) ;; *) echo "prerm 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 debian/mecab-naist-jdic.postinst0000644000000000000000000000200212133371415014057 0ustar #!/bin/sh # postinst script for mecab-naist-jdic # # see: dh_installdeb(1) set -e priority="100" srcdir="/usr/share/mecab/dic/naist-jdic-eucjp" destdir="/var/lib/mecab/dic/naist-jdic" encoding="UTF-8" gendictdata() { echo "Now generating naist-jdic data for Mecab. This may take a while..." [ -d "${srcdir}" ] && [ -d "${destdir}" ] || exit 1 /usr/lib/mecab/mecab-dict-index -d "${srcdir}" -o "${destdir}" \ -f EUC-JP -t "${encoding}" sed -e s/EUC-JP/$encoding/ "${destdir}"-eucjp/dicrc >"${destdir}"/dicrc echo "Check ${destdir} directory." } case "$1" in configure) gendictdata update-alternatives \ --install /var/lib/mecab/dic/debian mecab-dictionary "${destdir}" "${priority}" ;; 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 debian/watch0000644000000000000000000000053512133371415010222 0ustar version=3 opts="downloadurlmangle=s/sourceforge/iij.dl.sourceforge/;s/downloads\///;s/projects\///;s/gz\//gz/,\ uversionmangle=s/-beta/~beta/;s/-rc/~rc/;s/-preview/~preview/;s/-pre/~pre/;s/a/.a/;s/b/.b/;s/c/.c/" \ http://sourceforge.jp/projects/naist-jdic/files/ \ /projects/naist-jdic/downloads/.*/mecab-naist-jdic-(.*)\.tar.gz/ debian uupdate debian/mecab-naist-jdic-eucjp.dirs0000644000000000000000000000011012133371415014237 0ustar usr/share/mecab/dic/naist-jdic-eucjp var/lib/mecab/dic/naist-jdic-eucjp debian/mecab-naist-jdic-eucjp.postinst0000644000000000000000000000176312133371415015200 0ustar #!/bin/sh # postinst script for mecab-naist-jdic-eucjp # # see: dh_installdeb(1) set -e priority="90" srcdir="/usr/share/mecab/dic/naist-jdic-eucjp" destdir="/var/lib/mecab/dic/naist-jdic-eucjp" encoding="EUC-JP" gendictdata() { echo "Now generating naist-jdic data for Mecab. This may take a while..." [ -d ${srcdir} ] && [ -d ${destdir} ] || exit 1 /usr/lib/mecab/mecab-dict-index -d ${srcdir} -o ${destdir} \ -f EUC-JP -t ${encoding} [ -s ${destdir}/dicrc ] || ln -s ${srcdir}/dicrc ${destdir} echo "Check ${destdir} directory." } case "$1" in configure) gendictdata update-alternatives \ --install /var/lib/mecab/dic/debian mecab-dictionary ${destdir} ${priority} ;; 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 debian/source/0000755000000000000000000000000012133371415010466 5ustar debian/source/format0000644000000000000000000000001412133371415011674 0ustar 3.0 (quilt) debian/mecab-naist-jdic.dirs0000644000000000000000000000003512133371415013141 0ustar var/lib/mecab/dic/naist-jdic debian/mecab-naist-jdic-eucjp.preinst0000644000000000000000000000153412133371415014775 0ustar #!/bin/sh # preinst script for mecab-naist-jdic-eucjp # # see: dh_installdeb(1) set -e destdir="/var/lib/mecab/dic/naist-jdic-eucjp" remove_symlinks() { if [ -d $destdir ]; then rm -f $destdir/* fi } # summary of how this script can be called: # * `install' # * `install' # * `upgrade' # * `abort-upgrade' # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package case "$1" in install|upgrade) remove_symlinks ;; abort-upgrade) ;; *) echo "preinst 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 debian/mecab-naist-jdic-eucjp.install0000644000000000000000000000004512133371415014753 0ustar usr/share/mecab/dic/naist-jdic-eucjp debian/rules0000755000000000000000000000122012133371415010241 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 CONFIGURE_OPTS = --prefix=/usr --with-dicdir=/usr/share/mecab/dic/naist-jdic-eucjp %: dh $@ override_dh_clean: -rm $(CURDIR)/{config.log,config.status,*.dic,*.bin,ChangeLog.orig} dh_clean override_dh_auto_configure: dh_auto_configure -- $(CONFIGURE_OPTS) override_dh_install: dh_install -i mv $(CURDIR)/ChangeLog $(CURDIR)/ChangeLog.orig rm $(CURDIR)/debian/tmp/usr/share/mecab/dic/naist-jdic-eucjp/*.dic rm -r $(CURDIR)/debian/tmp/etc/mecab/dic override_dh_installchangelogs: dh_installchangelogs NEWS override_dh_builddeb: dh_builddeb -- -Zxz -Sextreme