Name: unrtf Summary: RTF to other formats converter Version: 0.20.5 Release: 1 Group: Applications/Text License: GPLv2+ URL: http://www.gnu.org/software/%{name}/%{name}.html Source0: http://www.gnu.org/software/%{name}/%{name}-%{version}.tar.gz Source1: http://www.gnu.org/software/%{name}/%{name}-%{version}.tar.gz.sig Patch0: %{name}-%{version}-aix.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root %description UnRTF is a moderately complicated converter from RTF to other formats, including HTML, LaTeX, text, and PostScript. Converting to HTML, it supports tables, fonts, colors, embedded images, hyperlinks, paragraph alignment among other things. All other conversions are "alpha"--just begun. %prep %setup -q %patch0 %build ./configure \ --prefix=%{_prefix} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %files %defattr(-,root,system,-) %doc README ChangeLog COPYING AUTHORS NEWS %{_bindir}/* %{_mandir}/man1/* /usr/bin/* %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %changelog * Fri May 16 2008 Michael Perzl - 0.20.5-1 - First version for AIX5L v5.1 and higher