diff --git a/.cvsignore b/.cvsignore index e69de29..a6716d3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +antiword-0.35.tar.gz diff --git a/antiword-0.32-fix-flags.patch b/antiword-0.32-fix-flags.patch new file mode 100644 index 0000000..a2ae3d8 --- /dev/null +++ b/antiword-0.32-fix-flags.patch @@ -0,0 +1,11 @@ +--- ./Makefile.gege Sat Jul 21 21:58:03 2001 ++++ ./Makefile Mon Oct 15 16:56:48 2001 +@@ -8,7 +8,7 @@ + # must be equal to DEBUG or NDEBUG + DB = NDEBUG + # Optimization: -O or debugging: -g +-OPT = -O2 ++# OPT = -O2 + + LDLIBS = + diff --git a/antiword.spec b/antiword.spec new file mode 100644 index 0000000..beb5dfd --- /dev/null +++ b/antiword.spec @@ -0,0 +1,101 @@ +# $Id: antiword.spec,v 1.1 2004/11/08 04:02:34 cvsextras Exp $ + +Summary: MS Word to ASCII/Postscript converter +Name: antiword +Version: 0.35 +Release: 0.fdr.1.rh80 +Epoch: 0 +Source: http://www.winfield.demon.nl/linux/%{name}-%{version}.tar.gz +URL: http://www.winfield.demon.nl/ +Patch0: antiword-0.32-fix-flags.patch +License: GPL +Group: Applications/Text +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +#--------------------------------------------------------------------- + +%description +Antiword is a free MS-Word reader for Linux, BeOS and RISC OS. It converts +the documets from Word 6, 7, 97 and 2000 to ASCII and Postscript. Antiword +tries to keep the layout of the document intact. + +#--------------------------------------------------------------------- + +%prep +%setup -q +%patch0 -p0 +%{__chmod} a+r * Resources/* Docs/* + +#--------------------------------------------------------------------- + +%build +OPT="$RPM_OPT_FLAGS" make all %{?_smp_mflags} + +#--------------------------------------------------------------------- + +%install +%{__rm} -rf $RPM_BUILD_ROOT +%{__mkdir_p} $RPM_BUILD_ROOT%{_bindir} +%{__install} -m 755 antiword $RPM_BUILD_ROOT%{_bindir} +%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/%{name} +%{__cp} -a Resources/* $RPM_BUILD_ROOT%{_datadir}/%{name} +%{__mkdir_p} $RPM_BUILD_ROOT%{_mandir}/man1 +%{__cp} Docs/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 + +#--------------------------------------------------------------------- + +%clean +rm -rf $RPM_BUILD_ROOT + +#--------------------------------------------------------------------- + +%files +%defattr(-,root,root) +%doc Docs/COPYING Docs/FAQ Docs/ReadMe Docs/Netscape +%{_bindir}/* +%{_mandir}/*/* +%{_datadir}/%{name} + +#--------------------------------------------------------------------- + +%changelog +* Wed Jul 14 2004 Adrian Reber - 0:0.35-0.fdr.1 +- updated to 0.35 +- better spec file + +* Wed Apr 23 2003 Adrian Reber - 0.33-0.fdr.2 +- s/$RPM_BUILD_ROOT/%{buildroot}/ +- Epoch:0 added +- make %{?_smp_mflags} +- removed unnecessary Prefix: %{_prefix} +- fixed group +- applied more of the fedora spec template + +* Tue Feb 25 2003 Adrian Reber - 0.33-0.fdr.1 +- applied fedora naming conventions + +* Sun Dec 22 2002 Adrian Reber +- updated to 0.33 +- demandrakefied + +* Fri Feb 22 2002 Guillaume Cottenceau 0.32-2mdk +- rebuild to fix invalid-packager + +* Mon Oct 15 2001 Guillaume Cottenceau 0.32-1mdk +- new version +- fix obsolete-tag Copyright + +* Sat Jun 23 2001 Guillaume Cottenceau 0.31-2mdk +- have the resources files findable by default by the binary +- use our flags +- install man page + +* Thu Jan 04 2001 Lenny Cartier 0.31-1mdk +- updated to 0.31 + +* Thu Jul 27 2000 Lenny Cartier 0.30-2mdk +- BM +- macros + +* Thu Jul 13 2000 rufus t firefly 0.30-1mdk + - v0.30 (initial packaging from freshmeat) diff --git a/sources b/sources index e69de29..dfef7c1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f372214081853c8336e96cb9bede26af antiword-0.35.tar.gz