%ifos linux %define _bindir /bin %endif Summary: A GNU stream text editor. Name: sed Version: 4.1.2 Release: 2 Copyright: GPL Group: Applications/Text Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.gz Source1: http://sed.sourceforge.net/sedfaq.txt Prereq: /sbin/install-info Prefix: %{_prefix} Buildroot: %{_tmppath}/%{name}-root # Disabled, beehive doesn't think it has glibc on x86: # Make sure glibc regex has all fixes we need #BuildRequires: glibc >= 2.3.3-27, glibc-devel >= 2.3.3-27 %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 --without-included-regex make %{_smp_mflags} install -m 644 %{SOURCE1} sedfaq.txt echo ====================TESTING========================= make check echo ====================TESTING END===================== %install rm -rf ${RPM_BUILD_ROOT} %makeinstall rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir %find_lang %{name} %post /sbin/install-info %{_infodir}/sed.info.gz %{_infodir}/dir %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/sed.info.gz %{_infodir}/dir fi %clean rm -rf ${RPM_BUILD_ROOT} %files -f %{name}.lang %defattr(-,root,root) %doc BUGS NEWS THANKS README AUTHORS %{_bindir}/sed %{_infodir}/*.info* %{_mandir}/man*/* %changelog * Sat Oct 2 2004 Jakub Jelinek 4.1.2-2 - add sedfaq.txt to %{_docdir} (#16202) * Mon Aug 23 2004 Florian La Roche - update to 4.1.2 * Thu Jul 8 2004 Jakub Jelinek 4.1.1-1 - update to 4.1.1 * Mon Jun 21 2004 Jakub Jelinek 4.1-1 - update to 4.1 * Tue Jun 15 2004 Elliot Lee - rebuilt * Tue May 25 2004 Jakub Jelinek 4.0.9-1 - update to 4.0.9 - BuildRequire recent glibc and glibc-devel (#123043) * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jan 7 2004 Jakub Jelinek 4.0.8-3 - if not -n, print current buffer after N command on the last line unless POSIXLY_CORRECT (#112952) - adjust XFAIL_TESTS for the improved glibc regex implementation (#112642) * Fri Nov 14 2003 Jakub Jelinek 4.0.8-2 - enable --without-included-regex again - use fastmap for regex searching * Sat Oct 25 2003 Florian La Roche - update to 4.0.8 - simplify specfile - disable --without-included-regex to pass the testsuite * Thu Jun 26 2003 Jakub Jelinek 4.0.7-3 - rebuilt * Wed Jun 04 2003 Elliot Lee - rebuilt * Sat Apr 12 2003 Florian La Roche - update to 4.0.7 - use "--without-included-regex" - do not gzip info pages in spec file, "TODO" is not present anymore * Thu Jan 23 2003 Jakub Jelinek 4.0.5-1 - update to 4.0.5 * Tue Oct 22 2002 Jakub Jelinek - rebuilt to fix x86-64 miscompilation - run make check in %%build * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Fri Apr 5 2002 Jakub Jelinek - Remove stale URLs from documentation (#62519) * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Mon Dec 18 2000 Yukihiro Nakai - Update to 2000.11.28 patch - Rebuild for 7.1 tree * Wed Jul 12 2000 Prospector - automatic rebuild * Mon Jun 5 2000 Jeff Johnson - FHS packaging. * 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