pkg://word2x-0.005-8mdv2008.1.src.rpm:232939/word2x.spec
info downloads
Summary: A tool to convert Word 6 documents to text
Name: word2x
Version: 0.005
Release: %mkrel 8
Source0: %name-%version.tar.bz2
Patch0: word2x-make.patch.bz2
Patch1: word2x-0.005-missing-includes.patch.bz2
Patch2: word2x-0.005-c++fixes.patch.bz2
Patch3: word2x-fix-gcc-3.4.patch.bz2
License: GPL
Group: Office
URL: http://word2x.alcom.co.uk
%description
Word2x is a GPLed program for converting Word 6 documents to text
without any Microsoft software to help you, including non-microsoft
operating systems (and therefore no OLE dll's, etc).
The currently supported output formats are plain text, LaTeX and
HTML. The program converts word to a central format and output modules
write the desired target format.
%prep
%setup -q
%patch0 -p1 -b .make
%patch1 -p1 -b .missing-includes
%patch2 -p1 -b .c++fixes
%patch3 -p1 -b .fix_gcc_3_4
%build
CFLAGS="%optflags" CXXFLAGS="%optflags" \
./configure --prefix=%buildroot/%_prefix \
--mandir=%buildroot/%_mandir
%make
%install
install -d %buildroot/%_bindir
install -d %buildroot/%_mandir/man1
%makeinstall
%clean
rm -fr %buildroot
%files
%defattr(-,root,root)
%doc README
%_bindir/*
%_mandir/man1/*
%changelog
* Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.005-8mdv2008.1
+ Revision: 129447
- kill re-definition of %%buildroot on Pixel's request
- use %%mkrel
- import word2x
* Wed Jun 16 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.005-8mdk
- Rebuild
* Fri Sep 06 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.005-7mdk
- rebuild
* Thu May 23 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 0.005-6mdk
- Don't BuildRequires: egcs
- Instead, patch enough of the bogus package to let it compile with gcc3.1.
(Patch1 (missing-includes), Patch2 (c++fixes))
* Sun Apr 01 2001 David BAUDENS <baudens@mandrakesoft.com> 0.005-5mdk
- PPC: build with gcc
- Alpha abd %%ix86: BuildRequires: egcs
* Sat Jan 06 2001 David BAUDENS <baudens@mandrakesoft.com> 0.005-4mdk
- Fix build (use egcs)
- Add documentation
- Use optimizations
- Spec clean up
* Wed Sep 20 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.005-3mdk
- bm & macros
* Thu May 04 2000 Lenny Cartier <lenny@mandrakesoft.com> 0.005-2mdk
- fix group and files section
- fix permission on sources
* Mon Sep 6 1999 Giuseppe Ghibò <ghibo@linux-mandrake.com>
- First spec file for Mandrake distribution.