diff --git a/python-docutils.spec b/python-docutils.spec index b23bbd4..0d366c9 100644 --- a/python-docutils.spec +++ b/python-docutils.spec @@ -1,7 +1,7 @@ # # spec file for package python-docutils # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed diff --git a/python3-docutils.changes b/python3-docutils.changes deleted file mode 100644 index 1509708..0000000 --- a/python3-docutils.changes +++ /dev/null @@ -1,55 +0,0 @@ -------------------------------------------------------------------- -Tue Nov 20 19:36:25 UTC 2012 - saschpe@suse.de - -- Run testsuite -- Correctly fix non-excutable script warning -- Remove outdated macros -- Name Python3 binaries consistently: - + Fix in setup.py to have correct egg-info data - -------------------------------------------------------------------- -Fri Oct 26 08:25:52 UTC 2012 - highwaystar.ru@gmail.com - -- patch from upstream for python3.3 support - * Fix [3541369] Relative __import__ also with Python 3.3 - -------------------------------------------------------------------- -Thu May 3 14:28:17 UTC 2012 - toddrme2178@gmail.com - -- Update to version 0.9: - * reStructuredText "code" role and directive with syntax - highlighting by Pygments_. - * "code" option of the "include" directive. - * Fix [ 3402314 ] allow non-ASCII whitespace, punctuation - characters and "international" quotes around inline markup. - * Fix handling of missing stylesheets. - * Fix [ 2971827 ] and [ 3442827 ] extras/roman.py moved to - docutils/utils/roman.py - * docutils.utils is now a package (providing a place for - sub-modules) - * change default for `math-output` setting to MathJax - * Support the `abbreviation` and `acronym` standard roles. - * Record only files required to generate the LaTeX source as - dependencies. - * Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions - when suppressing LaTeX section numbering. -- Cleaned up spec files -- Fix rpmlint warnings - -------------------------------------------------------------------- -Mon Apr 30 14:07:34 UTC 2012 - cfarrell@suse.com - -- license update: Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and - SUSE-Public-Domain - tools/editors/emacs/rst.el is GPL-3.0+ - see also COPYING file - -------------------------------------------------------------------- -Fri Apr 27 14:07:19 UTC 2012 - toddrme2178@gmail.com - -- Fix building python 3 package on openSUSE 11.4 x86_64 - -------------------------------------------------------------------- -Mon Apr 23 12:00:49 UTC 2012 - toddrme2178@gmail.com - -- Add python 3 package - diff --git a/python3-docutils.spec b/python3-docutils.spec deleted file mode 100644 index c48a142..0000000 --- a/python3-docutils.spec +++ /dev/null @@ -1,67 +0,0 @@ -# -# spec file for package python3-docutils -# -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -Name: python3-docutils -Version: 0.9 -Release: 0 -Summary: Python Documentation Utilities -License: Python-2.0 and BSD-2-Clause and GPL-2.0+ and GPL-3.0+ and SUSE-Public-Domain -Group: Development/Languages/Python -Url: http://docutils.sourceforge.net/ -Source: http://downloads.sourceforge.net/project/docutils/docutils/%{version}/docutils-%{version}.tar.gz -# patch from upstream: r7486 Fix [3541369] Relative __import__ also with Python 3.3 -Patch0: r7486-python33-compat.patch -BuildRequires: python3 -BuildRequires: python3-2to3 -BuildRequires: python3-devel -BuildRequires: python3-xml -Requires: python3-xml -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - -%description -Docutils is a modular system for processing documentation into useful formats, -such as HTML, XML, and LaTeX. For input Docutils supports reStructuredText, an -easy-to-read, what-you-see-is-what-you-get plaintext markup syntax. - -%prep -%setup -n docutils-%{version} -%patch0 -p2 -# Fix non-executable scripts: -sed -i "s|#!.*||g" docutils/{math/math2html,_string_template_compat,error_reporting,writers/xetex/__init__,math/latex2mathml}.py docutils/utils/{code_analyzer,punctuation_chars}.py -# Remove useless ".py" ending from executables: -for i in tools/rst*; do mv "$i" "${i/.py}-%{py3_ver}"; done -sed -i "s|'tools/\(rst.*\)\.py'|'tools/\1-%{py3_ver}'|" setup.py - -%build -python3 setup.py build - -%install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} -# Remove unneeded directories: -rm -r %{buildroot}%{python3_sitelib}/test/ -rm -r %{buildroot}%{python3_sitelib}/tools/ - -%files -%defattr(-,root,root,-) -%doc COPYING.txt FAQ.txt HISTORY.txt README.txt THANKS.txt BUGS.txt docs/* licenses -%{_bindir}/rst*-%{py3_ver} -%{python3_sitelib}/docutils/ -%{python3_sitelib}/docutils-%{version}-py%{py3_ver}.egg-info - -%changelog