]> git.pld-linux.org Git - packages/ipython.git/blobdiff - ipython.spec
- rel. 2 (rebuild with python 2.5)
[packages/ipython.git] / ipython.spec
index fcb33becd70b3391875c573a5c95cabe131f719c..7cba54828d0cfe98e8a81ecb7b547bf77e3c30e5 100644 (file)
@@ -1,21 +1,19 @@
-
-%define pname IPython
-
+%define                pname   IPython
 Summary:       An enhanced Interactive Python shell
 Summary(pl):   Interaktywna pow³oka jêzyka Python
 Name:          ipython
-Version:       0.6.0
-Release:       1
+Version:       0.7.2
+Release:       2
 License:       LGPL
 Group:         Applications/Shells
-Source0:       http://ipython.scipy.org/dist/%{pname}-%{version}.tar.gz
-# Source0-md5: 75fdfecda3b313a43a8b8af4dc74ca37
+Source0:       http://ipython.scipy.org/dist/%{name}-%{version}.tar.gz
+# Source0-md5: 3565efcf87c7318c1a3930e278ac9fa5
 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
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires:      python-%{name} = %{version}
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -117,7 +115,7 @@ w wielu przypadkach.
 Pakiet ten zawiera modu³y interaktywnej pow³oki jêzyka Python.
 
 %prep
-%setup  -q -n %{pname}-%{version}
+%setup -q
 %patch0 -p1
 
 %install
@@ -125,6 +123,9 @@ rm -rf $RPM_BUILD_ROOT
 
 python ./setup.py install --optimize=2 --root=$RPM_BUILD_ROOT
 
+%py_postclean
+rm -rf $RPM_BUILD_ROOT%{_docdir}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -136,9 +137,4 @@ rm -rf $RPM_BUILD_ROOT
 %files -n python-ipython
 %defattr(644,root,root,755)
 %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
+%{py_sitescriptdir}/%{pname}
This page took 0.049789 seconds and 4 git commands to generate.