1252353
# -*- coding: utf-8 -*-
cvsdist dc295e9
%ifos linux
cvsdist dc295e9
%define _bindir /bin
cvsdist dc295e9
%endif
cvsdist dc295e9
1252353
Summary: A GNU stream text editor
cvsdist 288337b
Name: sed
Florian La Roche 9f1eb62
Version: 4.1.5
5223f1f
Release: 11%{?dist}
e110017
License: GPLv2+
cvsdist 288337b
Group: Applications/Text
4a658ba
URL: http://sed.sourceforge.net/
cvsdist e943939
Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.gz
1bfe7ce
Source1: http://sed.sourceforge.net/sedfaq.txt
e7b4da6
Patch0: sed-4.1.5-utf8performance.patch
2a2c77d
Patch1: sed-4.1.5-follow.patch
2a2c77d
Patch2: sed-4.1.5-copy.patch
1252353
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
a8efcbf
BuildRequires: glibc-devel
1252353
Requires(post): /sbin/install-info
1252353
Requires(preun): /sbin/install-info
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
5a18c25
%patch0 -p1
b023390
%patch1 -p1
fcaebd5
%patch2 -p1
cvsdist 288337b
cvsdist 288337b
%build
cvsdist cc78b77
%configure --without-included-regex
cvsdist e943939
make %{_smp_mflags}
4a658ba
install -m 644 -p %{SOURCE1} sedfaq.txt
72b4635
gzip -9 sedfaq.txt
cvsdist e943939
2a2c77d
%check
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}
4a658ba
make DESTDIR=$RPM_BUILD_ROOT install
cvsdist dc295e9
rm -f ${RPM_BUILD_ROOT}/%{_infodir}/dir
cvsdist e943939
cvsdist e943939
%find_lang %{name}
cvsdist 288337b
cvsdist 288337b
%post
5de8865
/sbin/install-info %{_infodir}/sed.info.gz %{_infodir}/dir || :
cvsdist 288337b
cvsdist 288337b
%preun
cvsdist 288337b
if [ $1 = 0 ]; then
5de8865
   /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)
4a658ba
%doc BUGS NEWS THANKS README AUTHORS sedfaq.txt.gz COPYING COPYING.DOC
cvsdist 288337b
%{_bindir}/sed
cvsdist 288337b
%{_infodir}/*.info*
cvsdist 288337b
%{_mandir}/man*/*
cvsdist 288337b
cvsdist 288337b
%changelog
5223f1f
* Thu Nov 13 2008 Jiri Moskovcak <jmoskovc@redhat.com> 4.1.5-11
5223f1f
- improved follow.patch (thanks to Arkadiusz Miskiewicz for initial patch)
5223f1f
- Resolves: #470912
5223f1f
d0acf9f
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.1.5-10
d0acf9f
- Autorebuild for GCC 4.3
d0acf9f
4a658ba
* Thu Oct  4 2007 Petr Machata <pmachata@redhat.com> - 4.1.5-9
e110017
- Fix licensing tag.
4a658ba
- Clean up per merge review comments.
4a658ba
- Resolves: #226404
e110017
1252353
* Wed Feb  7 2007 Petr Machata <pmachata@redhat.com> - 4.1.5-8
1252353
- tidy up the specfile per rpmlint comments
1252353
- use utf-8 and fix national characters in contributor's names
1252353
5de8865
* Thu Jan 25 2007 Petr Machata <pmachata@redhat.com> - 4.1.5-7
1252353
- Ville Skyttä: patch for non-failing %%post, %%preun
5de8865
- Resolves: #223716
5de8865
2a2c77d
* Fri Dec  8 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-6
2a2c77d
- Split confused patches "copy+symlink" and "relsymlink" into discrete
2a2c77d
  "copy" and "symlink".
2a2c77d
fcaebd5
* Mon Sep  4 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-5
fcaebd5
- Fix handling of relative symlinks (#205122)
fcaebd5
e7b4da6
* Wed Aug  3 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-4
e7b4da6
- remove superfluous multibyte processing in str_append for UTF-8
e7b4da6
  encoding (thanks Paolo Bonzini, #177246)
b023390
e5ed27f
* Mon Jul 17 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-3
e5ed27f
- use dist tag
e5ed27f
965f012
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 4.1.5-2.2.1
965f012
- rebuild
965f012
989e628
* Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2.2
989e628
- typo in patch name
989e628
3378590
* Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2.1
3378590
- rebuild
3378590
5a18c25
* Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2
5a18c25
- #185374:
5a18c25
  - Follow symlinks before rename (avoid symlink overwrite)
5a18c25
  - Add -c flag for copy instead of rename (avoid ownership change)
5a18c25
271c8c9
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.1.5-1.2
271c8c9
- bump again for double-long bug on ppc(64)
271c8c9
9d048d9
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.1.5-1.1
9d048d9
- rebuilt for new gcc4.1 snapshot and glibc changes
9d048d9
Florian La Roche 9f1eb62
* Mon Feb 06 2006 Florian La Roche <laroche@redhat.com>
Florian La Roche 9f1eb62
- 4.1.5
Florian La Roche 9f1eb62
d6cf09c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
d6cf09c
- rebuilt
d6cf09c
bf02821
* Thu Mar 17 2005 Jakub Jelinek <jakub@redhat.com> 4.1.4-1
bf02821
- update to 4.1.4
bf02821
c9ad132
* Sat Mar  5 2005 Jakub Jelinek <jakub@redhat.com> 4.1.2-5
c9ad132
- rebuilt with GCC 4
c9ad132
baabada
* Fri Oct  8 2004 Jakub Jelinek <jakub@redhat.com> 4.1.2-4
baabada
- fix up make check to run sed --version with LC_ALL=C
baabada
  in the environment (#129014)
baabada
72b4635
* Sat Oct  2 2004 Jakub Jelinek <jakub@redhat.com> 4.1.2-3
1252353
- 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