--- canna-shion-0.0.20010204.orig/Makefile +++ canna-shion-0.0.20010204/Makefile @@ -8,6 +8,7 @@ clean: rm -f *~ + rm -f *.cbd *.cld install: install -m 644 ${DICS} ${DESTDIR}/var/lib/canna/dic/canna --- canna-shion-0.0.20010204.orig/debian/dirs +++ canna-shion-0.0.20010204/debian/dirs @@ -0,0 +1,2 @@ +var/lib/canna/dic/canna +etc/canna/dics.dir.d --- canna-shion-0.0.20010204.orig/debian/docs +++ canna-shion-0.0.20010204/debian/docs @@ -0,0 +1,2 @@ +COPYRIGHT +README --- canna-shion-0.0.20010204.orig/debian/control +++ canna-shion-0.0.20010204/debian/control @@ -0,0 +1,16 @@ +Source: canna-shion +Section: utils +Priority: optional +Maintainer: Yoshito Komatsu +Build-Depends-Indep: debhelper (>> 4.0.0), canna +Standards-Version: 3.6.2.0 + +Package: canna-shion +Architecture: all +Depends: canna (>= 3.5b2-40) +Conflicts: shion +Replaces: shion +Description: supporting dictionaries for Canna + Shion is a set of dictionaries supporting Canna. + It has much more words than original dictionaries of Canna + and it makes Canna more intelligent. --- canna-shion-0.0.20010204.orig/debian/prerm +++ canna-shion-0.0.20010204/debian/prerm @@ -0,0 +1,46 @@ +#! /bin/sh +# prerm script for canna-shion +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + remove|upgrade|deconfigure) +# install-info --quiet --remove /usr/info/canna-shion.info.gz + rm -f /etc/canna/dics.dir.d/shion.dics.dir + /usr/sbin/update-canna-dics_dir + if test -e /tmp/.iroha_unix/IROHA; then + if which invoke-rc.d > /dev/null 2>&1; then + invoke-rc.d canna restart + else + /etc/init.d/canna restart + fi + fi + ;; + failed-upgrade) + ;; + *) + echo "prerm called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- canna-shion-0.0.20010204.orig/debian/rules +++ canna-shion-0.0.20010204/debian/rules @@ -0,0 +1,84 @@ +#!/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 + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/canna-shion.sgml > canna-shion.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/canna-shion. + $(MAKE) install DESTDIR=$(CURDIR)/debian/canna-shion + + cp -f debian/shion.dics.dir.off \ + debian/canna-shion/etc/canna/dics.dir.d/ + + +# 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_installdebconf + dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installman +# dh_installinfo +# dh_undocumented + dh_installchangelogs + dh_link +# dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- canna-shion-0.0.20010204.orig/debian/shion.dics.dir.off +++ canna-shion-0.0.20010204/debian/shion.dics.dir.off @@ -0,0 +1,10 @@ +basho.cbd(basho.mwd) -basho--- +keisan.cbd(keisan.mwd) -keisan--- +pub.cbd(pub.mwd) -pub--- +scien.cbd(scien.mwd) -scien--- +sup.cbd(sup.mwd) -sup--- +basho.cld(basho.mwd) -basho--- +keisan.cld(keisan.mwd) -keisan--- +pub.cld(pub.mwd) -pub--- +scien.cld(scien.mwd) -scien--- +sup.cld(sup.mwd) -sup--- --- canna-shion-0.0.20010204.orig/debian/changelog +++ canna-shion-0.0.20010204/debian/changelog @@ -0,0 +1,35 @@ +canna-shion (0.0.20010204-5) unstable; urgency=low + + * Update Standards-Version to 3.6.2.0. + * Use invoke-rc.d, closes: #367736 + + -- Yoshito Komatsu Wed, 17 May 2006 23:11:08 -0400 + +canna-shion (0.0.20010204-4) unstable; urgency=low + + * Update Standards-Version to 3.5.9.0. + * Update debhelper compatible version to 4. + + -- Yoshito Komatsu Thu, 17 Apr 2003 20:23:38 +0900 + +canna-shion (0.0.20010204-3) unstable; urgency=low + + * Modify Build-Depends, closes: #134467 + + -- Yoshito Komatsu Mon, 18 Feb 2002 15:15:44 +0900 + +canna-shion (0.0.20010204-2) unstable; urgency=low + + * Modify postinst and prerm methods. + + -- Yoshito Komatsu Thu, 24 Jan 2002 16:23:06 +0900 + +canna-shion (0.0.20010204-1) unstable; urgency=low + + * Initial Release for debian.org. closes: #113681 + + -- Yoshito Komatsu Thu, 27 Sep 2001 18:36:36 +0900 + +Local variables: +mode: debian-changelog +End: --- canna-shion-0.0.20010204.orig/debian/postinst +++ canna-shion-0.0.20010204/debian/postinst @@ -0,0 +1,56 @@ +#! /bin/sh +# postinst script for canna-shion +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# for details, see /usr/share/doc/packaging-manual/ +# +# quoting from the policy: +# Any necessary prompting should almost always be confined to the +# post-installation script, and should be protected with a conditional +# so that unnecessary prompting doesn't happen if a package's +# installation fails and the `postinst' is called with `abort-upgrade', +# `abort-remove' or `abort-deconfigure'. + +case "$1" in + configure) + cp -f /etc/canna/dics.dir.d/shion.dics.dir.off \ + /etc/canna/dics.dir.d/shion.dics.dir + /usr/sbin/update-canna-dics_dir + if test -e /tmp/.iroha_unix/IROHA; then + if which invoke-rc.d > /dev/null 2>&1; then + invoke-rc.d canna restart + else + /etc/init.d/canna restart + fi + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 + + --- canna-shion-0.0.20010204.orig/debian/compat +++ canna-shion-0.0.20010204/debian/compat @@ -0,0 +1 @@ +4 --- canna-shion-0.0.20010204.orig/debian/README.Debian +++ canna-shion-0.0.20010204/debian/README.Debian @@ -0,0 +1,7 @@ +canna-shion for Debian +---------------------- + +To use Shion, you should add the entry of Shion to your .canna file. +Please see /usr/share/doc/canna-shion/README.gz file. + + -- Yoshito Komatsu , Thu, 27 Sep 2001 18:36:36 +0900 --- canna-shion-0.0.20010204.orig/debian/copyright +++ canna-shion-0.0.20010204/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by Yoshito Komatsu on +Thu, 27 Sep 2001 18:36:36 +0900. + +It was downloaded from http://www.coolbrain.net/shion.html + +Upstream Author: lain + +Copyright: 2000 DISTORTION in the SHELL, by lain + + You are free to redistibute it and/or modify it.