1 Summary: MSWord Document to TXT/Postscript converter
2 Summary(pl): Konwerter dokumentów MSWord do TXT/Postscript
7 Group: Applications/Text
8 Group(de): Applikationen/Text
9 Group(fr): Utilitaires/Texte
10 Group(pl): Aplikacje/Tekst
11 Source0: http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz
12 Patch0: %{name}-opt.patch
13 Patch1: %{name}-globalconf.patch
14 URL: http://www.winfield.demon.nl/index.html
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Antiword is a free MS-Word reader for Linux, BeOS and RISC OS. It
19 converts the documents from Word 6, 7, 97 and 2000 to text and
20 Postscript. Antiword tries to keep the layout of the document intact.
23 Antiword to darmowy czytnik dokumentów MS-Word dla Linuxa, BeOS i RISC
24 OS. Konwertuje on dokumenty z Worda 6, 7, 97 oraz 2000 do tekstu oraz
25 Postscriptu. Antiword próbuje utrzymaæ formê dokumentu nietkniêt±.
28 %setup -q -n %{name}.%{version}
33 OPT="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" %{__make}
36 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_datadir}/antiword}
40 install %{name} $RPM_BUILD_ROOT%{_bindir}
41 install Docs/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
42 install Resources/* $RPM_BUILD_ROOT%{_datadir}/antiword
44 rm -f Docs/{*.1,COPYING}
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %attr(755,root,root) %{_bindir}/*