2004-09-09 12:11:57 +00:00
|
|
|
%ifos linux
|
|
|
|
%define _bindir /bin
|
|
|
|
%endif
|
|
|
|
|
2004-09-09 12:09:07 +00:00
|
|
|
Summary: A GNU stream text editor.
|
|
|
|
Name: sed
|
2006-02-06 08:39:50 +00:00
|
|
|
Version: 4.1.5
|
2006-08-02 11:47:08 +00:00
|
|
|
Release: 4%{?dist}
|
2005-03-05 19:56:43 +00:00
|
|
|
License: GPL
|
2004-09-09 12:09:07 +00:00
|
|
|
Group: Applications/Text
|
2004-09-09 12:11:28 +00:00
|
|
|
Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.gz
|
2004-10-02 19:01:05 +00:00
|
|
|
Source1: http://sed.sourceforge.net/sedfaq.txt
|
2006-08-03 13:36:23 +00:00
|
|
|
Patch0: sed-4.1.5-utf8performance.patch
|
|
|
|
Patch1: sed-4.1.5-bz185374.patch
|
2004-09-09 12:09:07 +00:00
|
|
|
Prereq: /sbin/install-info
|
|
|
|
Prefix: %{_prefix}
|
|
|
|
Buildroot: %{_tmppath}/%{name}-root
|
2004-10-08 09:52:54 +00:00
|
|
|
BuildRequires: glibc >= 2.3.3-28, glibc-devel >= 2.3.3-28
|
|
|
|
Requires: glibc >= 2.3.3-28
|
2004-09-09 12:09:07 +00:00
|
|
|
|
|
|
|
%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
|
2006-06-29 14:55:33 +00:00
|
|
|
%patch0 -p1
|
2006-08-02 11:47:08 +00:00
|
|
|
%patch1 -p1
|
2004-09-09 12:09:07 +00:00
|
|
|
|
|
|
|
%build
|
2004-09-09 12:12:04 +00:00
|
|
|
%configure --without-included-regex
|
2004-09-09 12:11:28 +00:00
|
|
|
make %{_smp_mflags}
|
2004-10-02 19:01:05 +00:00
|
|
|
install -m 644 %{SOURCE1} sedfaq.txt
|
2004-10-02 19:06:37 +00:00
|
|
|
gzip -9 sedfaq.txt
|
2004-09-09 12:11:28 +00:00
|
|
|
|
|
|
|
echo ====================TESTING=========================
|
|
|
|
make check
|
|
|
|
echo ====================TESTING END=====================
|
2004-09-09 12:09:07 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
%makeinstall
|
2004-09-09 12:11:57 +00:00
|
|
|
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
|
2004-09-09 12:11:28 +00:00
|
|
|
|
|
|
|
%find_lang %{name}
|
2004-09-09 12:09:07 +00:00
|
|
|
|
|
|
|
%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}
|
|
|
|
|
2004-09-09 12:11:28 +00:00
|
|
|
%files -f %{name}.lang
|
2004-09-09 12:09:07 +00:00
|
|
|
%defattr(-,root,root)
|
2006-02-06 08:52:44 +00:00
|
|
|
%doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz
|
2004-09-09 12:09:07 +00:00
|
|
|
%{_bindir}/sed
|
|
|
|
%{_infodir}/*.info*
|
|
|
|
%{_mandir}/man*/*
|
|
|
|
|
|
|
|
%changelog
|
2006-08-03 13:36:23 +00:00
|
|
|
* Wed Aug 3 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-4
|
|
|
|
- remove superfluous multibyte processing in str_append for UTF-8
|
|
|
|
encoding (thanks Paolo Bonzini, #177246)
|
2006-08-02 11:47:08 +00:00
|
|
|
|
2006-07-17 08:59:43 +00:00
|
|
|
* Mon Jul 17 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-3
|
|
|
|
- use dist tag
|
|
|
|
|
2006-07-12 08:11:58 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.1.5-2.2.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-06-29 15:19:18 +00:00
|
|
|
* Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2.2
|
|
|
|
- typo in patch name
|
|
|
|
|
2006-06-29 15:13:57 +00:00
|
|
|
* Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-06-29 14:55:33 +00:00
|
|
|
* Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2
|
|
|
|
- #185374:
|
|
|
|
- Follow symlinks before rename (avoid symlink overwrite)
|
|
|
|
- Add -c flag for copy instead of rename (avoid ownership change)
|
|
|
|
|
2006-02-11 05:40:47 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.1.5-1.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 13:48:22 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.1.5-1.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-02-06 08:39:50 +00:00
|
|
|
* Mon Feb 06 2006 Florian La Roche <laroche@redhat.com>
|
|
|
|
- 4.1.5
|
|
|
|
|
2005-12-09 22:43:11 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-17 15:23:05 +00:00
|
|
|
* Thu Mar 17 2005 Jakub Jelinek <jakub@redhat.com> 4.1.4-1
|
|
|
|
- update to 4.1.4
|
|
|
|
|
2005-03-05 19:56:43 +00:00
|
|
|
* Sat Mar 5 2005 Jakub Jelinek <jakub@redhat.com> 4.1.2-5
|
|
|
|
- rebuilt with GCC 4
|
|
|
|
|
2004-10-08 09:52:54 +00:00
|
|
|
* Fri Oct 8 2004 Jakub Jelinek <jakub@redhat.com> 4.1.2-4
|
|
|
|
- fix up make check to run sed --version with LC_ALL=C
|
|
|
|
in the environment (#129014)
|
|
|
|
|
2004-10-02 19:06:37 +00:00
|
|
|
* Sat Oct 2 2004 Jakub Jelinek <jakub@redhat.com> 4.1.2-3
|
2004-10-02 19:01:05 +00:00
|
|
|
- add sedfaq.txt to %{_docdir} (#16202)
|
|
|
|
|
2004-09-09 12:13:09 +00:00
|
|
|
* Mon Aug 23 2004 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- update to 4.1.2
|
|
|
|
|
2004-09-09 12:12:53 +00:00
|
|
|
* Thu Jul 8 2004 Jakub Jelinek <jakub@redhat.com> 4.1.1-1
|
|
|
|
- update to 4.1.1
|
|
|
|
|
2004-09-09 12:12:49 +00:00
|
|
|
* Mon Jun 21 2004 Jakub Jelinek <jakub@redhat.com> 4.1-1
|
|
|
|
- update to 4.1
|
|
|
|
|
2004-09-09 12:12:44 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 12:12:42 +00:00
|
|
|
* Tue May 25 2004 Jakub Jelinek <jakub@redhat.com> 4.0.9-1
|
|
|
|
- update to 4.0.9
|
|
|
|
- BuildRequire recent glibc and glibc-devel (#123043)
|
|
|
|
|
2004-09-09 12:12:38 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 12:12:15 +00:00
|
|
|
* Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 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)
|
|
|
|
|
2004-09-09 12:12:04 +00:00
|
|
|
* Fri Nov 14 2003 Jakub Jelinek <jakub@redhat.com> 4.0.8-2
|
|
|
|
- enable --without-included-regex again
|
|
|
|
- use fastmap for regex searching
|
|
|
|
|
2004-09-09 12:11:57 +00:00
|
|
|
* Sat Oct 25 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- update to 4.0.8
|
|
|
|
- simplify specfile
|
|
|
|
- disable --without-included-regex to pass the testsuite
|
|
|
|
|
|
|
|
* Thu Jun 26 2003 Jakub Jelinek <jakub@redhat.com> 4.0.7-3
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Sat Apr 12 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- update to 4.0.7
|
|
|
|
- use "--without-included-regex"
|
|
|
|
- do not gzip info pages in spec file, "TODO" is not present anymore
|
|
|
|
|
2004-09-09 12:11:28 +00:00
|
|
|
* Thu Jan 23 2003 Jakub Jelinek <jakub@redhat.com> 4.0.5-1
|
|
|
|
- update to 4.0.5
|
|
|
|
|
|
|
|
* Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
- rebuilt to fix x86-64 miscompilation
|
|
|
|
- run make check in %%build
|
|
|
|
|
2004-09-09 12:11:19 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 12:11:02 +00:00
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 12:10:51 +00:00
|
|
|
* Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
- Remove stale URLs from documentation (#62519)
|
|
|
|
|
2004-09-09 12:10:08 +00:00
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- Bump release + rebuild.
|
|
|
|
|
2004-09-09 12:10:01 +00:00
|
|
|
* Mon Dec 18 2000 Yukihiro Nakai <ynakai@redhat.com>
|
|
|
|
- Update to 2000.11.28 patch
|
|
|
|
- Rebuild for 7.1 tree
|
2004-09-09 12:09:33 +00:00
|
|
|
|
2004-09-09 12:09:07 +00:00
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- FHS packaging.
|
|
|
|
|
|
|
|
* Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- compress man pages.
|
|
|
|
|
|
|
|
* Tue Jan 18 2000 Jakub Jelinek <jakub@redhat.com>
|
|
|
|
- rebuild with glibc 2.1.3 to fix an mmap64 bug in sys/mman.h
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 4)
|
|
|
|
|
|
|
|
* Tue Aug 18 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 3.02
|
|
|
|
|
|
|
|
* Sun Jul 26 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 3.01
|
|
|
|
|
|
|
|
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- removed references to the -g option from the man page that we add
|
|
|
|
|
|
|
|
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- spec file cleanups
|
|
|
|
- added BuildRoot
|
|
|
|
|
|
|
|
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|