# $Revision: 1.7 $, $Date: 2002/07/23 20:15:57 $ %include /usr/lib/rpm/macros.python Summary: Tool for finding bugs in Python source code Summary(pl): Narzêdzie do wyszukiwania b³êdów w programach napisanych w Pythonie Name: pychecker Version: 0.8.11 Release: 2 License: BSD-like Group: Development/Tools Source0: http://telia.dl.sourceforge.net/sourceforge/pychecker/%{name}-%{version}.tar.gz Patch0: %{name}-checker.patch URL: http://pychecker.sourceforge.net BuildRequires: rpm-pythonprov >= 4.0.2-50 %pyrequires_eq python-modules BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description PyChecker is a tool for finding bugs in Python source code. It finds problems that are typically caught by a compiler for less dynamic languages, like C and C++. %description -l pl PyChecker jest narzêdziem do wyszukiwania b³êdów w programach napisanych w Pythonie. Znajduje problemy, które s± zazwyczaj wy³apywane przez kompilator w mniej dynamicznych jêzykach takich jak C czy C++. %prep %setup -q %patch0 -p1 %install rm -rf $RPM_BUILD_ROOT python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README CHANGELOG MAINTAINERS KNOWN_BUGS TODO pycheckrc %attr(755,root,root) %{_bindir}/* %{py_sitedir}/pychecker/*.py[co] %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <feedback@pld.org.pl> All persons listed below can be reached at <cvs_login>@pld.org.pl $Log: pychecker.spec,v $ Revision 1.7 2002/07/23 20:15:57 marcus - use new %%doc - rel.2. Revision 1.6 2002/06/07 00:15:01 wrobell - ver. 0.8.11 - source uri fixed Revision 1.5 2002/04/11 14:02:07 wrobell - rel. 2, stb Revision 1.4 2002/04/11 13:45:33 wrobell - use pyrequires_eq instead of requires_eq macro (massive attack!) Revision 1.3 2002/03/21 06:37:05 wrobell - ver. 0.8.10 (bugfix release) - stb Revision 1.2 2002/03/04 12:23:14 wrobell - pychecker looks for checker.py file, change it to checker.pyc Revision 1.1 2002/03/04 12:18:46 wrobell - based on happydoc spec file