author | gman |
Thu, 30 Sep 2010 21:37:28 +0000 | |
branch | gnome-2-30 |
changeset 20130 | c7dfc176dcbd |
parent 17864 | 337913e88a9d |
child 18269 | 5218a1567988 |
permissions | -rw-r--r-- |
10419 | 1 |
# |
2 |
# spec file for package SUNWIPython |
|
3 |
# |
|
4 |
# includes module(s): ipython |
|
5 |
# |
|
6 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
7 |
# This file and all modifications and additions to the pristine |
|
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
16434 | 10 |
%define owner liyuan |
10419 | 11 |
# |
16752 | 12 |
%define pythonver 2.6 |
10419 | 13 |
|
16425 | 14 |
%define OSR 6719:0.8.1 |
15 |
||
10422 | 16 |
Name: ipython |
17 |
Summary: Enhanced interactive Python shell |
|
16349 | 18 |
Version: 0.10 |
10422 | 19 |
Release: 1 |
17864 | 20 |
Vendor: SciPy |
10422 | 21 |
License: BSD |
22 |
Group: Development/Libraries |
|
23 |
URL: http://ipython.scipy.org/ |
|
17861 | 24 |
Source: http://ipython.scipy.org/dist/%{version}/ipython-%{version}.tar.gz |
16673 | 25 |
#owner:wangke date:2009-09-28 type:branding |
26 |
Patch1: ipython-01-manpages.diff |
|
17091 | 27 |
#owner:liyuan date:2009-12-03 type:branding |
28 |
Patch2: ipython-02-python-version.diff |
|
10422 | 29 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
30 |
BuildArch: noarch |
|
10419 | 31 |
|
32 |
%description |
|
33 |
IPython provides a replacement for the interactive Python interpreter with |
|
34 |
extra functionality. |
|
35 |
||
36 |
%prep |
|
37 |
%setup |
|
16673 | 38 |
find docs/man -name "*.gz"|xargs gzip -d |
39 |
%patch1 -p1 |
|
17091 | 40 |
%patch2 -p1 |
16673 | 41 |
find docs/man -name "*.1"|xargs gzip |
10419 | 42 |
|
43 |
%build |
|
16752 | 44 |
python%{pythonver} setup.py build |
45 |
sed s/"\/python"/"\/python%{pythonver}"/g ipython.py > ipython.bak |
|
46 |
mv ipython.bak ipython.py |
|
47 |
chmod 755 ipython.py |
|
10419 | 48 |
|
49 |
%install |
|
50 |
%{__rm} -rf $RPM_BUILD_ROOT |
|
16752 | 51 |
python%{pythonver} setup.py install --root="$RPM_BUILD_ROOT" |
10419 | 52 |
|
10635 | 53 |
# Move to vendor-packages |
54 |
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages \ |
|
55 |
$RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages |
|
56 |
||
10419 | 57 |
%clean |
58 |
%{__rm} -rf $RPM_BUILD_ROOT |
|
59 |
||
10635 | 60 |
%changelog |
17091 | 61 |
* Thu Dec 03 2009 - [email protected] |
62 |
- Use python2.6. |
|
16754 | 63 |
* Wed Oct 14 2009 - [email protected] |
64 |
- Use Python 2.6. |
|
16673 | 65 |
* Mon Sep 28 2009 - [email protected] |
66 |
- Add patch ipython-01-manpages.diff |
|
67 |
- Use the manpages shipped with community package to replace the ones written by jds |
|
16349 | 68 |
* Tue Aug 25 2009 - [email protected] |
69 |
- Bump to 0.10. |
|
16266 | 70 |
* Thu Aug 13 2009 - [email protected] |
71 |
- Update vendor information. |
|
16126 | 72 |
* Sun Jul 26 2009 - [email protected] |
73 |
- Bump to 0.9.1. |
|
15403 | 74 |
* Tue Mar 17 2009 - [email protected] |
75 |
- Downgrade to 0.8.4 because of dependency problem. |
|
14713 | 76 |
* Fri Dec 05 2008 - [email protected] |
77 |
- Bump to 0.9.1. |
|
78 |
||
12610 | 79 |
* Fri Jun 06 2008 - [email protected] |
80 |
- Bump to 0.8.4. |
|
81 |
||
11303 | 82 |
* Fri Dec 07 2007 - [email protected] |
83 |
- Bump to 0.8.2. |
|
84 |
||
10635 | 85 |
* Wed Oct 10 2007 - [email protected] |
10641
c9864ab4f7a9
Add bug number (6615442) to %changelog for move from site-packages to vendor-packages.
dcarbery
parents:
10635
diff
changeset
|
86 |
- Move files from site-packages to vendor-packages. Fixes 6615442. |
10635 | 87 |
|
88 |
* Mon Sep 2 2007 - [email protected] |
|
89 |
- Initial version. |