]>
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 |
4d096264 | 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/ |
e9d5158f | 20 | BuildRequires: rpmbuild(macros) >= 1.710 |
57cbe366 | 21 | BuildRequires: python-modules >= 2.2.1 |
57cbe366 | 22 | %pyrequires_eq python-modules |
23 | BuildArch: noarch | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
11893caf JB |
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 | |
31 | Repair Man! | |
32 | ||
d4219a82 JR |
33 | %description -l pl.UTF-8 |
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. | |
b0536df1 | 37 | |
d4219a82 JR |
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! | |
57cbe366 | 41 | |
42 | %prep | |
049e77be | 43 | %setup -q |
57cbe366 | 44 | |
45 | %build | |
9b99b330 | 46 | %py_build |
11893caf | 47 | |
c634a619 | 48 | %{?with_tests:python -O testall.py -v} |
57cbe366 | 49 | |
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
9b99b330 | 53 | %py_install |
11893caf | 54 | |
894145e7 | 55 | find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f {} \; |
57cbe366 | 56 | |
57 | %clean | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %files | |
61 | %defattr(644,root,root,755) | |
049e77be | 62 | %doc AUTHORS COPYING ChangeLog NEWS README* |
57cbe366 | 63 | %doc ide-integration/bike.vim |
894145e7 | 64 | %{py_sitescriptdir}/* |