diff --git a/.cvsignore b/.cvsignore index e69de29..33d30e2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +bpython-0.3.1.tar.gz diff --git a/bpython.spec b/bpython.spec new file mode 100644 index 0000000..c00c7e1 --- /dev/null +++ b/bpython.spec @@ -0,0 +1,63 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: bpython +Summary: Fancy curses interface to the Python interactive interpreter +Version: 0.3.1 +Release: 2%{?dist} +URL: http://www.noiseforfree.com/bpython/ +Group: Development/Libraries +License: MIT +Source0: http://www.noiseforfree.com/%{name}/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: python-devel desktop-file-utils +Requires: python-pygments pyparsing +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +%description +bpython is a fancy interface to the Python interpreter for Unix-like +operating systems. It has the following features: + o in-line syntax highlighting + o readline-like autocomplete with suggestions displayed as you type + o expected parameter list for any Python function. + o eewind function to pop the last line of code from memory and + re-evaluate. + o send the code you've entered off to a pastebin and display the + pastebin URL for copying, etc. + o save the code you've entered to a file + o auto indentation + +%prep +%setup -q -n %{name} + +%build +%{__python} setup.py build + +%install +%{__rm} -rf %{buildroot} +%{__python} setup.py install -O1 --skip-build --root %{buildroot} +#{__install} -D -m 0644 %{SOURCE1} \ +# %{buildroot}%{_datadir}/applications/%{name}.desktop + +%clean +%{__rm} -rf %{buildroot} + +%files +%defattr(-, root, root, -) +%doc CHANGELOG LICENSE README +%{_bindir}/%{name} +%{python_sitelib}/%{name}* + +%changelog +* Mon May 5 2008 Terje Rosten - 0.3.1-2 +- fix summary +- remove desktop file and optflags + +* Wed Apr 30 2008 Terje Rosten - 0.3.1-1 +- 0.3.1 +- drop patch + +* Sun Apr 27 2008 Terje Rosten - 0.2.3-1 +- random fixes + +* Sun Apr 27 2008 Pascal Bleser 0.2.3 +- new package diff --git a/sources b/sources index e69de29..1b65a1f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +40f34dcf7612590f74ed89025e74781f bpython-0.3.1.tar.gz