2 # - check docs folder for valuable files
5 Summary: bpython - a fancy interface to the Python interpreter
10 Group: Applications/Shells
11 Source0: http://bpython-interpreter.org/releases/%{name}-%{version}.tar.gz
12 # Source0-md5: d30fdb663fa9957c21c63108ed249b59
13 URL: http://bpython-interpreter.org/
15 BuildRequires: python-devel
16 BuildRequires: python-devel-tools
17 BuildRequires: rpm-pythonprov
18 BuildRequires: rpmbuild(macros) >= 1.219
19 Requires: python-%{name} = %{version}-%{release}
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 bpython is a fancy interface to the Python interpreter for Unix-like
27 %package -n python-bpython
28 Summary: bpython shell modules
29 Group: Libraries/Python
30 Requires: python-pygments
31 %pyrequires_eq python-devel-tools
34 %description -n python-bpython
35 bpython is a fancy interface to the Python interpreter for Unix-like
42 rm -rf $RPM_BUILD_ROOT
44 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT%{_docdir}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/*
55 %{_desktopdir}/bpython.desktop
59 %files -n python-bpython
60 %defattr(644,root,root,755)
62 %{py_sitescriptdir}/%{pname}
63 %{py_sitescriptdir}/*.egg-info