Группа :: Работа с текстами
Пакет: ooopy
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: ooopy
Version: 1.4.4873
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://prdownloads.sf.net/ooopy/OOoPy-%version.tar.bz2
# Automatically added by buildreq on Sat Jul 05 2008
BuildRequires: python-devel
BuildPreReq: rpm-build-compat >= 1.2
%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_build
%install
%python_install
mkdir -p %buildroot%_bindir
cat >%buildroot%_bindir/%name <<EOF
#!/bin/sh
%_bindir/env python %python_sitelibdir/%modulename/OOoPy.py
EOF
%files
%doc README*
%_bindir/*
%python_sitelibdir/%modulename/
%_datadir/%name/
%changelog
…
Полный changelog можно просмотреть здесь
Version: 1.4.4873
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://prdownloads.sf.net/ooopy/OOoPy-%version.tar.bz2
# Automatically added by buildreq on Sat Jul 05 2008
BuildRequires: python-devel
BuildPreReq: rpm-build-compat >= 1.2
%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_build
%install
%python_install
mkdir -p %buildroot%_bindir
cat >%buildroot%_bindir/%name <<EOF
#!/bin/sh
%_bindir/env python %python_sitelibdir/%modulename/OOoPy.py
EOF
%files
%doc README*
%_bindir/*
%python_sitelibdir/%modulename/
%_datadir/%name/
%changelog
…
Полный changelog можно просмотреть здесь