]> git.pld-linux.org Git - packages/ipython.git/blobdiff - ipython.spec
- rel. 2 (rebuild with python 2.5)
[packages/ipython.git] / ipython.spec
index 7eea019d55073edfdc5d18560cb68068d1975e24..7cba54828d0cfe98e8a81ecb7b547bf77e3c30e5 100644 (file)
@@ -2,17 +2,18 @@
 Summary:       An enhanced Interactive Python shell
 Summary(pl):   Interaktywna pow³oka jêzyka Python
 Name:          ipython
-Version:       0.7.0
-Release:       1
+Version:       0.7.2
+Release:       2
 License:       LGPL
 Group:         Applications/Shells
 Source0:       http://ipython.scipy.org/dist/%{name}-%{version}.tar.gz
-# Source0-md5: 3be8bae6c7c2153b6e57d3214c52c841
+# Source0-md5: 3565efcf87c7318c1a3930e278ac9fa5
 Patch0:                %{name}-import_path.patch
 URL:           http://ipython.scipy.org
-%pyrequires_eq python
-Requires:      python-%{name} = %{version}
 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)
 
@@ -122,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
 
@@ -133,8 +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
-%{py_sitescriptdir}/%{pname}/*.py?
-%{py_sitescriptdir}/%{pname}/Extensions/*.py?
-%{py_sitescriptdir}/%{pname}/UserConfig
+%{py_sitescriptdir}/%{pname}
This page took 0.071998 seconds and 4 git commands to generate.