]> git.pld-linux.org Git - packages/BitTorrent.git/commitdiff
- up to 4.9.6
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 28 May 2006 20:18:51 +0000 (20:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    BitTorrent.spec -> 1.56

BitTorrent.spec

index 48c5029ea9fbed70f2c442e93a9170fefa4cee99..f420838431c6e2ef03aa6a27299cb4606ff5a989 100644 (file)
@@ -1,12 +1,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/
@@ -15,6 +15,8 @@ BuildRequires:        rpm-pythonprov
 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)
 
@@ -61,14 +63,23 @@ sed -i -e "s/'nb_NO'/'nb'   /;s/'gr'/'el'/;s/'he_IL'/'he'   /" BitTorrent/__init
 %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
@@ -86,6 +97,7 @@ rm -rf $RPM_BUILD_ROOT
 %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/*
 
This page took 0.118976 seconds and 4 git commands to generate.