%global snapshot 20110601 %global revision 1232 Name: rtorrent # OpenSSL exception, see README License: GPLv2+ with exceptions Group: Applications/Internet Version: 0.8.8 Release: 17%{?snapshot:.%{snapshot}svn%{revision}}%{?dist} Summary: BitTorrent client based on libtorrent URL: http://rtorrent.rakshasa.no/ %if %{?snapshot:1}0 Source0: %{name}-%{snapshot}.tar.bz2 %else Source0: http://libtorrent.rakshasa.no/downloads/rtorrent-%{version}.tar.gz %endif Source1: rtorrent.rc.example Source2: rtorrent-snapshot.sh BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: curl-devel BuildRequires: libstdc++-devel BuildRequires: libsigc++20-devel BuildRequires: libtorrent-devel BuildRequires: ncurses-devel BuildRequires: pkgconfig %{!?_without_xmlrpc:BuildRequires: xmlrpc-c-devel} %description A BitTorrent client using libtorrent, which on high-bandwidth connections is able to seed at 3 times the speed of the official client. Using ncurses its ideal for use with screen or dtach. It supports saving of sessions and allows the user to add and remove torrents and scanning of directories for torrent files to seed and/or download. %prep %if %{?snapshot:1}0 %setup -q -n %{name}-%{snapshot} %__perl -pi -e ' s/(?<=AC_INIT\(rtorrent, )[^,]+/0.8.6/; s/(?<=libtorrent >= )[^,]+/0.12.6/; ' configure.ac ./autogen.sh %else %setup -q %endif %build %__install -m 644 %{SOURCE1} . export LDFLAGS="${LDFLAGS} -lpthread" %configure %{!?_without_xmlrpc:--with-xmlrpc-c} %__make %{?_smp_mflags} %install %__rm -rf $RPM_BUILD_ROOT %__make install DESTDIR=$RPM_BUILD_ROOT %clean %__rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS COPYING INSTALL README TODO rtorrent.rc.example %{_bindir}/rtorrent #%%{_mandir}/man1/rtorrent* %changelog * Wed Jun 01 2011 Marius FERARU - 0.8.8-17.20110601svn1232 - current svn build (r1232) * Thu Dec 09 2010 Marius FERARU - 0.8.7-16.20101209svn1189 - current svn build (r1189) - present itself as the latest stable version, in order to avoid version based blacklisting * Thu Jun 24 2010 Marius FERARU - 0.8.6-15.20100624svn1170 - redo (fedora wtf) * Wed May 19 2010 Marius FERARU - 0.8.6-14.20100519svn1170 - r1170 * Tue Apr 20 2010 Marius FERARU - 0.8.6-13.20100420svn1164 - r1164 - man page is no longer installed (is considered "out-of-date" as of r1159) * Sun Mar 14 2010 Marius FERARU - 0.8.6-12.20100314svn1143 - r1143 * Sun Mar 07 2010 Marius FERARU - 0.8.6-11.20100307svn1141 - r1141 * Fri Feb 19 2010 Marius FERARU - 0.8.6-10.20100219svn1135 - r1135 * Fri Feb 19 2010 Marius FERARU - 0.8.6-9.20100219svn1134 - r1134 * Wed Feb 17 2010 Marius FERARU - 0.8.6-8.20100217svn1131 - r1131 * Mon Feb 15 2010 Marius FERARU - 0.8.6-7.20100215svn1130 - r1130 * Wed Feb 03 2010 Marius FERARU - 0.8.6-6.20100203svn1124 - r1124 * Mon Feb 01 2010 Marius FERARU - 0.8.6-5.20100201svn1123 - new snapshot * Wed Dec 30 2009 Marius FERARU - 0.8.6-4.20091230svn1121 - new snapshot * Sun Nov 15 2009 Marius FERARU - 0.8.5-3.20091115svn1102 - added SVN snapshot code - allow "--without xmlrpc" * Sun Jul 26 2009 Fedora Release Engineering - 0.8.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Fri Jul 3 2009 Conrad Meyer - 0.8.5-1 - Bump version. * Mon May 11 2009 Conrad Meyer - 0.8.4-4 - Use normal Fedora build flags. * Wed Feb 25 2009 Fedora Release Engineering - 0.8.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Dec 2 2008 Conrad Meyer - 0.8.4-2 - Add --with-xmlrpc-c to configure. * Wed Nov 26 2008 Conrad Meyer - 0.8.4-1 - Bump to 0.8.4. * Tue Nov 18 2008 Conrad Meyer - 0.8.3-1 - Bump version. * Wed Sep 3 2008 Tom "spot" Callaway - 0.7.8-4 - fix license tag * Sat Apr 5 2008 Christopher Aillon - 0.7.8-3 - Fix build against newer sigc++ - Fix build against GCC 4.3 * Mon Feb 18 2008 Fedora Release Engineering - 0.7.8-2 - Autorebuild for GCC 4.3 * Tue Sep 18 2007 Marek Mahut - 0.7.8-1 - New upstream release * Tue Aug 28 2007 Fedora Release Engineering - 0.7.4-3 - Rebuild for selinux ppc32 issue. * Thu Jun 28 2007 Chris Chabot - 0.7.4-2 - Fixed BR * Thu Jun 28 2007 Chris Chabot - 0.7.4-1 - New upstream release * Sun Nov 26 2006 Chris Chabot - 0.6.4-1 - New upstream version - Compile with -Os to work around a gcc 4.1 incompatibility * Mon Nov 06 2006 Jindrich Novy - 0.6.2-5 - rebuild against new curl * Fri Sep 29 2006 Chris Chabot - 0.6.2-4 - re-tag * Fri Sep 29 2006 Chris Chabot - 0.6.2-3 - re-tag * Fri Sep 29 2006 Chris Chabot - 0.6.2-2 - New upstream version * Mon Sep 11 2006 Chris Chabot - 0.6.0-2 - FC6 rebuild * Sun Aug 13 2006 Chris Chabot - 0.6.0-1 - Upgrade to 0.6.0 * Sat Jun 17 2006 - Chris Chabot - 0.5.3-1 - Upgrade to new upstream version 0.5.3 - And changed libtorrent dependency to >= 0.9.3 * Sat Jan 14 2006 - Chris Chabot - 0.4.2-3 - Added ncurses-devel to buildrequirements * Sat Jan 14 2006 - Chris Chabot - 0.4.2-2 - Improved summary & description - Removed explicit requires, leaving to rpm - Changed mode of rtorrent.rc.example to 644 * Wed Jan 11 2006 - Chris Chabot - 0.4.2-1 - Initial version