Summary: The lrz and lsz modem communications programs. Name: lrzsz Version: 0.12.20 Release: 2 Copyright: GPL Group: Applications/Communications Source: http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz #Patch1: lrzsz-0.12.20-glibc21.patch Url: http://www.ohse.de/uwe/software/lrzsz.html Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-root %ifarch ia64 %define DEFCCIA cc %define DEFCC %{DEFCCIA} %else %define DEFCC cc %endif %description Lrzsz (consisting of lrz and lsz) is a cosmetically modified zmodem/ymodem/xmodem package built from the public-domain version of the rzsz package. Lrzsz was created to provide a working GNU copylefted Zmodem solution for Linux systems. You should install lrzsz if you're also installing a Zmodem communications program that uses lrzsz. If you're installing minicom, you need to install lrzsz. %prep %setup -q #%patch1 -p1 -b .glibc21 %build # Use the default compiler for this platform - gcc otherwise if [[ -z "$CC" ]] then if test "X`type %{DEFCC} 2>/dev/null`" != 'X'; then export CC=%{DEFCC} else export CC=gcc fi fi if test "X$CC" != "Xgcc" then export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed 's:-fsigned-char::'` export CFLAGS="$RPM_OPT_FLAGS" fi %configure --disable-pubdir \ --enable-syslog \ --program-transform-name=s/l// make %install rm -rf $RPM_BUILD_ROOT %makeinstall /usr/bin/strip $RPM_BUILD_ROOT%{prefix}/bin/* || : (cd $RPM_BUILD_ROOT for dir in bin do mkdir -p usr/$dir cd usr/$dir ln -sf ../..%{prefix}/$dir/* . cd - done ) %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_bindir}/* /usr/bin/* %{_mandir}/*/* %{_datadir}/locale/*/LC_MESSAGES/* %changelog * Thu Jul 05 2001 Marc Stephenson - Strip executables * Fri Jun 22 2001 Marc Stephenson - Adapted for AIX Toolbox * Wed Jul 12 2000 Prospector - automatic rebuild * Sun Jun 18 2000 Than Ngo - use RPM macros * Sat May 27 2000 Ngo Than - rebuild for 7.0 - cleanup specfile - add Url - put man pages to correct place * Tue Mar 7 2000 Jeff Johnson - rebuild for sparc baud rates > 38400. * Sat Feb 05 2000 Preston Brown - rebuild to compress man pages, get new description * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 2) * Mon Mar 08 1999 Preston Brown - upgraded to 0.12.20, i18n translations included. * Wed Feb 24 1999 Preston Brown - Injected new description and group. * Fri Dec 18 1998 Preston Brown - bumped spec number for initial rh 6.0 build * Sun Aug 16 1998 Jeff Johnson - build root * Thu May 07 1998 Prospector System - translations modified for de, fr, tr * Tue Oct 21 1997 Donnie Barnes - spec file cleanups * Thu Jul 10 1997 Erik Troan - built against glibc * Wed Mar 5 1997 msf@redhat.com - Upgraded to 0.12.14 and changed makefiles so gettext isnt built.