1 2%define version 0.33 3%define release 1 4%define name antiword 5 6Summary: an application to display Microsoft(R) Word files. 7Name: %{name} 8Version: %{version} 9Release: %{release} 10License: GPL 11Group: Applications/Text 12Source: http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz 13URL: http://www.winfield.demon.nl/index.html 14BuildRoot: /var/tmp/%{name}-%{version} 15Packager: marco antonio cabazal <nightshiphter@yahoo.com> 16 17%description 18Antiword is a free MS Word reader for Linux and RISC OS. There are ports to 19BeOS, OS/2, Mac OS X, Amiga, VMS, NetWare and DOS. Antiword converts the 20binary files from Word 2, 6, 7, 97, 2000 and 2002 to plain text and to 21PostScript TM. 22. 23 24%prep 25# nothing to be done here 26 27%build 28make all 29 30%install 31rm -rf $RPM_BUILD_ROOT 32install -d 555 $RPM_BUILD_ROOT/%{_prefix}/bin 33install -d 555 $RPM_BUILD_ROOT/%{_prefix}/share/antiword 34install -d 555 $RPM_BUILD_ROOT/%{_prefix}/share/man/man1 35install -m 555 ./antiword $RPM_BUILD_ROOT%{_prefix}/bin/antiword 36install -m 555 ./kantiword $RPM_BUILD_ROOT%{_prefix}/bin/kantiword 37install -m 444 ./Resources/* $RPM_BUILD_ROOT%{_prefix}/share/antiword 38install -m 444 ./Docs/antiword.1 $RPM_BUILD_ROOT/%{_prefix}/share/man/man1/antiword.1 39 40%clean 41rm -rf $RPM_BUILD_ROOT 42 43%files 44%defattr(-,root,root) 45%doc Docs/* 46%{_prefix}/bin/* 47%{_prefix}/share/antiword/* 48%{_prefix}/share/man/man1/* 49 50