]> git.pld-linux.org Git - packages/bpython.git/blob - bpython.spec
- initial PLD release
[packages/bpython.git] / bpython.spec
1 # TODO:
2 # - check docs folder for valuable files
3 #
4 %define         pname   bpython
5 Summary:        bpython - a fancy interface to the Python interpreter
6 Name:           bpython
7 Version:        0.9.5.2
8 Release:        1
9 License:        MIT
10 Group:          Applications/Shells
11 Source0:        http://bpython-interpreter.org/releases/%{name}-%{version}.tar.gz
12 # Source0-md5:  8c6022907d2bff9d0193f3d299157443
13 URL:            http://bpython-interpreter.org/
14 BuildRequires:  pydoc
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}
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 bpython is a fancy interface to the Python interpreter for Unix-like
25 operating systems.
26
27 %package -n python-bpython
28 Summary:        bpython shell modules
29 Group:          Libraries/Python
30 %pyrequires_eq  python-devel-tools
31 %pyrequires_eq  pydoc
32
33 %description -n python-bpython
34 bpython is a fancy interface to the Python interpreter for Unix-like
35 operating systems.
36
37 %prep
38 %setup -q
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
44
45 %py_postclean
46 rm -rf $RPM_BUILD_ROOT%{_docdir}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %attr(755,root,root) %{_bindir}/*
54 %{_desktopdir}/bpython.desktop
55 %{_mandir}/man1/*.1*
56 %{_mandir}/man5/*.5*
57
58 %files -n python-bpython
59 %defattr(644,root,root,755)
60 %doc README
61 %{py_sitescriptdir}/%{pname}
62 %{py_sitescriptdir}/*.egg-info
This page took 0.055389 seconds and 4 git commands to generate.