Hello community,
here is the log from the commit of package python-odfpy for openSUSE:Factory
checked in at Tue Mar 8 10:58:28 CET 2011.
--------
--- python-odfpy/python-odfpy.changes 2010-08-27 10:06:36.000000000 +0200
+++ /mounts/work_src_done/STABLE/python-odfpy/python-odfpy.changes 2011-03-03 10:05:09.000000000 +0100
@@ -1,0 +2,9 @@
+Thu Mar 3 08:56:50 UTC 2011 - saschpe@suse.de
+
+- Update to 0.9.3:
+ * No changelog
+- Spec file cleanup:
+ * Removed empty lines, fixed indentation and license header
+ * No Perl build dependency
+
+-------------------------------------------------------------------
@@ -11 +19,0 @@
-
@@ -17 +24,0 @@
-
@@ -23 +29,0 @@
-
calling whatdependson for head-i586
Old:
----
odfpy-0.9.2.tar.bz2
New:
----
odfpy-0.9.3.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-odfpy.spec ++++++
--- /var/tmp/diff_new_pack.SYX4Ux/_old 2011-03-08 10:42:17.000000000 +0100
+++ /var/tmp/diff_new_pack.SYX4Ux/_new 2011-03-08 10:42:17.000000000 +0100
@@ -17,50 +17,74 @@
# norootforbuild
-%define real_name odfpy
-#
-#
-
-Name: python-%{real_name}
-Group: Development/Libraries/Python
-Version: 0.9.2
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
+
+%define mod_name odfpy
+
+Name: python-%{mod_name}
+Version: 0.9.3
Release: 1
-License: dual license(GPLv2+ | ASLv2.0)
-Summary: Tools and Python API for manipulating OASIS ODF documents
-AutoReqProv: on
-Source: %{real_name}-%{version}.tar.bz2
+Url: http://opendocumentfellowship.com/development/projects/odfpy
+Summary: Python API and tools to manipulate OpenDocument files
+License: GPLv2+, ASLv2
+Group: Development/Languages/Python
+Source: %{mod_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildRequires: perl python python-setuptools
-%if 0%{?suse_version} >= 1120
+BuildRequires: python-devel
+BuildRequires: python-setuptools
+%if 0%{?suse_version}
+%py_requires
+%if 0%{?suse_version} > 1110
BuildArch: noarch
%endif
-Url: http://opendocumentfellowship.com/projects/odfpy
-# Packager: Ciaran Farrell
-%{py_requires}
+%endif
%description
-odfpy aims to be a complete API for OpenDocument in Python. Unlike other more
-convenient APIs, this one is essentially an abstraction layer just above the
-XML format. The main focus has been to prevent the programmer from creating
-invalid documents. It has checks that raise an exception if the programmer
-adds an invalid element, adds an attribute unknown to the grammar, forgets
-to add a required attribute or adds text to an element that doesn't allow it.
+Odfpy is a library to read and write OpenDocument v. 1.1 files.
+The main focus has been to prevent the programmer from creating invalid
+documents. It has checks that raise an exception if the programmer adds
+an invalid element, adds an attribute unknown to the grammar, forgets to
+add a required attribute or adds text to an element that doesn't allow it.
+
+These checks and the API itself were generated from the RelaxNG
+schema, and then hand-edited. Therefore the API is complete and can
+handle all ODF constructions.
+
+In addition to the API, there are a few scripts:
+
+- csv2odf - Create OpenDocument spreadsheet from comma separated values
+- mailodf - Email ODF file as HTML archive
+- odf2xhtml - Convert ODF to (X)HTML
+- odf2mht - Convert ODF to HTML archive
+- odf2xml - Create OpenDocument XML file from OD? package
+- odfimgimport - Import external images
+- odflint - Check ODF file for problems
+- odfmeta - List or change the metadata of an ODF file
+- odfoutline - Show outline of OpenDocument
+- odfuserfield - List or change the user-field declarations in an ODF file
+- xml2odf - Create OD? package from OpenDocument in XML form
+
+Visit http://odfpy.forge.osor.eu/ for documentation and examples.
%prep
-%setup -n %{real_name}-%{version}
+%setup -q -n %{mod_name}-%{version}
%build
-export CFLAGS="$RPM_OPT_FLAGS"
+export CFLAGS="%{optflags}"
python setup.py build
%install
-python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
-perl -p -i -e 's|(.*/man/.*)|${1}*|g' INSTALLED_FILES
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
-%files -f INSTALLED_FILES
-%defattr(-,root,root)
+%files
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{_mandir}/man1/*
+%python_sitelib/odf*
+%python_sitelib/*.egg-info
%changelog
++++++ odfpy-0.9.2.tar.bz2 -> odfpy-0.9.3.tar.bz2 ++++++
++++ 2449 lines of diff (skipped)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org