/[packages]/backports/4/ipython/current/SPECS/ipython.spec
ViewVC logotype

Diff of /backports/4/ipython/current/SPECS/ipython.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 65239 by saispo, Sun Mar 6 12:11:43 2011 UTC revision 89369 by ahmad, Thu Apr 21 01:37:31 2011 UTC
# Line 1  Line 1 
1  %define name     ipython  %define name     ipython
2  %define version  0.10.1  %define version  0.10.2
3  %define rel      1  %define rel      1
4    
5  Summary:        An enhanced interactive Python shell  Summary:        An enhanced interactive Python shell
# Line 7  Name:          %{name} Line 7  Name:          %{name}
7  Version:        %{version}  Version:        %{version}
8  Release:        %mkrel %{rel}  Release:        %mkrel %{rel}
9  Source0:        http://ipython.scipy.org/dist/%{name}-%{version}.tar.gz  Source0:        http://ipython.scipy.org/dist/%{name}-%{version}.tar.gz
 Patch0:         setupbase.py.patch  
10  License:        BSD-like  License:        BSD-like
11  Group:          Development/Python  Group:          Development/Python
12  Url:            http://ipython.scipy.org  Url:            http://ipython.scipy.org
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}  
13  BuildArch:      noarch  BuildArch:      noarch
14  Requires:       python-zope-interface >= 3.4.1  Requires:       python-zope-interface >= 3.4.1
15  Requires:       python-twisted >= 8.0.1  Requires:       python-twisted >= 8.0.1
# Line 21  Requires:      python-OpenSSL Line 19  Requires:      python-OpenSSL
19  Suggests:       python-mpi4py  Suggests:       python-mpi4py
20  Suggests:       wxPython  Suggests:       wxPython
21  BuildRequires:  emacs  BuildRequires:  emacs
22  %py_requires -d  BuildRequires:  python-devel
23    
24  %description  %description
25  IPython is a free software project (released under the BSD license)  IPython is a free software project (released under the BSD license)
# Line 54  which tries to: Line 52  which tries to:
52    
53  %prep  %prep
54  %setup -q -n %{name}-%{version}  %setup -q -n %{name}-%{version}
 %patch0 -p0  
55    
56  %build  %build
57  emacs -batch -f batch-byte-compile docs/emacs/ipython.el  emacs -batch -f batch-byte-compile docs/emacs/ipython.el
# Line 65  PYTHONDONTWRITEBYTECODE= %__python setup Line 62  PYTHONDONTWRITEBYTECODE= %__python setup
62  %__mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/  %__mkdir -p %{buildroot}%{_datadir}/emacs/site-lisp/
63  %__install -m 644 docs/emacs/ipython.el* %{buildroot}%{_datadir}/emacs/site-lisp/  %__install -m 644 docs/emacs/ipython.el* %{buildroot}%{_datadir}/emacs/site-lisp/
64  %__rm -f %{buildroot}%{_docdir}/%{name}/manual/ipython.pdf  %__rm -f %{buildroot}%{_docdir}/%{name}/manual/ipython.pdf
 cp -f README.txt %{buildroot}%{_docdir}/%{name}  
65    
66  %clean  %clean
67  %__rm -rf %{buildroot}  %__rm -rf %{buildroot}
68    
69  %files  %files
70  %defattr(-,root,root)  %defattr(-,root,root)
71    %doc README.txt
72  %{_bindir}/*  %{_bindir}/*
73  %{_datadir}/emacs/site-lisp/*  %{_datadir}/emacs/site-lisp/*
74  %{_docdir}/%{name}  %{_docdir}/%{name}
75  %{_mandir}/man1/*  %{_mandir}/man1/*
76  %{py_sitedir}/*  %{python_sitelib}/*

Legend:
Removed from v.65239  
changed lines
  Added in v.89369

  ViewVC Help
Powered by ViewVC 1.1.30