Summary: A GNU stream text editor. Name: sed Version: 3.02 Release: 7 Copyright: GPL Group: Applications/Text Source0: ftp://ftp.gnu.org/gnu/sed-%{version}.tar.gz Prefix: %{_prefix} Buildroot: /var/tmp/%{name}-root %description The sed (Stream EDitor) editor is a stream or batch (non-interactive) editor. Sed takes text as input, performs an operation or set of operations on the text and outputs the modified text. The operations that sed performs (substitutions, deletions, insertions, etc.) can be specified in a script file or from the command line. %prep %setup -q %build %configure --exec-prefix=%{_prefix} ./configure --exec-prefix=%{_prefix} --prefix=$RPM_BUILD_ROOT make LDFLAGS=-s CFLAGS=-D_LARGE_FILES %install rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT/%{_prefix} exec_prefix=$RPM_BUILD_ROOT/%{_prefix} install ( cd $RPM_BUILD_ROOT mkdir -p usr/linux/bin ln -sf ../../..%{_prefix}/bin/sed usr/linux/bin/sed gzip -9nf .%{_prefix}/info/sed.info* rm -f .%{_prefix}/info/dir ) %post /sbin/install-info %{_prefix}/info/sed.info.gz %{_prefix}/info/dir %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_prefix}/info/sed.info.gz %{_prefix}/info/dir fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ANNOUNCE BUGS NEWS README TODO %{_prefix}/bin/sed /usr/linux/bin/sed %{_prefix}/info/sed.info* %{_prefix}/man/man1/* %changelog * Tue Apr 03 2001 David Clissold - Build with -D_LARGE_FILES enabled (for >2BG files) * Fri Oct 27 2000 pkgmgr - Modify for AIX Freeware distribution * Mon Feb 7 2000 Jeff Johnson - compress man pages. * Tue Jan 18 2000 Jakub Jelinek - rebuild with glibc 2.1.3 to fix an mmap64 bug in sys/mman.h * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 4) * Tue Aug 18 1998 Jeff Johnson - update to 3.02 * Sun Jul 26 1998 Jeff Johnson - update to 3.01 * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr * Thu Oct 23 1997 Donnie Barnes - removed references to the -g option from the man page that we add * Fri Oct 17 1997 Donnie Barnes - spec file cleanups - added BuildRoot * Mon Jun 02 1997 Erik Troan - built against glibc