patch-vl.spec 5.8 KB

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