SPECS: BitTorrent.spec - up to 4.9.6

arekm arekm at pld-linux.org
Sun May 28 22:18:57 CEST 2006


Author: arekm                        Date: Sun May 28 20:18:57 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 4.9.6

---- Files affected:
SPECS:
   BitTorrent.spec (1.55 -> 1.56) 

---- Diffs:

================================================================
Index: SPECS/BitTorrent.spec
diff -u SPECS/BitTorrent.spec:1.55 SPECS/BitTorrent.spec:1.56
--- SPECS/BitTorrent.spec:1.55	Sat Feb  4 22:46:09 2006
+++ SPECS/BitTorrent.spec	Sun May 28 22:18:51 2006
@@ -2,12 +2,12 @@
 Summary:	BitTorrent - a tool for distributing files
 Summary(pl):	BitTorrent - narzędzie do rozpowszechniania plików
 Name:		BitTorrent
-Version:	4.4.0
+Version:	4.9.6
 Release:	1
 License:	BitTorrent Open Source License
 Group:		Applications/Communications
 Source0:	http://www.bittorrent.com/dl/%{name}-%{version}.tar.gz
-# Source0-md5:	74d4b48202c28f0b27e989b6d5f5b214
+# Source0-md5:	c024bf57d38f3a350897717a593098f8
 Patch0:		%{name}-man_pages.patch
 Patch1:		%{name}-morei18n.patch
 URL:		http://www.bittorrent.com/
@@ -16,6 +16,8 @@
 BuildRequires:	sed >= 4.0
 %pyrequires_eq	python-modules
 Requires:	python-Crypto
+Requires:	python-Twisted
+Requires:	python-TwistedWeb
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -62,14 +64,23 @@
 %build
 find -type f -exec sed -i -e 's|#!.*python.*|#!%{_bindir}/python|g' "{}" ";"
 
+sh makei18n.sh
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_mandir}/man1
 
-python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
+python ./setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
 find $RPM_BUILD_ROOT%{py_sitescriptdir} -type f -name "*.py" | xargs rm
 install debian/* $RPM_BUILD_ROOT%{_mandir}/man1
 
+rm -rf locale/{in,nn_NO,piglatin}
+find locale -type f ! -name '*.mo' -exec rm "{}" ";"
+cp -a locale/*  $RPM_BUILD_ROOT%{_datadir}/locale
+
 %find_lang bittorrent
 
 %clean
@@ -87,6 +98,7 @@
 %attr(755,root,root) %{_bindir}/maketorrent-console
 %attr(755,root,root) %{_bindir}/torrentinfo-console
 %{py_sitescriptdir}/BitTorrent
+%{py_sitescriptdir}/Zeroconf.py[co]
 %{py_sitescriptdir}/khashmir
 %{_mandir}/man1/*
 
@@ -102,6 +114,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.56  2006/05/28 20:18:51  arekm
+- up to 4.9.6
+
 Revision 1.55  2006/02/04 21:46:09  piti
 - up to 4.4.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/BitTorrent.spec?r1=1.55&r2=1.56&f=u



More information about the pld-cvs-commit mailing list