sed-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  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.2
  8. Release: 2%{?_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. * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.2.2-2
  64. - rebuild with VineSeed environment
  65. * Sat Jul 20 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.2.2-1
  66. - new upstream release
  67. - deleted all patches
  68. * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.2.1-3
  69. - rebuilt with current VineSeed
  70. * Mon Dec 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.2.1-2
  71. - added Patch1 from Debian (#551075)
  72. Apply patch from WANG Yunfeng to treat incomplete multibyte
  73. sequences as a single-byte character.
  74. * Mon Nov 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.2.1-1
  75. - new upstream release, dropped Patch1 and 2
  76. - added Patch0 from Fedora
  77. * Mon Jun 29 2009 Jiri Moskovcak <jmoskovc@redhat.com>
  78. - added patch to maintain backwards compatibility for scripts using -c/--copy
  79. - Resolves: #502934
  80. * Mon Sep 29 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.5-3
  81. - rebuilt against current toolchain
  82. - spec in UTF-8
  83. * Sun Apr 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.5-2vl5
  84. - dropped Patch0
  85. * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.5-1vl5
  86. - added Patch0-2 from Fedora
  87. * Mon Sep 4 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-5
  88. - Fix handling of relative symlinks (#205122)
  89. * Wed Aug 3 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-4
  90. - remove superfluous multibyte processing in str_append for UTF-8
  91. encoding (thanks Paolo Bonzini, #177246)
  92. * Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2
  93. - #185374:
  94. - Follow symlinks before rename (avoid symlink overwrite)
  95. - Add -c flag for copy instead of rename (avoid ownership change)
  96. * Sat Aug 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.5-0vl1
  97. - new upstream release
  98. - run 'make check' on non-English locale
  99. * Thu Mar 09 2006 Shu KONNO <owa@bg.wakwak.com> 4.1.2-0vl2
  100. - s/Copyright/License/
  101. - rebuilt for x86_64 architecture support
  102. * Wed Oct 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.2-0vl1
  103. - new upstream release
  104. * Thu Jun 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1-0vl1
  105. - new upstream release
  106. - remove obsolete patch
  107. * Mon Apr 12 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 4.0.8-4vl2
  108. - rebuilt for Vine
  109. * Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 4.0.8-3
  110. - if not -n, print current buffer after N command on the last line
  111. unless POSIXLY_CORRECT (#112952)
  112. - adjust XFAIL_TESTS for the improved glibc regex implementation
  113. (#112642)
  114. * Fri Nov 14 2003 Jakub Jelinek <jakub@redhat.com> 4.0.8-2
  115. - enable --without-included-regex again
  116. - use fastmap for regex searching
  117. * Sat Oct 25 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  118. - update to 4.0.8
  119. - simplify specfile
  120. - disable --without-included-regex to pass the testsuite
  121. * Sat Apr 12 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  122. - update to 4.0.7
  123. - use "--without-included-regex"
  124. - do not gzip info pages in spec file, "TODO" is not present anymore
  125. * Thu Jan 23 2003 Jakub Jelinek <jakub@redhat.com> 4.0.5-1
  126. - update to 4.0.5
  127. * Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com>
  128. - rebuilt to fix x86-64 miscompilation
  129. - run make check in %%build
  130. * Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com>
  131. - Remove stale URLs from documentation (#62519)
  132. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  133. - Bump release + rebuild.
  134. * Mon Dec 18 2000 Yukihiro Nakai <ynakai@redhat.com>
  135. - Update to 2000.11.28 patch
  136. - Rebuild for 7.1 tree
  137. * Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com>
  138. - FHS packaging.
  139. * Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
  140. - compress man pages.
  141. * Tue Jan 18 2000 Jakub Jelinek <jakub@redhat.com>
  142. - rebuild with glibc 2.1.3 to fix an mmap64 bug in sys/mman.h
  143. * Sat Oct 06 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.02_mb1.09-0vl1
  144. - mb patch updated to 1.09
  145. * Tue May 29 2001 <sagami@vinelinux.org>
  146. - 3.02_mb1.08-1vl2: use better macros
  147. * Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  148. - 3.02_mb1.08-1vl1
  149. - modified %files section to handle compressed man page(s)
  150. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  151. - auto rebuild in the new build environment (release 4)
  152. * Tue Aug 18 1998 Jeff Johnson <jbj@redhat.com>
  153. - update to 3.02
  154. * Sun Jul 26 1998 Jeff Johnson <jbj@redhat.com>
  155. - update to 3.01
  156. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  157. - translations modified for de, fr, tr
  158. * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
  159. - removed references to the -g option from the man page that we add
  160. * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
  161. - spec file cleanups
  162. - added BuildRoot
  163. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  164. - built against glibc