Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37730160
en ru br
Репозитории ALT
5.1: 1.4.4873-alt1
4.1: 0.2-alt1.1
4.0: 0.2-alt1
www.altlinux.org/Changes

Группа :: Работа с текстами
Пакет: 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 можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin