License: Python-2.0
Summary: Python Interpreter
Url: http://www.python.org/
-Group: Development/Languages/Python
+Group: Development/Languages
%define tarversion %{version}
%define tarname Python-%{tarversion}
Source0: %{tarname}.tar.bz2
%package curses
Summary: Python Interface to the (N)Curses Library
-Group: Development/Libraries/Python
Requires: python = %{version}
Obsoletes: pyth_cur
Provides: pyth_cur
%package -n python-devel
Summary: Include Files and Libraries Mandatory for Building Python Modules
-Group: Development/Languages/Python
Requires: glibc-devel
Requires: python = %{version}
%package -n python-xml
Summary: A Python XML Interface
-Group: Development/Libraries/Python
Requires: python = %{version}
# pyxml used to live out of tree
Provides: pyxml = 0.8.5
%package -n libpython
Summary: Python Interpreter shared library
-Group: Development/Languages/Python
%description -n libpython
Python is an interpreted, object-oriented programming language, and is
########################################
export PDOCS=%{buildroot}%{_docdir}/%{name}
install -d -m 755 $PDOCS
-install -c -m 644 LICENSE $PDOCS/
install -c -m 644 README $PDOCS/
ln -s python%{python_version}.1.gz %{buildroot}%{_mandir}/man1/python.1.gz
%defattr(644, root, root, 755)
%dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/README
-%doc %{_docdir}/%{name}/LICENSE
+%license LICENSE
%config %{_sysconfdir}/pythonstart
%config %{_sysconfdir}/profile.d/python.*
%dir %{_libdir}/python%{python_version}