4 # - emacs, idle and vim subpackages
8 %bcond_without tests # disables testing
10 Summary: Python Refactoring Browser
16 Group: Development/Languages/Python
17 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}-%{beta}.tar.gz
18 # Source0-md5: 635287697aa7f3bb580267e9df203f89
19 URL: http://bicyclerepair.sourceforge.net/
20 BuildRequires: python-modules >= 2.2.1
21 BuildRequires: rpm-pythonprov
22 %pyrequires_eq python-modules
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Bicycle Repair Man is the Python Refactoring Browser, helping
28 Pythonistas everywhere glide over the gory details of refactoring
29 their code. Watch him extract jumbled code into well ordered classes.
30 Gasp, as he renames all occurrences of a method. Thank You, Bicycle
34 Bicycle Repair Man ("Mechanik Rowerowy") to narzêdzie do refaktoryzacji
35 kodu ¼ród³owego napisanego w jêzyku Python, pozwalaj±ce programistom na
36 unikniêcie morderczej pracy zwi±zanej z ulepszaniem swojego kodu.
38 Patrz, jak brzydki kod przekszta³ca siê w piêkne klasy. Tchu zabraknie Ci
39 ze zdziwienia, gdy zacznie zmieniaæ wszystkie wyst±pienia metody.
40 Dziêkujemy Ci, Mechaniku Rowerowy!
43 %setup -q -n %{name}-%{version}-%{beta}
48 %{?with_tests:python -O testall.py -v}
51 rm -rf $RPM_BUILD_ROOT
53 python setup.py install \
55 --root=$RPM_BUILD_ROOT
57 find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm -f {} \;
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
64 %doc AUTHORS COPYING ChangeLog DESIGN NEWS README*
65 %doc ide-integration/bike.vim
66 #%attr(755,root,root) %{_bindir}/*