Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 905c1677c2b8da7cbf7e09a6a8f140fe > files > 5

word2x-0.005-7mdk.src.rpm

Summary:	A tool to convert Word 6 documents to text
Name:		word2x
Version:	0.005
Release:	7mdk

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

License:	GPL
Group:		Office
URL:		http://word2x.alcom.co.uk
BuildRoot:	%_tmppath/%name-%version-%release-root

%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

%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
* 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.