patch-vl.spec 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181
  1. Summary: Utility for modifying/upgrading files
  2. Summary(ja): ファイルを修正/更新するためのユーティリティ
  3. Name: patch
  4. Version: 2.6.1
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. URL: http://www.gnu.org/software/patch/patch.html
  8. Group: Development/Tools
  9. Source: ftp://ftp.gnu.org/gnu/patch/patch-%{version}.tar.bz2
  10. Patch1: patch-2.5.4-sigsegv.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: ed
  13. %description
  14. The patch program applies diff files to originals. The diff command
  15. is used to compare an original to a changed file. Diff lists the
  16. changes made to the file. A person who has the original file can then
  17. use the patch command with the diff file to add the changes to their
  18. original file (patching the file).
  19. Patch should be installed because it is a common way of upgrading
  20. applications.
  21. %description -l ja
  22. patch プログラムは,diff ファイルをオリジナルファイルに適用します.
  23. diff コマンドはオリジナルファイルと変更されたファイルとを比較する
  24. のに使われます.diff はファイルになされた変更を出力します.
  25. オリジナルファイルを持っていれば,この patch コマンドを使って,
  26. diff が出力したファイルを適用することによりオリジナルファイルを
  27. 更新することが出来ます (ファイルに patch を適用する,と言います).
  28. patch は,アプリケーションをアップグレードする際に良く使われますので
  29. 是非インストールしておきましょう.
  30. %prep
  31. %setup -q
  32. %patch1 -p1 -b .sigsegv
  33. %build
  34. CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
  35. %configure
  36. # XXX unset CPPFLAGS on (ultra?)sparc to avoid large file system support
  37. %ifarch sparc sparc64
  38. make CPPFLAGS=""
  39. %else
  40. make %{?smp_mflags}
  41. %endif
  42. %check
  43. make check
  44. %install
  45. rm -rf $RPM_BUILD_ROOT
  46. %makeinstall
  47. %clean
  48. rm -rf $RPM_BUILD_ROOT
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc NEWS README
  52. %{_bindir}/*
  53. %{_mandir}/*/*
  54. %changelog
  55. * Sat Jan 16 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.1-1
  56. - new upstream release
  57. - added %%check section
  58. * Sun Jun 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.4-30
  59. - added Patch8 from Fedora development
  60. * Fri Feb 8 2008 Tim Waugh <twaugh@redhat.com> 2.5.4-32
  61. - Applied patch from 2.5.9 to allow spaces in filenames (bug #431887).
  62. - applied new versioning policy
  63. - spec in UTF-8
  64. * Thu Jun 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.5.4-29vl1
  65. - added Patch6, 8 from Fedora development
  66. * Wed Sep 7 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-27
  67. - Applied patch from Ulrich Drepper to fix string overread (bug #167675).
  68. * Thu Aug 11 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-25
  69. - Fixed CRLF detection (bug #154283).
  70. * Wed May 4 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-24
  71. - Reverted last change (bug #154283, bug #156762).
  72. * Fri Apr 29 2005 Tim Waugh <twaugh@redhat.com> 2.5.4-23
  73. - Applied patch from Toshio Kuratomi to avoid problems with DOS-format
  74. newlines (bug #154283).
  75. * Sat Apr 10 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 2.5.4-19vl1
  76. - rebuild
  77. * Tue Apr 8 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 2.5.4-15vl2
  78. - rebuild
  79. * Fri Dec 06 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.5.4-15vl1
  80. - based on 2.5.4-15 from Rawhide and built for Vine Linux
  81. - added Japanese summary and description
  82. * Wed Nov 20 2002 Tim Powers <timp@redhat.com>
  83. - rebuilt in current collinst
  84. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  85. - automated rebuild
  86. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  87. - automated rebuild
  88. * Tue Apr 9 2002 Tim Waugh <twaugh@redhat.com> 2.5.4-12
  89. - Fix error reporting when given bad options (bug #62981).
  90. * Tue Mar 5 2002 Tim Waugh <twaugh@redhat.com> 2.5.4-11
  91. - s/Copyright:/License:/.
  92. - Fix -D behaviour (bug #60688).
  93. * Tue May 29 2001 Tim Waugh <twaugh@redhat.com> 2.5.4-10
  94. - Merge Mandrake patch:
  95. - fix possible segfault
  96. * Fri Dec 1 2000 Tim Waugh <twaugh@redhat.com>
  97. - Rebuild because of fileutils bug.
  98. * Thu Nov 2 2000 Tim Waugh <twaugh@redhat.com>
  99. - use .orig as default suffix, as per man page and previous behaviour
  100. (bug #20202).
  101. - use better patch for this, from maintainer.
  102. * Wed Oct 4 2000 Tim Waugh <twaugh@redhat.com>
  103. - actually use the RPM_OPT_FLAGS
  104. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  105. - automatic rebuild
  106. * Tue Jun 13 2000 Trond Eivind Glomsr <teg@redhat.com>
  107. - Use %%makeinstall, %%{_tmppath} and %%{_mandir}
  108. * Fri May 12 2000 Trond Eivind Glomsr <teg@redhat.com>
  109. - added URL
  110. * Wed Feb 16 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  111. - 2.5.4
  112. - Fix up LFS support on Alpha (Bug #5732)
  113. * Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
  114. - handle compressed manpages
  115. * Sun Jun 06 1999 Alan Cox <alan@redhat.com>
  116. - Fix the case where stderr isnt flushed for ask(). Now the 'no such file'
  117. appears before the skip patch question, not at the very end, Doh!
  118. * Mon Mar 22 1999 Jeff Johnson <jbj@redhat.com>
  119. - (ultra?) sparc was getting large file system support.
  120. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  121. - auto rebuild in the new build environment (release 7)
  122. * Fri Dec 18 1998 Cristian Gafton <gafton@redhat.com>
  123. - build against glibc 2.1
  124. * Tue Sep 1 1998 Jeff Johnson <jbj@redhat.com>
  125. - bump release to preserve newer than back-ported 4.2.
  126. * Tue Jun 09 1998 Prospector System <bugs@redhat.com>
  127. - translations modified for de, fr
  128. * Tue Jun 9 1998 Jeff Johnson <jbj@redhat.com>
  129. - Fix for problem #682 segfault.
  130. * Fri Apr 24 1998 Prospector System <bugs@redhat.com>
  131. - translations modified for de, fr, tr
  132. * Tue Apr 07 1998 Cristian Gafton <gafton@redhat.com>
  133. - added buildroot
  134. * Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
  135. - updated to 2.5
  136. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  137. - built against glibc