]>
Commit | Line | Data |
---|---|---|
57cbe366 | 1 | |
2 | # | |
3 | # todo: | |
4 | # - emacs, idle and vim subpackages | |
5 | # | |
6 | ||
c634a619 | 7 | # Conditional build: |
bce55a6a | 8 | %bcond_without tests # disables testing |
11893caf | 9 | # |
57cbe366 | 10 | Summary: Python Refactoring Browser |
d4219a82 | 11 | Summary(pl.UTF-8): Przeglądarka do refaktoryzacji kodu w Pythonie |
57cbe366 | 12 | Name: bicyclerepair |
13 | Version: 0.9 | |
049e77be | 14 | Release: 1 |
00abdd0a | 15 | License: BSD-like |
57cbe366 | 16 | Group: Development/Languages/Python |
894145e7 | 17 | Source0: http://dl.sourceforge.net/bicyclerepair/%{name}-%{version}.tar.gz |
049e77be | 18 | # Source0-md5: f825f48384febefacf0717738e909321 |
57cbe366 | 19 | URL: http://bicyclerepair.sourceforge.net/ |
20 | BuildRequires: python-modules >= 2.2.1 | |
57cbe366 | 21 | %pyrequires_eq python-modules |
22 | BuildArch: noarch | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
11893caf JB |
26 | Bicycle Repair Man is the Python Refactoring Browser, helping |
27 | Pythonistas everywhere glide over the gory details of refactoring | |
28 | their code. Watch him extract jumbled code into well ordered classes. | |
29 | Gasp, as he renames all occurrences of a method. Thank You, Bicycle | |
30 | Repair Man! | |
31 | ||
d4219a82 JR |
32 | %description -l pl.UTF-8 |
33 | Bicycle Repair Man ("Mechanik Rowerowy") to narzędzie do refaktoryzacji | |
34 | kodu źródłowego napisanego w języku Python, pozwalające programistom na | |
35 | uniknięcie morderczej pracy związanej z ulepszaniem swojego kodu. | |
b0536df1 | 36 | |
d4219a82 JR |
37 | Patrz, jak brzydki kod przekształca się w piękne klasy. Tchu zabraknie Ci |
38 | ze zdziwienia, gdy zacznie zmieniać wszystkie wystąpienia metody. | |
39 | Dziękujemy Ci, Mechaniku Rowerowy! | |
57cbe366 | 40 | |
41 | %prep | |
049e77be | 42 | %setup -q |
57cbe366 | 43 | |
44 | %build | |
45 | python setup.py build | |
11893caf | 46 | |
c634a619 | 47 | %{?with_tests:python -O testall.py -v} |
57cbe366 | 48 | |
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
11893caf JB |
52 | python setup.py install \ |
53 | --optimize=2 \ | |
54 | --root=$RPM_BUILD_ROOT | |
55 | ||
894145e7 | 56 | find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f {} \; |
57cbe366 | 57 | |
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
049e77be | 63 | %doc AUTHORS COPYING ChangeLog NEWS README* |
57cbe366 | 64 | %doc ide-integration/bike.vim |
894145e7 | 65 | %{py_sitescriptdir}/* |