SPECS: rtorrent.spec - bcond with colors (-colors.patch) - R: libt...

charles charles at pld-linux.org
Sat Jul 2 22:46:51 CEST 2005


Author: charles                      Date: Sat Jul  2 20:46:51 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond with colors (-colors.patch)
- R: libtorrent with proper version
- rel. 2

---- Files affected:
SPECS:
   rtorrent.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/rtorrent.spec
diff -u SPECS/rtorrent.spec:1.4 SPECS/rtorrent.spec:1.5
--- SPECS/rtorrent.spec:1.4	Mon Jun 27 12:53:24 2005
+++ SPECS/rtorrent.spec	Sat Jul  2 22:46:46 2005
@@ -1,19 +1,25 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	colors		# with color version
+#
 Summary:	rTorrent - a console-based BitTorrent client
 Summary(pl):	rTorrent - konsolowy klient BitTorrenta
 Name:		rtorrent
 Version:	0.2.6
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/Networking
 Source0:	http://libtorrent.rakshasa.no/downloads/%{name}-%{version}.tar.gz
 # Source0-md5:	819b99453abc33a7a934dcacae3a73d5
+Patch0:		%{name}-colors.patch
 URL:		http://libtorrent.rakshasa.no/
 BuildRequires:	curl-devel >= 7.12
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtorrent-devel >= 0.6.6
 BuildRequires:	ncurses-devel
 BuildRequires:	pkgconfig
+Requires:	libtorrent >= 0.6.6
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -29,6 +35,9 @@
 
 %prep
 %setup -q
+%if %{with colors}
+%patch0 -p1
+%endif
 
 %build
 %configure \
@@ -57,6 +66,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/07/02 20:46:46  charles
+- bcond with colors (-colors.patch)
+- R: libtorrent with proper version
+- rel. 2
+
 Revision 1.4  2005/06/27 10:53:24  charles
 - updated to 0.2.6
 - rel. 1
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/rtorrent.spec?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list