cvsdist dc295e9
%ifos linux
cvsdist dc295e9
%define _bindir /bin
cvsdist dc295e9
%endif
cvsdist dc295e9
cvsdist 288337b
Summary: A GNU stream text editor.
cvsdist 288337b
Name: sed
cvsdist 1e36626
Version: 4.1.2
72b4635
Release: 3
cvsdist 288337b
Copyright: GPL
cvsdist 288337b
Group: Applications/Text
cvsdist e943939
Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.gz
1bfe7ce
Source1: http://sed.sourceforge.net/sedfaq.txt
cvsdist 288337b
Prereq: /sbin/install-info
cvsdist 288337b
Prefix: %{_prefix}
cvsdist 288337b
Buildroot: %{_tmppath}/%{name}-root
cvsdist 1e36626
# Disabled, beehive doesn't think it has glibc on x86:
cvsdist 619f5e7
# Make sure glibc regex has all fixes we need
cvsdist 1e36626
#BuildRequires: glibc >= 2.3.3-27, glibc-devel >= 2.3.3-27
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 288337b
cvsdist 288337b
%build
cvsdist cc78b77
%configure --without-included-regex
cvsdist e943939
make %{_smp_mflags}
1bfe7ce
install -m 644 %{SOURCE1} sedfaq.txt
72b4635
gzip -9 sedfaq.txt
cvsdist e943939
cvsdist e943939
echo ====================TESTING=========================
cvsdist e943939
make check
cvsdist e943939
echo ====================TESTING END=====================
cvsdist 288337b
cvsdist 288337b
%install
cvsdist 288337b
rm -rf ${RPM_BUILD_ROOT}
cvsdist 288337b
cvsdist 288337b
%makeinstall
cvsdist dc295e9
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
cvsdist e943939
cvsdist e943939
%find_lang %{name}
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 e943939
%files -f %{name}.lang
cvsdist 288337b
%defattr(-,root,root)
72b4635
%doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz
cvsdist 288337b
%{_bindir}/sed
cvsdist 288337b
%{_infodir}/*.info*
cvsdist 288337b
%{_mandir}/man*/*
cvsdist 288337b
cvsdist 288337b
%changelog
72b4635
* Sat Oct  2 2004 Jakub Jelinek <jakub@redhat.com> 4.1.2-3
1bfe7ce
- add sedfaq.txt to %{_docdir} (#16202)
1bfe7ce
cvsdist 1e36626
* Mon Aug 23 2004 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist 1e36626
- update to 4.1.2
cvsdist 1e36626
cvsdist c78a8c9
* Thu Jul  8 2004 Jakub Jelinek <jakub@redhat.com> 4.1.1-1
cvsdist c78a8c9
- update to 4.1.1
cvsdist c78a8c9
cvsdist c18eeae
* Mon Jun 21 2004 Jakub Jelinek <jakub@redhat.com> 4.1-1
cvsdist c18eeae
- update to 4.1
cvsdist c18eeae
cvsdist c23d565
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist c23d565
- rebuilt
cvsdist c23d565
cvsdist 619f5e7
* Tue May 25 2004 Jakub Jelinek <jakub@redhat.com> 4.0.9-1
cvsdist 619f5e7
- update to 4.0.9
cvsdist 619f5e7
- BuildRequire recent glibc and glibc-devel (#123043)
cvsdist 619f5e7
cvsdist 4007308
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 4007308
- rebuilt
cvsdist 4007308
cvsdist 3c13162
* Wed Jan  7 2004 Jakub Jelinek <jakub@redhat.com> 4.0.8-3
cvsdist 3c13162
- if not -n, print current buffer after N command on the last line
cvsdist 3c13162
  unless POSIXLY_CORRECT (#112952)
cvsdist 3c13162
- adjust XFAIL_TESTS for the improved glibc regex implementation
cvsdist 3c13162
  (#112642)
cvsdist 3c13162
cvsdist cc78b77
* Fri Nov 14 2003 Jakub Jelinek <jakub@redhat.com> 4.0.8-2
cvsdist cc78b77
- enable --without-included-regex again
cvsdist cc78b77
- use fastmap for regex searching
cvsdist cc78b77
cvsdist dc295e9
* Sat Oct 25 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist dc295e9
- update to 4.0.8
cvsdist dc295e9
- simplify specfile
cvsdist dc295e9
- disable --without-included-regex to pass the testsuite
cvsdist dc295e9
cvsdist dc295e9
* Thu Jun 26 2003 Jakub Jelinek <jakub@redhat.com> 4.0.7-3
cvsdist dc295e9
- rebuilt
cvsdist dc295e9
cvsdist dc295e9
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist dc295e9
- rebuilt
cvsdist dc295e9
cvsdist dc295e9
* Sat Apr 12 2003 Florian La Roche <Florian.LaRoche@redhat.de>
cvsdist dc295e9
- update to 4.0.7
cvsdist dc295e9
- use "--without-included-regex"
cvsdist dc295e9
- do not gzip info pages in spec file, "TODO" is not present anymore
cvsdist dc295e9
cvsdist e943939
* Thu Jan 23 2003 Jakub Jelinek <jakub@redhat.com> 4.0.5-1
cvsdist e943939
- update to 4.0.5
cvsdist e943939
cvsdist e943939
* Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com>
cvsdist e943939
- rebuilt to fix x86-64 miscompilation
cvsdist e943939
- run make check in %%build
cvsdist e943939
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