1 Summary: Reads MS-Word file and puts its content as plain text on standard output
2 Summary(pl.UTF-8): Program konwertujący pliki MS Worda na czysty tekst
7 Group: Applications/Text
8 Source0: http://ftp.wagner.pp.ru/pub/catdoc/%{name}-%{version}.tar.gz
9 # Source0-md5: 4ece2f43b140fab6a2c3a9d6436d7779
10 Patch0: %{name}-opt.patch
11 Patch1: %{name}-make.patch
12 URL: http://www.wagner.pp.ru/~vitus/software/catdoc/
13 BuildRequires: autoconf
14 BuildRequires: automake
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 CATDOC is program which reads MS-Word file and prints readable ASCII
20 text to stdout, just like Unix cat command. It is also able to produce
21 correct escape sequences if some UNICODE characters have to be
22 represented specially in your typesetting system such as (La)TeX.
24 %description -l pl.UTF-8
25 catdoc jest programem czytającym dokumenty MS-Worda i wypisującym
26 tekst ASCII na standardowe wyjście, podobnie jak komenda cat. Może
27 także tworzyć poprawne sekwencje dla niektórych znaków unikodowych
28 reprezentowanych specjalnie w systemie składu, jak np. (La)TeX.
36 cp -f /usr/share/automake/config.sub .
40 --with-wish=/usr/bin/wish
45 rm -rf $RPM_BUILD_ROOT
47 %{__make} -j1 install \
48 installroot=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/catdoc
57 %attr(755,root,root) %{_bindir}/catppt
58 %attr(755,root,root) %{_bindir}/wordview
59 %attr(755,root,root) %{_bindir}/xls2csv
61 %{_mandir}/man1/catdoc.1*
62 %{_mandir}/man1/catppt.1*
63 %{_mandir}/man1/wordview.1*
64 %{_mandir}/man1/xls2csv.1*