4 # - emacs, idle and vim subpackages
8 %bcond_without tests # disables testing
10 %include /usr/lib/rpm/macros.python
11 Summary: Python Refactoring Browser
17 Group: Development/Languages/Python
18 Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}-%{beta}.tar.gz
19 # Source0-md5: 635287697aa7f3bb580267e9df203f89
20 URL: http://bicyclerepair.sourceforge.net/
21 BuildRequires: python-modules >= 2.2.1
22 BuildRequires: rpm-pythonprov
23 %pyrequires_eq python-modules
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Bicycle Repair Man is the Python Refactoring Browser, helping
29 Pythonistas everywhere glide over the gory details of refactoring
30 their code. Watch him extract jumbled code into well ordered classes.
31 Gasp, as he renames all occurrences of a method. Thank You, Bicycle
35 Bicycle Repair Man ("Mechanik Rowerowy") to przegl±darka
36 przebudowuj±ca dla Pythona, pomagaj±ca pythonistom wszêdzie szybowaæ
37 ponad morderczymi szczegó³ami przebudowywania swojego kodu. Patrz, jak
38 przemienia pomieszany kod na dobrze uporz±dkowane klasy. Oddychaj
39 ciê¿ko, kiedy zmienia wszystkie wyst±pienia metody. Dziêkujemy Ci,
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}/*