--- oneliner-el-0.2.0.orig/debian/README.Debian +++ oneliner-el-0.2.0/debian/README.Debian @@ -0,0 +1,6 @@ +oneliner-el for Debian +------------------- + +oneliner-el has only Japanese document, except README. + + -- OHURA Makoto , Wed, 21 Nov 2001 17:31:56 +0900 --- oneliner-el-0.2.0.orig/debian/changelog +++ oneliner-el-0.2.0/debian/changelog @@ -0,0 +1,15 @@ +oneliner-el (0.2.0-2) unstable; urgency=low + + * Change Architecture in control from any to all. + + -- OHURA Makoto Sun, 25 Nov 2001 12:59:26 +0900 + +oneliner-el (0.2.0-1) unstable; urgency=low + + * Initial Release. + + -- OHURA Makoto Wed, 21 Nov 2001 17:31:56 +0900 + +Local variables: +mode: debian-changelog +End: --- oneliner-el-0.2.0.orig/debian/emacsen-install +++ oneliner-el-0.2.0/debian/emacsen-install @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/oneliner + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=oneliner-el + +if [ ${FLAVOR} = emacs ]; then exit 0; fi + +echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR} + +FLAVORTEST=`echo $FLAVOR | cut -c-6` +if [ ${FLAVORTEST} = xemacs ] ; then + SITEFLAG="-no-site-file" +else + SITEFLAG="--no-site-file" +fi +FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile" + +ELDIR=/usr/share/emacs/site-lisp/${PACKAGE} +ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE} + +# Install-info-altdir does not actually exist. +# Maybe somebody will write it. +if test -x /usr/sbin/install-info-altdir; then + echo install/${PACKAGE}: install Info links for ${FLAVOR} + install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz +fi + +install -m 755 -d ${ELCDIR} +cd ${ELDIR} +FILES=`echo *.el` +cp ${FILES} ${ELCDIR} +cd ${ELCDIR} + +cat << EOF > path.el +(setq load-path (cons "." load-path) byte-compile-warnings nil) +EOF +${FLAVOR} ${FLAGS} ${FILES} +rm -f *.el path.el + +exit 0 --- oneliner-el-0.2.0.orig/debian/postinst +++ oneliner-el-0.2.0/debian/postinst @@ -0,0 +1,47 @@ +#! /bin/sh +# postinst script for oneliner-el +# +# 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) + + ;; + + 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 + + --- oneliner-el-0.2.0.orig/debian/dirs +++ oneliner-el-0.2.0/debian/dirs @@ -0,0 +1 @@ +usr/share/emacs/site-lisp/oneliner-el --- oneliner-el-0.2.0.orig/debian/emacsen-remove +++ oneliner-el-0.2.0/debian/emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/oneliner + +FLAVOR=$1 +PACKAGE=oneliner-el + +if [ ${FLAVOR} != emacs ]; then + if test -x /usr/sbin/install-info-altdir; then + echo remove/${PACKAGE}: removing Info links for ${FLAVOR} + install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/oneliner.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- oneliner-el-0.2.0.orig/debian/emacsen-startup +++ oneliner-el-0.2.0/debian/emacsen-startup @@ -0,0 +1,18 @@ +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian GNU/Linux oneliner-el package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The oneliner package follows the Debian/GNU Linux 'emacsen' policy and +;; byte-compiles its elisp files for each 'emacs flavor' (emacs19, +;; xemacs19, emacs20, xemacs20...). The compiled code is then +;; installed in a subdirectory of the respective site-lisp directory. +;; We have to add this to the load-path: +(setq load-path (cons (concat "/usr/share/" + (symbol-name flavor) + "/site-lisp/oneliner-el") load-path)) + + --- oneliner-el-0.2.0.orig/debian/postrm +++ oneliner-el-0.2.0/debian/postrm @@ -0,0 +1,36 @@ +#! /bin/sh +# postrm script for oneliner-el +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `remove' +# * `purge' +# * `upgrade' +# * `failed-upgrade' +# * `abort-install' +# * `abort-install' +# * `abort-upgrade' +# * `disappear' overwrit>r> +# for details, see /usr/share/doc/packaging-manual/ + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 0 + +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + + --- oneliner-el-0.2.0.orig/debian/preinst +++ oneliner-el-0.2.0/debian/preinst @@ -0,0 +1,42 @@ +#! /bin/sh +# preinst script for oneliner-el +# +# see: dh_installdeb(1) + +set -e + +# summary of how this script can be called: +# * `install' +# * `install' +# * `upgrade' +# * `abort-upgrade' +# +# For details see /usr/share/doc/packaging-manual/ + +case "$1" in + install|upgrade) +# if [ "$1" = "upgrade" ] +# then +# start-stop-daemon --stop --quiet --oknodo \ +# --pidfile /var/run/oneliner.pid \ +# --exec /usr/sbin/oneliner 2>/dev/null || true +# fi + ;; + + abort-upgrade) + ;; + + *) + echo "preinst 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 + + --- oneliner-el-0.2.0.orig/debian/prerm +++ oneliner-el-0.2.0/debian/prerm @@ -0,0 +1,37 @@ +#! /bin/sh +# prerm script for oneliner-el +# +# 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/oneliner.info.gz + ;; + 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 + + --- oneliner-el-0.2.0.orig/debian/rules +++ oneliner-el-0.2.0/debian/rules @@ -0,0 +1,87 @@ +#!/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 + +# This is the debhelper compatability version to use. +export DH_COMPAT=3 + +SITELISP=usr/share/emacs/site-lisp + +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) + $(MAKE) jinfo + #/usr/bin/docbook-to-man debian/oneliner-el.sgml > oneliner-el.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/oneliner. +# $(MAKE) install DESTDIR=$(CURDIR)/debian/oneliner + cp oneliner.el $(CURDIR)/debian/oneliner-el/$(SITELISP)/oneliner-el + +# 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 --- oneliner-el-0.2.0.orig/debian/control +++ oneliner-el-0.2.0/debian/control @@ -0,0 +1,17 @@ +Source: oneliner-el +Section: editors +Priority: optional +Maintainer: OHURA Makoto +Build-Depends: debhelper (>> 3.0.0) +Standards-Version: 3.5.2 + +Package: oneliner-el +Architecture: all +Depends: ${shlibs:Depends} +Description: Hooks of Emacs standard shell-mode + Oneliner provides nice extentions for UNIX shell masters. + . + You can connect command input/output to/from Emacs buffer with easy + operation. You can sync directory-value between shell-mode and shell + process. Oneliner gives you notice with beep when command execution was + complete. Oneliner handles control codes. --- oneliner-el-0.2.0.orig/debian/copyright +++ oneliner-el-0.2.0/debian/copyright @@ -0,0 +1,10 @@ +This package was debianized by OHURA Makoto on +Wed, 21 Nov 2001 17:31:56 +0900. + +It was downloaded from http://oneliner-elisp.sourceforge.net/ + +Upstream Author(s): Kiyoka Nishiyama + +Copyright: + +GPL2 --- oneliner-el-0.2.0.orig/debian/docs +++ oneliner-el-0.2.0/debian/docs @@ -0,0 +1,3 @@ +README +README.ja +TODO --- oneliner-el-0.2.0.orig/debian/info +++ oneliner-el-0.2.0/debian/info @@ -0,0 +1 @@ +info/oneliner.jis.info