Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37552479
en ru br
ALT Linux repos
S:0.95-alt1
5.0: 0.94.2-alt1
4.1: 0.94.2-alt1
4.0: 0.94.2-alt1
3.0: 0.93.4-alt3

Group :: Office
RPM: catdoc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: catdoc
Version: 0.93.4
Release: alt3

Summary: Converts MS-Word and MS-Excel files to text

License: GPL
Group: Office
Url: http://www.45.free.net/~vitus/ice/catdoc/

Source0: ftp://ftp.45.free.net/pub/catdoc/%name-%version.tar.bz2
Source1: xlsview

Patch1: catdoc-0.93.4-page-option.patch
Patch2: catdoc-fix-broken-formatting.patch
Requires: tk, mktemp >= 1:1.3.1, url_handler
# Automatically added by buildreq on Thu Dec 09 2004
BuildRequires: groff-base groff-ps tcl tk xorg-x11-libs

%description
CATDOC is program which reads MS-Word file and prints readable
ASCII text to stdout, just like Unix cat command.
It also able to produce correct escape sequences if some UNICODE
charachers have to be represented specially in your typesetting system
such as (La)TeX.

It features runtime configuration, proper charset handling,
user-definable output formats and support
for Word97 files, which contain UNICODE internally.

xls2csv reads MS-Excel spreadsheet and dumps its content as
comma-separated values to stdout.

%prep
%setup -q
%patch1 -p1
%patch2 -p1
export man1dir=%_man1dir
%configure --with-install-root="%buildroot"

%build
%make_build

%install
%make_install install
install -pD -m755 %SOURCE1 %buildroot%_bindir/xlsview

%files
%_bindir/*
%_datadir/%name
%_mandir/man?/*
%doc README NEWS CREDITS

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin