Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > b18b2c84fd008bff516a7b4e8e012dd3 > files > 2

torrentutils-0.3.0-2mdk.src.rpm

%define name torrentutils
%define version 0.3.0
%define release 2mdk

Summary: Utilities for BitTorrent files
Name: %{name}
Version: %{version}
Release: %{release}
Source0: http://www.student.lu.se/~nbi98oli/src/%{name}-%{version}.tar.bz2
URL: http://www.student.lu.se/~nbi98oli/torrentutils.html
License: GPL or Artistic
Group: Networking/File transfer
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildArch: noarch
BuildRequires: perl

%description
The torrentutils are a set of utilities for managing BitTorrent
(`.torrent') files and interactiving with BitTorrent trackers. The
torrentutils contain the following programs:

torrenttool is a script that extracts and displays information from
BitTorrent files, as well as testing and generating checksums for
files listed in them.

defrag is a script that defrags files simply by making a copy of the
file. The original file is then replaced by the copy. Due to the fact
that BitTorrent splits files in pieces, and downloads these pieces in
random order, the downloaded files are often severely fragmented. This
means that reading these files will be slower, sometimes as much as
30% slower. defrag can also recurse directories.

torrentmcfs is a read-only virtual file system for Midnight Commander
that can be used to easier access the information in a BitTorrent
file.

%prep
%setup -q

%build

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall PREFIX=%buildroot%_prefix

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc NEWS README COPYING*
%_bindir/torrenttool
%_bindir/defrag
%_mandir/man1/torrenttool.1*
%_mandir/man1/defrag.1*
%_datadir/mc/extfs/torrentmcfs

%changelog
* Fri Nov  5 2004 Götz Waschk <waschk@linux-mandrake.com> 0.3.0-2mdk
- rebuild

* Sun Oct 12 2003 Götz Waschk <waschk@linux-mandrake.com> 0.3.0-1mdk
- add the torrentmcfs
- update description
- new version

* Wed Oct  8 2003 Götz Waschk <waschk@linux-mandrake.com> 0.2.0-1mdk
- add %_bindir/defrag
- update description
- new version

* Mon Aug 18 2003 Götz Waschk <waschk@linux-mandrake.com> 0.1.0-1mdk
- initial package