--- search-citeseer-0.3.orig/debian/search-citeseer.dirs +++ search-citeseer-0.3/debian/search-citeseer.dirs @@ -0,0 +1,4 @@ +usr/bin +usr/share/emacs/site-lisp/search-citeseer/ +usr/share/man/man1 + --- search-citeseer-0.3.orig/debian/docs +++ search-citeseer-0.3/debian/docs @@ -0,0 +1 @@ +README --- search-citeseer-0.3.orig/debian/control +++ search-citeseer-0.3/debian/control @@ -0,0 +1,18 @@ +Source: search-citeseer +Section: tex +Priority: optional +Maintainer: Otavio Salvador +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: search-citeseer +Architecture: all +Depends: perl (>= 5.6.0-16), libwww-perl (>= 5.47-1) +Suggests: emacs21 | emacsen-common +Description: BibTeX search tool + Search-Citeseer is a Perl script that connects to Citeseer + (http://citeseer.nj.nec.com/cs), and performs a keyword search + query. The result is a set of BibTeX entries that matches the query. + . + If you use some emacsen application, this package will install the + search-citeseer.el script on it. --- search-citeseer-0.3.orig/debian/rules +++ search-citeseer-0.3/debian/rules @@ -0,0 +1,52 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +clean: + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp configure-stamp + + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + install -m 755 search-citeseer $(CURDIR)/debian/search-citeseer/usr/bin/search-citeseer + install -m 644 search-citeseer.el $(CURDIR)/debian/search-citeseer/usr/share/emacs/site-lisp/search-citeseer/ + +# dh_movefiles + +binary-arch: +build: +# empty! + +# Build architecture-independent files here. +# Pass -i to all debhelper commands in this target to reduce clutter. +binary-indep: build install + dh_testdir -i + dh_testroot -i + dh_installdocs -i + dh_installexamples -i + dh_installmenu -i + dh_installemacsen -i + dh_installman -i + dh_installinfo -i + dh_undocumented -i + dh_installchangelogs -i + dh_link -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i +# dh_perl -i debian/search-citeseer/usr/bin + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary: binary-indep +.PHONY: build clean install --- search-citeseer-0.3.orig/debian/watch +++ search-citeseer-0.3/debian/watch @@ -0,0 +1,6 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +version=2 +http://g3pd.ucpel.tche.br/~rreal/search-citeseer.html download/search-citeseer-(.*)\.tar\.gz debian uupdate --- search-citeseer-0.3.orig/debian/search-citeseer.emacsen-startup +++ search-citeseer-0.3/debian/search-citeseer.emacsen-startup @@ -0,0 +1,23 @@ +;; +;; /etc/emacs/site-start.d/50search-citeseer.el +;; +;; -*-emacs-lisp-*- +;; +;; Emacs startup file for the Debian GNU/Linux search-citeseer package +;; +;; Originally contributed by Nils Naumann +;; Modified by Dirk Eddelbuettel +;; Adapted for dh-make by Jim Van Zandt + +;; The search-citeseer 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/search-citeseer") load-path)) +(autoload 'search-citeseer "search-citeseer" + "Search tool for the Citeseer" t) + + --- search-citeseer-0.3.orig/debian/changelog +++ search-citeseer-0.3/debian/changelog @@ -0,0 +1,44 @@ +search-citeseer (0.3-1) unstable; urgency=low + + * New upstream release + - Merged packge to new format. + * Update watch file to use upstream webpage since the download directory + doesn't permit indexing. + + -- Otavio Salvador Wed, 2 Aug 2006 10:50:27 -0300 + +search-citeseer (0.2.1-2) unstable; urgency=low + + * Applied patch from Pietro Abate to update it + to new format. Closes: #380052. + * Move emacsen-common to suggestion. Closes: #380050. + * Bump Standards-Version to 3.7.2. No changes. + + -- Otavio Salvador Thu, 27 Jul 2006 11:51:58 -0300 + +search-citeseer (0.2.1-1) unstable; urgency=low + + * New upstream version + * debian/control: removed wrong tab character from description. + + -- Otavio Salvador Wed, 28 Apr 2004 17:21:50 -0300 + +search-citeseer (0.2-2) unstable; urgency=low + + * New revision since the package was uploaded like native package. + Sorry. + + -- Otavio Salvador Thu, 22 Apr 2004 14:42:31 -0300 + +search-citeseer (0.2-1) unstable; urgency=low + + * New upstream version + - Solve problem to find informations (Closes: #243852) + + -- Otavio Salvador Fri, 16 Apr 2004 13:01:28 -0300 + +search-citeseer (0.1-1) unstable; urgency=low + + * Initial Release. + + -- Otavio Salvador Tue, 18 Nov 2003 17:04:52 -0200 --- search-citeseer-0.3.orig/debian/search-citeseer.emacsen-remove +++ search-citeseer-0.3/debian/search-citeseer.emacsen-remove @@ -0,0 +1,15 @@ +#!/bin/sh -e +# /usr/lib/emacsen-common/packages/remove/search-citeseer + +FLAVOR=$1 +PACKAGE=search-citeseer + +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/search-citeseer.info.gz + fi + + echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR} + rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE} +fi --- search-citeseer-0.3.orig/debian/compat +++ search-citeseer-0.3/debian/compat @@ -0,0 +1 @@ +5 --- search-citeseer-0.3.orig/debian/search-citeseer.emacsen-install +++ search-citeseer-0.3/debian/search-citeseer.emacsen-install @@ -0,0 +1,45 @@ +#! /bin/sh -e +# /usr/lib/emacsen-common/packages/install/search-citeseer + +# Written by Jim Van Zandt , borrowing heavily +# from the install scripts for gettext by Santiago Vila +# and octave by Dirk Eddelbuettel . + +FLAVOR=$1 +PACKAGE=search-citeseer + +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 --- search-citeseer-0.3.orig/debian/copyright +++ search-citeseer-0.3/debian/copyright @@ -0,0 +1,26 @@ +This package was debianized by Otavio Salvador on +Sat, 4 Oct 2003 16:37:44 -0300. + +It was downloaded from http://www.inf.ufrgs.br/~rreal/ + +Upstream Author: Rodrigo Araujo Real + +Copyright: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package 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 the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- search-citeseer-0.3.orig/debian/search-citeseer.manpages +++ search-citeseer-0.3/debian/search-citeseer.manpages @@ -0,0 +1 @@ +search-citeseer.1