From 7f1546930321bb0b88eb30c92a390dbe0d939f14 Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Dec 12 2007 10:24:08 +0000 Subject: - rebuilt for EL-5 branch - added dist tag - fixed a few rpmlint warnings --- diff --git a/antiword.spec b/antiword.spec index 9712b94..e82441a 100644 --- a/antiword.spec +++ b/antiword.spec @@ -1,13 +1,14 @@ Summary: MS Word to ASCII/Postscript converter Name: antiword Version: 0.37 -Release: 4 +Release: 5%{?dist} 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: GPLv2+ Group: Applications/Text BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: /usr/bin/iconv %description Antiword is a free MS-Word reader for Linux, BeOS and RISC OS. It converts @@ -31,6 +32,10 @@ OPT="$RPM_OPT_FLAGS" make all %{?_smp_mflags} %{__mkdir_p} $RPM_BUILD_ROOT%{_mandir}/man1 %{__cp} Docs/*.1 $RPM_BUILD_ROOT%{_mandir}/man1 %{__chmod} 644 kantiword +iconv -f iso-8859-1 -t utf-8 Docs/antiword.php > Docs/antiword.php.utf8 +iconv -f iso-8859-1 -t utf-8 Docs/Netscape > Docs/Netscape.utf8 +%{__mv} Docs/antiword.php.utf8 Docs/antiword.php +%{__mv} Docs/Netscape.utf8 Docs/Netscape %clean %{__rm} -rf $RPM_BUILD_ROOT @@ -45,6 +50,11 @@ OPT="$RPM_OPT_FLAGS" make all %{?_smp_mflags} %{_datadir}/%{name} %changelog +* Wed Dec 12 2007 Adrian Reber - 0.37-5 +- rebuilt for EL-5 branch +- added dist tag +- fixed a few rpmlint warnings + * Fri Aug 24 2007 Adrian Reber - 0.37-4 - rebuilt @@ -71,10 +81,10 @@ OPT="$RPM_OPT_FLAGS" make all %{?_smp_mflags} - better spec file * Wed Apr 23 2003 Adrian Reber - 0.33-0.fdr.2 -- s/$RPM_BUILD_ROOT/%{buildroot}/ +- s/$RPM_BUILD_ROOT/%%{buildroot}/ - Epoch:0 added -- make %{?_smp_mflags} -- removed unnecessary Prefix: %{_prefix} +- make %%{?_smp_mflags} +- removed unnecessary Prefix: %%{_prefix} - fixed group - applied more of the fedora spec template