]> git.pld-linux.org Git - packages/BitTorrent.git/commitdiff
- initial revision
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 11 Feb 2003 13:16:55 +0000 (13:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 0.1
- seems to have problems with latest wxWindows

Changed files:
    BitTorrent.spec -> 1.1

BitTorrent.spec [new file with mode: 0644]

diff --git a/BitTorrent.spec b/BitTorrent.spec
new file mode 100644 (file)
index 0000000..259f9dd
--- /dev/null
@@ -0,0 +1,51 @@
+
+%include /usr/lib/rpm/macros.python
+
+Summary:       BitTorrent is a tool for distributing files.
+Name:          BitTorrent
+Version:       3.1
+Release:       0.1
+License:       MIT
+Group:         Applications/Communications
+Source0:       %{name}-%{version}.tar.gz
+#Patch0:               %{name}-what.patch
+URL:           http://bitconjurer.org/BitTorrent/
+Requires:      python-wxPython
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+BitTorrent is a tool for distributing files. It's extremely
+easy to use - downloads are started by clicking on hyperlinks.
+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.
+
+%prep
+%setup -q
+
+%build
+find -type f | xargs perl -pi -e 's/python2/python/g'
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT
+
+./setup.py install --prefix=$RPM_BUILD_ROOT/%{_prefix}
+chmod a-x $RPM_BUILD_ROOT/%{_bindir}/btdownloadlibrary.py
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc FAQ.txt INSTALL.unix.txt LICENSE.txt README.txt credits.txt todo.txt
+%attr(755,root,root) %{_bindir}/btdownloadgui.py
+%attr(755,root,root) %{_bindir}/btdownloadheadless.py
+%attr(755,root,root) %{_bindir}/btdownloadprefetched.py
+%attr(755,root,root) %{_bindir}/btmakemetafile.py
+%attr(755,root,root) %{_bindir}/bttrack.py
+%{_bindir}/btdownloadlibrary.py
+%{py_sitedir}/BitTorrent
This page took 0.057375 seconds and 4 git commands to generate.