sed-vl.spec 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. %ifos linux
  2. %define _bindir /bin
  3. %endif
  4. Summary: A GNU stream text editor.
  5. Summary(ja): GNU ストリームテキストエディタ
  6. Name: sed
  7. Version: 4.2.1
  8. Release: 3%{?_dist_release}
  9. License: GPLv2+
  10. Group: Applications/Text
  11. URL: http://www.gnu.org/software/sed/
  12. Source0: ftp://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.bz2
  13. Patch0: sed-4.2.1-dummyparam.diff
  14. Patch1: sed-4.2.1-multibyte.patch
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  16. BuildRequires: glibc-devel
  17. BuildRequires: libacl-devel
  18. Requires(post): /sbin/install-info
  19. Requires(preun): /sbin/install-info
  20. %description
  21. The sed (Stream EDitor) editor is a stream or batch (non-interactive)
  22. editor. Sed takes text as input, performs an operation or set of
  23. operations on the text and outputs the modified text. The operations
  24. that sed performs (substitutions, deletions, insertions, etc.) can be
  25. specified in a script file or from the command line.
  26. %description -l ja
  27. sed (Stream Editor) エディタはストリームまたはバッチ(非インタラクティブ)
  28. エディタです。sed は入力としてテキストを用い、テキストの操作または
  29. 操作のセットをテキストとに対して行い、修正されたテキストを出力します。
  30. sed が行う操作 (置換、削除、挿入、その他) はスクリプトファイルか、
  31. コマンドラインから指定されます。
  32. %prep
  33. %setup -q
  34. %patch0 -p1
  35. %patch1 -p1 -b .mb
  36. %build
  37. export LANG=C
  38. %configure --without-included-regex
  39. make %{_smp_mflags}
  40. echo ====================TESTING=========================
  41. make check
  42. echo ====================TESTING END=====================
  43. %install
  44. rm -rf $RPM_BUILD_ROOT
  45. %makeinstall
  46. rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
  47. %find_lang %{name}
  48. %post
  49. /sbin/install-info %{_infodir}/sed.info.gz %{_infodir}/dir
  50. %preun
  51. if [ $1 = 0 ]; then
  52. /sbin/install-info --delete %{_infodir}/sed.info.gz %{_infodir}/dir
  53. fi
  54. %clean
  55. rm -rf ${RPM_BUILD_ROOT}
  56. %files -f %{name}.lang
  57. %defattr(-,root,root)
  58. %doc BUGS NEWS THANKS README AUTHORS
  59. %{_bindir}/sed
  60. %{_infodir}/*.info*
  61. %{_mandir}/man*/*
  62. %changelog
  63. * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.2.1-3
  64. - rebuilt with current VineSeed
  65. * Mon Dec 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.2.1-2
  66. - added Patch1 from Debian (#551075)
  67. Apply patch from WANG Yunfeng to treat incomplete multibyte
  68. sequences as a single-byte character.
  69. * Mon Nov 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.2.1-1
  70. - new upstream release, dropped Patch1 and 2
  71. - added Patch0 from Fedora
  72. * Mon Jun 29 2009 Jiri Moskovcak <jmoskovc@redhat.com>
  73. - added patch to maintain backwards compatibility for scripts using -c/--copy
  74. - Resolves: #502934
  75. * Mon Sep 29 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.5-3
  76. - rebuilt against current toolchain
  77. - spec in UTF-8
  78. * Sun Apr 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.5-2vl5
  79. - dropped Patch0
  80. * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.5-1vl5
  81. - added Patch0-2 from Fedora
  82. * Mon Sep 4 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-5
  83. - Fix handling of relative symlinks (#205122)
  84. * Wed Aug 3 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-4
  85. - remove superfluous multibyte processing in str_append for UTF-8
  86. encoding (thanks Paolo Bonzini, #177246)
  87. * Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2
  88. - #185374:
  89. - Follow symlinks before rename (avoid symlink overwrite)
  90. - Add -c flag for copy instead of rename (avoid ownership change)
  91. * Sat Aug 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.5-0vl1
  92. - new upstream release
  93. - run 'make check' on non-English locale
  94. * Thu Mar 09 2006 Shu KONNO <owa@bg.wakwak.com> 4.1.2-0vl2
  95. - s/Copyright/License/
  96. - rebuilt for x86_64 architecture support
  97. * Wed Oct 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.2-0vl1
  98. - new upstream release
  99. * Thu Jun 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1-0vl1
  100. - new upstream release
  101. - remove obsolete patch
  102. * Sat Apr 12 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 4.0.8-4vl2
  103. - rebuilt for Vine
  104. * Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 4.0.8-3
  105. - if not -n, print current buffer after N command on the last line
  106. unless POSIXLY_CORRECT (#112952)
  107. - adjust XFAIL_TESTS for the improved glibc regex implementation
  108. (#112642)
  109. * Fri Nov 14 2003 Jakub Jelinek <jakub@redhat.com> 4.0.8-2
  110. - enable --without-included-regex again
  111. - use fastmap for regex searching
  112. * Sat Oct 25 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  113. - update to 4.0.8
  114. - simplify specfile
  115. - disable --without-included-regex to pass the testsuite
  116. * Sat Apr 12 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  117. - update to 4.0.7
  118. - use "--without-included-regex"
  119. - do not gzip info pages in spec file, "TODO" is not present anymore
  120. * Thu Jan 23 2003 Jakub Jelinek <jakub@redhat.com> 4.0.5-1
  121. - update to 4.0.5
  122. * Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com>
  123. - rebuilt to fix x86-64 miscompilation
  124. - run make check in %%build
  125. * Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com>
  126. - Remove stale URLs from documentation (#62519)
  127. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  128. - Bump release + rebuild.
  129. * Mon Dec 18 2000 Yukihiro Nakai <ynakai@redhat.com>
  130. - Update to 2000.11.28 patch
  131. - Rebuild for 7.1 tree
  132. * Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com>
  133. - FHS packaging.
  134. * Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
  135. - compress man pages.
  136. * Tue Jan 18 2000 Jakub Jelinek <jakub@redhat.com>
  137. - rebuild with glibc 2.1.3 to fix an mmap64 bug in sys/mman.h
  138. * Sat Oct 06 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.02_mb1.09-0vl1
  139. - mb patch updated to 1.09
  140. * Tue May 29 2001 <sagami@vinelinux.org>
  141. - 3.02_mb1.08-1vl2: use better macros
  142. * Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  143. - 3.02_mb1.08-1vl1
  144. - modified %files section to handle compressed man page(s)
  145. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  146. - auto rebuild in the new build environment (release 4)
  147. * Tue Aug 18 1998 Jeff Johnson <jbj@redhat.com>
  148. - update to 3.02
  149. * Sun Jul 26 1998 Jeff Johnson <jbj@redhat.com>
  150. - update to 3.01
  151. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  152. - translations modified for de, fr, tr
  153. * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
  154. - removed references to the -g option from the man page that we add
  155. * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
  156. - spec file cleanups
  157. - added BuildRoot
  158. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  159. - built against glibc