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