Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
BitTorrent
BitTorrent.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File BitTorrent.spec of Package BitTorrent
# # spec file for package BitTorrent (Version 4.0.4) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: BitTorrent BuildRequires: python-curses python-devel python-gtk-devel update-desktop-files Summary: Scatter-Gather Network File Transfer Version: 4.0.4 Release: 64 # =========================================================================== # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # WARNING: do not upgrade to BitTorrent 4.1.x or newer versions # because it contains kashmir support (a p2p trackerless protocol) # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! # =========================================================================== Source0: %{name}-%{version}.tar.bz2 Source1: bittorrent.png Patch0: %{name}-4.0.3_docdir.patch Patch1: %{name}-4.0.4-gtk-deprecated.patch License: X11/MIT Group: Productivity/Networking/File-Sharing BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://bittorrent.com/ %{py_requires} %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. Authors: -------- Bram Cohen <bram@bitconjurer.org> %package gtk License: X11/MIT Summary: Scatter-Gather Network File Transfer - GTK based UI Group: Productivity/Networking/File-Sharing Requires: python-gtk Requires: %name = %version Provides: BitTorrent:/usr/bin/btdownloadgui %description gtk 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. Authors: -------- Bram Cohen <bram@bitconjurer.org> %package curses License: X11/MIT Summary: Scatter-Gather Network File Transfer - Curses based UI Group: Productivity/Networking/File-Sharing Requires: python-curses Requires: %name = %version Provides: BitTorrent:/usr/bin/btdownloadcurses %description curses 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. Authors: -------- Bram Cohen <bram@bitconjurer.org> %prep %setup %patch0 %patch1 %build export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install exclude_from_filelist() { for i in `cat $2`; do grep -v $i $1 > $1.new mv $1.new $1 done } python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES for x in $RPM_BUILD_ROOT/usr/bin/*.py ; do mv $x ${x%.py} done mv INSTALLED_FILES INSTALLED_FILES.tmp cat INSTALLED_FILES.tmp | sed -e 's|usr/bin/\(.*\)\.py|usr/bin/\1|' | egrep -v '/usr/share/doc/packages$' | egrep -v '/usr/share/pixmaps$' > INSTALLED_FILES ls -1 $RPM_BUILD_ROOT/usr/bin/bt*gui | sed -e "s|$RPM_BUILD_ROOT||" > INSTALLED_FILES-gtk ls -1 $RPM_BUILD_ROOT/usr/bin/bt*curses | sed -e "s|$RPM_BUILD_ROOT||" > INSTALLED_FILES-curses exclude_from_filelist INSTALLED_FILES INSTALLED_FILES-gtk exclude_from_filelist INSTALLED_FILES INSTALLED_FILES-curses install -m 644 %{S:1} $RPM_BUILD_ROOT/%{_datadir}/pixmaps %suse_update_desktop_file -c btdownloadgui BitTorrent "BitTorrent Client" btdownloadgui bittorrent "Network;P2P;" %clean [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT; %files gtk -f INSTALLED_FILES-gtk %defattr(755,root,root,755) %attr(644,root,root) %{_datadir}/applications/btdownloadgui.desktop %attr(644,root,root) %{_datadir}/pixmaps/bittorrent.png %files curses -f INSTALLED_FILES-curses %defattr(755,root,root,755) %files -f INSTALLED_FILES %defattr(-,root,root,-) %changelog * Thu Feb 19 2009 matejcik@suse.cz - added desktop file (bnc#340215) * Thu Apr 03 2008 matejcik@suse.cz - update to version 4.0.4 !! this version does NOT contain khashmir (DHT) technology !! * minor bugfixes - fixed pygtk deprecation warnings (bnc#360593) * Thu Jun 21 2007 adrian@suse.de - fix changelog entry order * Mon Feb 05 2007 matejcik@suse.cz - added split provides to correctly upgrade from 10.0 and older * Wed Aug 16 2006 cthiel@suse.de - buildrequire python-gtk-devel instead of python-gtk * Tue Feb 28 2006 jmatejek@suse.cz - updated to reflect python changes due to #149809 * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Tue Jan 17 2006 dmueller@suse.de - add comment in spec file * Mon Oct 17 2005 dmueller@suse.de - fix permissions of installed files * Tue Aug 30 2005 mrueckert@suse.de - added desktop file and icon. (bug #113687) * Sun Aug 14 2005 dmueller@suse.de - update 4.0.3 - split package in a -gtk and -curses package to reduce dependencies for tracker-only installations * Fri Aug 05 2005 mrueckert@suse.de - We use %%_libdir -> platform specific * Mon Jul 25 2005 mrueckert@suse.de - dont build as root - remove %%_docdir from the package list - build as noarch * Mon Jul 25 2005 mrueckert@suse.de - downgrade to 4.0.2 (no trackerless support) - fixed installation of the documentation * Mon Jun 06 2005 cthiel@suse.de - update to 4.1.1 * Mon Apr 11 2005 mcihar@suse.cz - update to 4.0.1 * Wed Apr 06 2005 mcihar@suse.cz - fix dependencies (bug #75904) * Wed Mar 16 2005 mcihar@suse.cz - fix permissions * Thu Mar 10 2005 mcihar@suse.cz - fix filelist * Wed Mar 09 2005 mcihar@suse.cz - update to 4.0.0 (bug #71846) * Tue Feb 08 2005 mcihar@suse.cz - use better permissions, remove unused files * Wed Aug 04 2004 mcihar@suse.cz - rename programs not to contain py extension * Fri May 21 2004 mcihar@suse.cz - initial packaging
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor