Summary: Converts text files from CR/LF to LF, and vice-versa Name: tofrodos Version: 1.7.8 Release: 1 Copyright: GNU Group: Utilities/Text URL: http://www.thefreecountry.com/tofrodos/index.shtml Source0: http://tofrodos.sourceforge.net/download/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-aix.patch Packager: Michael Perzl BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: coreutils %description This is a very simple utility to convert Unix style text files to DOS style and vice versa. It exchanges CRLF pairs in DOS files with single LFs in Unix. %prep %setup -q -n %{name} cd src %patch0 %build cd src make CDEBUG="${RPM_OPT_FLAGS} -DUNIX" %install export PATH=/opt/freeware/bin:$PATH cd src 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}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %doc readme.txt %{_bindir}/* %{_mandir}/man1/* /usr/bin/* %changelog * Tue Jun 24 2008 Michael Perzl - 1.7.8-1 - updated to version 1.7.8 * Wed Sep 19 2007 Michael Perzl - 1.7.6-1 - first version for AIX V5.1 and higher