Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37053994
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.95
Release: alt1

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

License: GPL
Group: Office
Url: http://www.wagner.pp.ru/~vitus/software/catdoc/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://ftp.wagner.pp.ru/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

BuildRequires: groff-base groff-ps tcl tk

%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
mkdir -p %buildroot%_man1dir/
%make_install install
install -pD -m755 %SOURCE1 %buildroot%_bindir/xlsview

%files
%_bindir/catdoc
%_bindir/catppt
%_bindir/wordview
%_bindir/xlsview
%_bindir/xls2csv
%_datadir/%name/
%_man1dir/*
%doc README NEWS

%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