Update of /cvsroot/fink/experimental/beren12/finkinfo/net
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19014

Added Files:
        bittornado.info bittornado.patch 
Log Message:
New Package


--- NEW FILE: bittornado.patch ---
--- bittornado-0.3.10.orig/debian/control
+++ bittornado-0.3.10/debian/control
@@ -0,0 +1,55 @@
+Source: bittornado
+Section: net
+Priority: optional
+Maintainer: Micah Anderson <[EMAIL PROTECTED]>
+Build-Depends-Indep: debhelper (>> 4.1.67), python, python-dev (>= 2.1), 
python-dev (<< 2.4), dpatch
+Standards-Version: 3.6.1.0
+
+Package: bittornado
+Architecture: all
+Depends: ${python:Depends}
+Conflicts: bittorrent (<= 3.4.2-2)
+Replaces: bittorrent
+Suggests: bittornado-gui
+Recommends: mime-support
+Description: bittorrent client with enhanced curses interface
+ bittorrent is a tool for distributing files.  Whenever more than one
[...3549 lines suppressed...]
+.SH SEE ALSO
+.BR bittorrent-downloader (1),
+.BR btmakemetafile (1).
+.br
+.SH AUTHOR
+This manual page was written by Micah Anderson <[EMAIL PROTECTED]>,
+for the Debian GNU/Linux system (but may be used by others).
+
--- bittornado-0.3.10.orig/debian/README.Debian
+++ bittornado-0.3.10/debian/README.Debian
@@ -0,0 +1,9 @@
+
+bittornado
+----------
+
+If you want the gui componants of bittornado, install the package
+bittornado-gui.
+
+-- Micah Anderson <[EMAIL PROTECTED]> Wed Jun 16 18:04:55 CDT 2004
+

--- NEW FILE: bittornado.info ---
Package: bittornado
Version: 0.3.10
Revision: 10
Depends: python23
Source: http://www.bittornado.com/download/BitTornado-%v.tar.gz
Source-MD5: 356213bc5964377a21cd9c56cd130c0d
SourceDirectory: BitTornado-CVS
PatchScript: <<
  #!/bin/sh
  patch -p1 < %a/%n.patch
  for patch in $(ls debian/patches/*.dpatch); do
    patch -p1 < $patch
  done
  perl -pi -e 's|\#\!/usr/bin/env python|\#\!%p/bin/python2.3|' *.py
<<
CompileScript: apt-get moo || true
InstallScript: <<
  python2.3 ./setup.py install --prefix=%i
  install -d %i/share/mimelnk/application
  install -D -m644 debian/bittornado.desktop 
%i/share/applications/bittornado.desktop
  install -D -m644 debian/bittornado.xpm %i/share/pixmaps/bittornado.xpm
  chmod 755 %i/lib/python2.3/site-packages/BitTornado/launchmanycore.py
  cp %i/bin/btmakemetafile.py %i/lib/python2.3/site-packages/BitTornado
  cp %i/bin/btcompletedir.py %i/lib/python2.3/site-packages/BitTornado

  # Remove the .py from the end of each of these and add .bittornado
  # so that the alternatives system can work
  ( cd %i/bin && \
    for i in btdownloadgui btdownloadheadless bttrack btmakemetafile \
       btlaunchmany btcompletedir btcompletedirgui \
       btdownloadcurses btlaunchmanycurses btreannounce btrename \
       btshowmetainfo; \
    do mv $i.py $i.bittornado; done )

  # Remove the .py from the end of each of these, the following are not
  # included in bittorrent, so they are not renamed to having the
  # suffix of .bittornado
  ( cd %i/bin && \
    for i in btcopyannounce btsethttpseeds btmaketorrentgui; \
    do mv $i.py $i; done )

  # Install manpages
  mkdir -p %i/share/man/man1
  cp debian/*.1 %i/share/man/man1
<<
DocFiles: LICENSE.txt MANIFEST.in README.txt ipranges.portugal.txt docs/FAQ.txt 
docs/IMPORTANT-multitracker-readme.txt docs/README-Psyco.txt docs/credits.txt 
docs/multitracker-spec.txt docs/webseed-spec.txt debian/NEWS 
debian/README.Debian debian/changelog
Description: bittorrent client with enhanced curses interface
DescDetail: <<
  bittorrent is a tool for distributing files.  Whenever more than one
  person is downloading at once they send pieces of the file(s) to each
  other, thus relieving the central server's bandwidth burden. Even with
  many simultaneous downloads, the upload burden on the central server
  remains quite small, since each new downloader introduces new upload
  capacity.

  BitTornado is the next generation bittorrent client built on
  the original BitTorrent. This client features an enhanced
  console/curses mode, lots of new features under the hood, and is
  generally one of the most advanced clients out there. Get this if you
  need to limit your bandwidth, or you want more control of your
  torrents. It does everything the original bittorrent does, plus more...

  This package only contains the curses interfaces, install the package
  bittornado-gui to get the GUI components
<<

Splitoff: <<
  Package: %N-gui
  Depends: wxpython-py23
  Files: bin/*gui* share/icons/bittornado/* share/man/man1/*gui* share/pixmaps 
share/man/man1/*gui*.1
  DocFiles: LICENSE.txt MANIFEST.in README.txt ipranges.portugal.txt 
docs/FAQ.txt docs/IMPORTANT-multitracker-readme.txt docs/README-Psyco.txt 
docs/credits.txt docs/multitracker-spec.txt docs/webseed-spec.txt debian/NEWS 
debian/README.Debian debian/changelog

  PostInstScript: <<
    # postinst script for bittorrent
    set -e
      for i in btcompletedirgui btdownloadgui ; do
        update-alternatives \
          --install %p/bin/$i $i %p/bin/$i.bittornado 120 \
          --slave %p/share/man/man1/$i.1.gz $i.1.gz 
%p/share/man/man1/$i.bittornado.1.gz
      done
    ;;
    abort-upgrade|abort-remove|abort-deconfigure)
        for i in btcompletedirgui btdownloadgui ; do
                update-alternatives \
                --install %p/bin/$i $i %p/bin/$i.bittornado 120 \
                --slave %p/share/man/man1/$i.1.gz $i.1.gz 
%p/share/man/man1/$i.bittornado.1.gz
        done
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
  esac
  exit 0
  <<
  PreRmScript: <<
  PACKAGE="bittornado"

dpkg --listfiles $PACKAGE |
        awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
        xargs rm -f >&2

case "$1" in
    remove|upgrade|deconfigure)
        for i in btcompletedirgui btdownloadgui ; do
                update-alternatives --remove $i %p/bin/$i.bittornado
        done
        ;;
    failed-upgrade)
        ;;
    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac
exit 0
  <<
<<

DescPort: <<
Get the debian patch, apply and then make changes specific to fink 
(@FINKPREFIX@)
Helpful to keep a diff from clean source+debian patches -> final diff
<<

PostInstScript: <<
  case "$1" in
    configure)

        # Run the mimetypes program to add mimetypes into Netscape.
        if [ -e /etc/init.d/mimetypes ]; then
                /etc/init.d/mimetypes
        fi

        for i in btcompletedir btdownloadcurses btdownloadheadless btlaunchmany 
btlaunchmanycurses btmakemetafile btreannounce btrename btshowmetainfo bttrack 
; do
                  update-alternatives \
                  --install %p/bin/$i $i %p/bin/$i.bittornado 120 \
                  --slave %p/share/man/man1/$i.1.gz $i.1.gz 
%p/share/man/man1/$i.bittornado.1.gz
    done
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
        for i in btcompletedir btcompletedirgui btdownloadcurses btdownloadgui 
btdownloadheadless btlaunchmany btlaunchmanycurses btmakemetafile btreannounce 
btrename btshowmetainfo bttrack ; do

                  update-alternatives \
                  --install %p/bin/$i $i %p/bin/$i.bittornado 120 \
                  --slave %p/share/man/man1/$i.1.gz $i.1.gz 
%p/share/man/man1/$i.bittornado.1.gz
    done
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac
exit 0
<<

PreRmScript: <<
  PACKAGE="bittornado"

dpkg --listfiles $PACKAGE |
        awk '$0~/\.py$/ {print $0"c\n" $0"o"}' |
        xargs rm -f >&2

case "$1" in
    remove|upgrade|deconfigure)
        for i in btcompletedir btcompletedirgui btdownloadcurses btdownloadgui 
btdownloadheadless btlaunchmany btlaunchmanycurses btmakemetafile btreannounce 
btrename btshowmetainfo bttrack ; do

                update-alternatives --remove $i %p/bin/$i.bittornado
        done

        ;;
    failed-upgrade)
        ;;
    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac
exit 0
<<
License: MIT
Maintainer: Chris Zubrzycki <[EMAIL PROTECTED]>
Homepage: http://www.bittornado.com/



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to