cvsdist 288337b
Summary: A GNU stream text editor.
cvsdist 288337b
Name: sed
cvsdist 288337b
Version: 3.02
cvsdist a23feb2
Release: 13
cvsdist 288337b
Copyright: GPL
cvsdist 288337b
Group: Applications/Text
cvsdist 288337b
Source0: ftp://prep.ai.mit.edu/pub/gnu/sed-%{version}.tar.gz
cvsdist 8f7e418
Patch0: http://member.nifty.ne.jp/wills/program/sedmb109.diff.gz
cvsdist 391c006
Patch1: sed-3.02-doc.patch
cvsdist 288337b
Prereq: /sbin/install-info
cvsdist 288337b
Prefix: %{_prefix}
cvsdist 288337b
Buildroot: %{_tmppath}/%{name}-root
cvsdist 288337b
cvsdist 288337b
%description
cvsdist 288337b
The sed (Stream EDitor) editor is a stream or batch (non-interactive)
cvsdist 288337b
editor.  Sed takes text as input, performs an operation or set of
cvsdist 288337b
operations on the text and outputs the modified text.  The operations
cvsdist 288337b
that sed performs (substitutions, deletions, insertions, etc.) can be
cvsdist 288337b
specified in a script file or from the command line.
cvsdist 288337b
cvsdist 288337b
%prep
cvsdist 288337b
%setup -q
cvsdist 391c006
%patch1 -p1
cvsdist 288337b
cvsdist 288337b
%build
cvsdist 288337b
cvsdist 288337b
%configure
cvsdist 288337b
make
cvsdist 288337b
cvsdist 288337b
%install
cvsdist 288337b
rm -rf ${RPM_BUILD_ROOT}
cvsdist 288337b
cvsdist 288337b
%makeinstall
cvsdist 288337b
cvsdist 288337b
{ cd ${RPM_BUILD_ROOT}
cvsdist 288337b
cvsdist 288337b
%ifos linux
cvsdist 288337b
  mkdir -p ./bin
cvsdist 288337b
  mv .%{_bindir}/sed ./bin/sed
cvsdist 288337b
  rmdir .%{_bindir}
cvsdist 288337b
%endif
cvsdist 288337b
cvsdist 288337b
  gzip -9nf .%{_infodir}/sed.info*
cvsdist 288337b
  rm -f .%{_infodir}/dir
cvsdist 288337b
}
cvsdist 288337b
cvsdist 288337b
%post
cvsdist 288337b
/sbin/install-info %{_infodir}/sed.info.gz %{_infodir}/dir
cvsdist 288337b
cvsdist 288337b
%preun
cvsdist 288337b
if [ $1 = 0 ]; then
cvsdist 288337b
   /sbin/install-info --delete %{_infodir}/sed.info.gz %{_infodir}/dir
cvsdist 288337b
fi
cvsdist 288337b
cvsdist 288337b
%clean
cvsdist 288337b
rm -rf ${RPM_BUILD_ROOT}
cvsdist 288337b
cvsdist 288337b
%files
cvsdist 288337b
%defattr(-,root,root)
cvsdist 288337b
%doc ANNOUNCE BUGS NEWS README TODO
cvsdist 288337b
%ifos linux
cvsdist 288337b
/bin/sed 
cvsdist 288337b
%else
cvsdist 288337b
%{_bindir}/sed
cvsdist 288337b
%endif
cvsdist 288337b
%{_infodir}/*.info*
cvsdist 288337b
%{_mandir}/man*/*
cvsdist 288337b
cvsdist 288337b
%changelog
cvsdist a23feb2
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist a23feb2
- automated rebuild
cvsdist a23feb2
cvsdist 117d48c
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 117d48c
- automated rebuild
cvsdist 117d48c
cvsdist 391c006
* Fri Apr  5 2002 Jakub Jelinek <jakub@redhat.com>
cvsdist 391c006
- Remove stale URLs from documentation (#62519)
cvsdist 391c006
cvsdist 0854576
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 0854576
- Bump release + rebuild.
cvsdist 0854576
cvsdist 8f7e418
* Mon Dec 18 2000 Yukihiro Nakai <ynakai@redhat.com>
cvsdist 8f7e418
- Update to 2000.11.28 patch
cvsdist 8f7e418
- Rebuild for 7.1 tree
cvsdist 8865bba
cvsdist 288337b
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 288337b
- automatic rebuild
cvsdist 288337b
cvsdist 288337b
* Mon Jun  5 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 288337b
- FHS packaging.
cvsdist 288337b
cvsdist 288337b
* Mon Feb  7 2000 Jeff Johnson <jbj@redhat.com>
cvsdist 288337b
- compress man pages.
cvsdist 288337b
cvsdist 288337b
* Tue Jan 18 2000 Jakub Jelinek <jakub@redhat.com>
cvsdist 288337b
- rebuild with glibc 2.1.3 to fix an mmap64 bug in sys/mman.h
cvsdist 288337b
cvsdist 288337b
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 288337b
- auto rebuild in the new build environment (release 4)
cvsdist 288337b
cvsdist 288337b
* Tue Aug 18 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 288337b
- update to 3.02
cvsdist 288337b
cvsdist 288337b
* Sun Jul 26 1998 Jeff Johnson <jbj@redhat.com>
cvsdist 288337b
- update to 3.01
cvsdist 288337b
cvsdist 288337b
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
cvsdist 288337b
- translations modified for de, fr, tr
cvsdist 288337b
cvsdist 288337b
* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
cvsdist 288337b
- removed references to the -g option from the man page that we add
cvsdist 288337b
cvsdist 288337b
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
cvsdist 288337b
- spec file cleanups
cvsdist 288337b
- added BuildRoot
cvsdist 288337b
cvsdist 288337b
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
cvsdist 288337b
- built against glibc