Author: duddits Date: Sat Mar 14 13:48:10 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - up to 2.9.3 - *.py cleaning (TODO removed) - setup.patch fixing error build (qtorrent not found) added - symlink for qtorrent - %files
---- Files affected: SPECS: qtorrent.spec (1.13 -> 1.14) ---- Diffs: ================================================================ Index: SPECS/qtorrent.spec diff -u SPECS/qtorrent.spec:1.13 SPECS/qtorrent.spec:1.14 --- SPECS/qtorrent.spec:1.13 Mon Oct 13 20:12:57 2008 +++ SPECS/qtorrent.spec Sat Mar 14 14:48:04 2009 @@ -1,14 +1,14 @@ # $Revision$, $Date$ -# TODO: py_postclean Summary: A PyQt GUI for BitTorrent Summary(pl.UTF-8): Interfejs GUI do BitTorrenta Name: qtorrent -Version: 2.9.1 +Version: 2.9.3 Release: 1 License: MIT Group: Applications/Networking Source0: http://thegraveyard.org/files/%{name}-%{version}.tar.bz2 -# Source0-md5: 3342c1df915941163d0b3f7f7aec0e83 +# Source0-md5: c8f516416a1582beecf5011f8157e130 +Patch0: %{name}-setup.patch URL: http://thegraveyard.org/qtorrent.php BuildRequires: python >= 1:2.5 BuildRequires: python-PyQt @@ -38,6 +38,7 @@ %prep %setup -q +%patch0 -p1 %build %{__python} setup.py build @@ -49,22 +50,30 @@ --optimize=2 \ --root $RPM_BUILD_ROOT +# Remove *.py files. We don't package them. +find $RPM_BUILD_ROOT%{py_sitescriptdir}/pyqtorrent3 -type f -name '*.py' -print0 | xargs -0 rm -f + +# add a symlink: qtorrent.py -> qtorrent +ln -fs %{_bindir}/qtorrent.py $RPM_BUILD_ROOT%{_bindir}/%{name} + %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc LICENSE.txt MANIFEST PKG-INFO -%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_bindir}/qtorrent.py +%attr(755,root,root) %ghost %{_bindir}/qtorrent %dir %{py_sitescriptdir}/pyqtorrent3 %dir %{py_sitescriptdir}/pyqtorrent3/BitTorrent %dir %{py_sitescriptdir}/pyqtorrent3/QtGui +%dir %{py_sitescriptdir}/pyqtorrent3/WebGui +%dir %{py_sitescriptdir}/pyqtorrent3/WebGui/templates %{py_sitescriptdir}/pyqtorrent3/*.py[co] -%{py_sitescriptdir}/pyqtorrent3/*.py %{py_sitescriptdir}/pyqtorrent3/BitTorrent/*.py[co] -%{py_sitescriptdir}/pyqtorrent3/BitTorrent/*.py %{py_sitescriptdir}/pyqtorrent3/QtGui/*.py[co] -%{py_sitescriptdir}/pyqtorrent3/QtGui/*.py +%{py_sitescriptdir}/pyqtorrent3/WebGui/*.py[co] +%{py_sitescriptdir}/pyqtorrent3/WebGui/templates/*.html %{py_sitescriptdir}/%{name}-%{version}-py*.egg-info %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) @@ -73,6 +82,13 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.14 2009/03/14 13:48:04 duddits +- up to 2.9.3 +- *.py cleaning (TODO removed) +- setup.patch fixing error build (qtorrent not found) added +- symlink for qtorrent +- %files + Revision 1.13 2008/10/13 18:12:57 qboosh - BR: python 2.5 for .egg-info, pythonprov ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/qtorrent.spec?r1=1.13&r2=1.14&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
