Name: odt2txt Version: 0.4 Release: 2mamba Summary: Converts an OpenDocument or OpenOffice.org XML File to raw text Group: Applications/Text Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://stosberg.net/odt2txt/ Source0: http://stosberg.net/odt2txt/odt2txt-%{version}.tar.gz Patch0: odt2txt-0.4-Makefile.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description odt2txt is a command-line tool which extracts the text out of OpenDocument Texts produced by OpenOffice.org, StarOffice, KOffice and others. odt2txt can also extract text from some file formats similar to OpenDocument Text, such as OpenOffice.org XML (*.sxw), which was used by OpenOffice.org version 1.x and older StarOffice versions. To a lesser extend, odt2txt may be useful to extract content from OpenDocument spreadsheets (*.ods) and OpenDocument presentations (*.odp). Features: * small * supports multiple output encodings * adopts to your locale * able to substitute common characters which the output charset does not contain with ascii look-a-likes * written in C, has few dependencies * portable (runs on Linux, *BSD, Mac OS X, Windows, Cygwin, Solaris, HP-UX) * licensed under GPL, version 2 %prep %setup -q %patch0 %build %make CFLAGS="$RPM_OPT_FLAGS" %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/odt2txt %{_mandir}/man1/odt2txt.1.gz %doc GPL-2 %changelog * Tue Oct 09 2012 Silvan Calarco 0.4-2mamba - rebuilt in devel * Thu Oct 21 2010 gil 0.4-1mamba - package created by autospec