sed-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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.9
  8. Release: 1%{?_dist_release}
  9. Group: system,accessories
  10. Vendor: Project Vine
  11. Distribution: Vine Linux
  12. License: GPLv2+
  13. URL: http://www.gnu.org/software/sed/
  14. Source0: https://ftp.gnu.org/pub/gnu/sed/sed-%{version}.tar.xz
  15. #Patch0: sed-4.2.1-dummyparam.diff
  16. #Patch1: sed-4.2.1-multibyte.patch
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. BuildRequires: glibc-devel
  19. BuildRequires: libacl-devel
  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. %debug_package
  33. %prep
  34. %setup -q
  35. #%patch0 -p1
  36. #%patch1 -p1 -b .mb
  37. %build
  38. export LANG=C
  39. %configure --without-included-regex
  40. make %{_smp_mflags}
  41. %check
  42. echo ====================TESTING=========================
  43. make check
  44. echo ====================TESTING END=====================
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. %makeinstall
  48. rm -f $RPM_BUILD_ROOT/%{_infodir}/dir
  49. %find_lang %{name}
  50. %files -f %{name}.lang
  51. %defattr(-,root,root)
  52. %license COPYING
  53. %doc NEWS THANKS README AUTHORS
  54. %{_bindir}/sed
  55. %{_infodir}/*.info*
  56. %{_mandir}/man*/*
  57. %changelog
  58. * Thu Sep 28 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.9-1
  59. - new upstream release.
  60. * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 4.8-1
  61. - new upstream release.
  62. * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.2.2-2
  63. - rebuild with VineSeed environment
  64. * Sat Jul 20 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 4.2.2-1
  65. - new upstream release
  66. - deleted all patches
  67. * Sat Apr 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.2.1-3
  68. - rebuilt with current VineSeed
  69. * Mon Dec 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.2.1-2
  70. - added Patch1 from Debian (#551075)
  71. Apply patch from WANG Yunfeng to treat incomplete multibyte
  72. sequences as a single-byte character.
  73. * Mon Nov 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 4.2.1-1
  74. - new upstream release, dropped Patch1 and 2
  75. - added Patch0 from Fedora
  76. * Mon Jun 29 2009 Jiri Moskovcak <jmoskovc@redhat.com>
  77. - added patch to maintain backwards compatibility for scripts using -c/--copy
  78. - Resolves: #502934
  79. * Mon Sep 29 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 4.1.5-3
  80. - rebuilt against current toolchain
  81. - spec in UTF-8
  82. * Sun Apr 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.5-2vl5
  83. - dropped Patch0
  84. * Sat Apr 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.5-1vl5
  85. - added Patch0-2 from Fedora
  86. * Mon Sep 4 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-5
  87. - Fix handling of relative symlinks (#205122)
  88. * Wed Aug 3 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-4
  89. - remove superfluous multibyte processing in str_append for UTF-8
  90. encoding (thanks Paolo Bonzini, #177246)
  91. * Thu Jun 29 2006 Petr Machata <pmachata@redhat.com> - 4.1.5-2
  92. - #185374:
  93. - Follow symlinks before rename (avoid symlink overwrite)
  94. - Add -c flag for copy instead of rename (avoid ownership change)
  95. * Sat Aug 25 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.5-0vl1
  96. - new upstream release
  97. - run 'make check' on non-English locale
  98. * Thu Mar 09 2006 Shu KONNO <owa@bg.wakwak.com> 4.1.2-0vl2
  99. - s/Copyright/License/
  100. - rebuilt for x86_64 architecture support
  101. * Wed Oct 13 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1.2-0vl1
  102. - new upstream release
  103. * Thu Jun 17 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 4.1-0vl1
  104. - new upstream release
  105. - remove obsolete patch
  106. * Mon Apr 12 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 4.0.8-4vl2
  107. - rebuilt for Vine
  108. * Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 4.0.8-3
  109. - if not -n, print current buffer after N command on the last line
  110. unless POSIXLY_CORRECT (#112952)
  111. - adjust XFAIL_TESTS for the improved glibc regex implementation
  112. (#112642)
  113. * Fri Nov 14 2003 Jakub Jelinek <jakub@redhat.com> 4.0.8-2
  114. - enable --without-included-regex again
  115. - use fastmap for regex searching
  116. * Sat Oct 25 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  117. - update to 4.0.8
  118. - simplify specfile
  119. - disable --without-included-regex to pass the testsuite
  120. * Sat Apr 12 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  121. - update to 4.0.7
  122. - use "--without-included-regex"
  123. - do not gzip info pages in spec file, "TODO" is not present anymore
  124. * Thu Jan 23 2003 Jakub Jelinek <jakub@redhat.com> 4.0.5-1
  125. - update to 4.0.5
  126. * Tue Oct 22 2002 Jakub Jelinek <jakub@redhat.com>
  127. - rebuilt to fix x86-64 miscompilation
  128. - run make check in %%build
  129. * Fri Apr 5 2002 Jakub Jelinek <jakub@redhat.com>
  130. - Remove stale URLs from documentation (#62519)
  131. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  132. - Bump release + rebuild.
  133. * Mon Dec 18 2000 Yukihiro Nakai <ynakai@redhat.com>
  134. - Update to 2000.11.28 patch
  135. - Rebuild for 7.1 tree
  136. * Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com>
  137. - FHS packaging.
  138. * Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
  139. - compress man pages.
  140. * Tue Jan 18 2000 Jakub Jelinek <jakub@redhat.com>
  141. - rebuild with glibc 2.1.3 to fix an mmap64 bug in sys/mman.h
  142. * Sat Oct 06 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 3.02_mb1.09-0vl1
  143. - mb patch updated to 1.09
  144. * Tue May 29 2001 <sagami@vinelinux.org>
  145. - 3.02_mb1.08-1vl2: use better macros
  146. * Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  147. - 3.02_mb1.08-1vl1
  148. - modified %files section to handle compressed man page(s)
  149. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  150. - auto rebuild in the new build environment (release 4)
  151. * Tue Aug 18 1998 Jeff Johnson <jbj@redhat.com>
  152. - update to 3.02
  153. * Sun Jul 26 1998 Jeff Johnson <jbj@redhat.com>
  154. - update to 3.01
  155. * Mon Apr 27 1998 Prospector System <bugs@redhat.com>
  156. - translations modified for de, fr, tr
  157. * Thu Oct 23 1997 Donnie Barnes <djb@redhat.com>
  158. - removed references to the -g option from the man page that we add
  159. * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
  160. - spec file cleanups
  161. - added BuildRoot
  162. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  163. - built against glibc