]> git.pld-linux.org Git - packages/ipython.git/blobdiff - ipython.spec
- updated to 0.6.0
[packages/ipython.git] / ipython.spec
index 02b4aff2abb2a8d958616f93c1a3b5e5c05414df..04079a9eb8be59dd750550333c913338ffbfb726 100644 (file)
@@ -5,15 +5,18 @@
 Summary:       An enhanced Interactive Python shell
 Summary(pl):   Interaktywna pow³oka jêzyka Python
 Name:          ipython
-Version:       0.2.8
+Version:       0.6.0
 Release:       1
 License:       LGPL
 Group:         Applications/Shells
-Source0:       http://www-hep.colorado.edu/~fperez/ipython/dist/%{pname}-%{version}.tar.gz
-URL:           http://www-hep.colorado.edu/~fperez/ipython/
-%requires_eq   python
+Source0:       http://ipython.scipy.org/dist/%{pname}-%{version}.tar.gz
+# Source0-md5: 75fdfecda3b313a43a8b8af4dc74ca37
+Patch0:                %{name}-import_path.patch
+URL:           http://ipython.scipy.org
+%pyrequires_eq python
 Requires:      python-%{name} = %{version}
 BuildRequires: rpm-pythonprov >= 4.0.2-50
+BuildRequires: python-devel
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -66,8 +69,8 @@ Pakiet ten zawiera pow
 Summary:       An enhanced Interactive Python shell modules
 Summary(pl):   Modu³y interaktywnej pow³oki jêzyka Python
 Group:         Libraries/Python
-%requires_eq   python-modules
-%requires_eq   python-pydoc
+%pyrequires_eq python-devel-tools
+%pyrequires_eq pydoc
 
 %description -n python-ipython
 IPython is a free software project which tries to:
@@ -116,34 +119,27 @@ Pakiet ten zawiera modu
 
 %prep
 %setup  -q -n %{pname}-%{version}
+%patch0 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
 
-mv doc/manual/manual.pdf doc/
-mv doc/manual/ doc/html/
-
-gzip -9nf *.txt doc/{*.txt,ChangeLog,ToDo,BUGS}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
 
 %files -n python-ipython
 %defattr(644,root,root,755)
-%doc *.gz doc/*.gz doc/html doc/*.pdf
-%dir %{py_sitedir}/%{pname}
-%dir %{py_sitedir}/%{pname}/Extensions
-%dir %{py_sitedir}/%{pname}/UserConfig
-%{py_sitedir}/%{pname}/*.py?
-%{py_sitedir}/%{pname}/Extensions/*.py?
-
-# leave it as source because files below will be installed in ~/.ipython
-# when IPython is _imported_ (it is the reason why UserConfig is not in
-# main package) first time
-%{py_sitedir}/%{pname}/UserConfig/*.py
+%doc README doc/{ChangeLog,NEWS} doc/manual doc/*.pdf
+%dir %{py_sitescriptdir}/%{pname}
+%dir %{py_sitescriptdir}/%{pname}/Extensions
+%dir %{py_sitescriptdir}/%{pname}/UserConfig
+%{py_sitescriptdir}/%{pname}/*.py?
+%{py_sitescriptdir}/%{pname}/Extensions/*.py?
+%{py_sitescriptdir}/%{pname}/UserConfig
This page took 0.085847 seconds and 4 git commands to generate.