1 |
%define name ipython |
%define name ipython |
2 |
%define version 0.11 |
%define version 0.13 |
3 |
%define release %mkrel 2 |
%define release %mkrel 1 |
4 |
|
|
5 |
Summary: An interactive computing environment for Python |
Summary: An interactive computing environment for Python |
6 |
Name: %{name} |
Name: %{name} |
68 |
emacs -batch -f batch-byte-compile docs/emacs/ipython.el |
emacs -batch -f batch-byte-compile docs/emacs/ipython.el |
69 |
|
|
70 |
%install |
%install |
|
%__rm -rf %{buildroot} |
|
71 |
PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} |
PYTHONDONTWRITEBYTECODE= %__python setup.py install --root=%{buildroot} |
72 |
%__mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/ |
%__mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/ |
73 |
%__install -m 644 docs/emacs/ipython.el* %{buildroot}%{_datadir}/emacs/site-lisp/ |
%__install -m 644 docs/emacs/ipython.el* %{buildroot}%{_datadir}/emacs/site-lisp/ |
75 |
find %{buildroot} -name .buildinfo -exec rm -f {} \; |
find %{buildroot} -name .buildinfo -exec rm -f {} \; |
76 |
find %{buildroot} -name .git_commit_info.ini -exec rm -rf {} \; |
find %{buildroot} -name .git_commit_info.ini -exec rm -rf {} \; |
77 |
|
|
|
%clean |
|
|
%__rm -rf %{buildroot} |
|
|
|
|
78 |
%files |
%files |
|
%defattr(-,root,root) |
|
79 |
%doc docs/examples |
%doc docs/examples |
80 |
%{_bindir}/* |
%{_bindir}/* |
81 |
%{py_sitedir}/* |
%{py_sitedir}/* |