Группа :: Работа с текстами
Пакет: ooopy
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: ooopy
Version: 0.2
Release: alt1
Summary: OOoPy: Modify OpenOffice.org documents in Python
License: GPL
Group: Text tools
Url: http://ooopy.sourceforge.net/
BuildArch: noarch
Packager: Vitaly Lipatov <lav at altlinux.ru>
%setup_python_module %name
Source: http://dl.sf.net/ooopy/OOoPy-%version.tar.bz2
# manually removed: eric
# Automatically added by buildreq on Tue Nov 01 2005
BuildRequires: python-base python-dev python-modules-compiler python-modules-encodings
%description
OpenOffice.org (OOo) documents are ZIP archives containing several XML
files. Therefore it is easy to inspect, create, or modify OOo
documents. OOoPy is a library in Python for these tasks with OOo
documents. To not reinvent the wheel, OOoPy uses an existing XML
library, ElementTree_ by Fredrik Lundh. OOoPy is a thin wrapper around
ElementTree_ using Python's ZipFile to read and write OOo documents.
%prep
%setup -q -n OOoPy-%version
%build
python setup.py build
%install
python setup.py install --root=%buildroot
%__mkdir_p %buildroot%_bindir
cat >%buildroot%_bindir/%name <<EOF
#!/bin/sh
/usr/bin/env python %python_sitelibdir/%modulename/OOoPy.py
EOF
%files
%doc README*
%python_sitelibdir/%modulename
%_datadir/%name
%attr (0755, root, root) %_bindir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.2
Release: alt1
Summary: OOoPy: Modify OpenOffice.org documents in Python
License: GPL
Group: Text tools
Url: http://ooopy.sourceforge.net/
BuildArch: noarch
Packager: Vitaly Lipatov <lav at altlinux.ru>
%setup_python_module %name
Source: http://dl.sf.net/ooopy/OOoPy-%version.tar.bz2
# manually removed: eric
# Automatically added by buildreq on Tue Nov 01 2005
BuildRequires: python-base python-dev python-modules-compiler python-modules-encodings
%description
OpenOffice.org (OOo) documents are ZIP archives containing several XML
files. Therefore it is easy to inspect, create, or modify OOo
documents. OOoPy is a library in Python for these tasks with OOo
documents. To not reinvent the wheel, OOoPy uses an existing XML
library, ElementTree_ by Fredrik Lundh. OOoPy is a thin wrapper around
ElementTree_ using Python's ZipFile to read and write OOo documents.
%prep
%setup -q -n OOoPy-%version
%build
python setup.py build
%install
python setup.py install --root=%buildroot
%__mkdir_p %buildroot%_bindir
cat >%buildroot%_bindir/%name <<EOF
#!/bin/sh
/usr/bin/env python %python_sitelibdir/%modulename/OOoPy.py
EOF
%files
%doc README*
%python_sitelibdir/%modulename
%_datadir/%name
%attr (0755, root, root) %_bindir/*
%changelog
…
Полный changelog можно просмотреть здесь