diffutils-vl.spec 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238
  1. Summary: A GNU collection of diff utilities.
  2. Summary(ja): GNU diff ユーティリティ集
  3. Name: diffutils
  4. Version: 3.8
  5. Release: 1%{?_dist_release}
  6. Group: Applications/Text
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPLv3+
  10. URL: https://www.gnu.org/software/diffutils/diffutils.html
  11. Source: https://ftp.gnu.org/gnu/diffutils/diffutils-%{version}.tar.xz
  12. Patch1: diffutils-cmp-s-empty.patch
  13. Patch4: diffutils-i18n.patch
  14. Requires(post): /sbin/install-info
  15. Requires(preun): /sbin/install-info
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: coreutils
  18. %description
  19. Diffutils includes four utilities: diff, cmp, diff3 and sdiff. Diff
  20. compares two files and shows the differences, line by line. The cmp
  21. command shows the offset and line numbers where two files differ, or
  22. cmp can show the characters that differ between the two files. The
  23. diff3 command shows the differences between three files. Diff3 can be
  24. used when two people have made independent changes to a common
  25. original; diff3 can produce a merged file that contains both sets of
  26. changes and warnings about conflicts. The sdiff command can be used
  27. to merge two files interactively.
  28. Install diffutils if you need to compare text files.
  29. %description -l ja
  30. diffutils には diff, cmp, diff3, sdiff の 4つのユーティリティが
  31. 収められています.diff は 2つのファイルを行単位で比較し相違点を
  32. 出力します.cmp コマンドは 2つのファイルの相違点をオフセットと行番号で
  33. 表示できますし,どの文字が異なるかを表示することも出来ます.
  34. diff3 コマンドは 3つのファイルの相違点を出力します.diff3 は
  35. 1つのオリジナルファイルを2人が変更した場合等に良く使われます.
  36. diff3 を使って,2つの変更をマージした変更ファイルを出力することが
  37. 出来ますし,コンフリクトした変更点を出力することも出来ます.
  38. sdiff コマンドは2つのファイルを対話的にマージするのに使います.
  39. テキストファイルを比較したい場合は diffutils をインストールして下さい.
  40. %debug_package
  41. %prep
  42. %setup -q
  43. # For 'cmp -s', compare file sizes only if both non-zero (bug #563618).
  44. %patch1 -p1 -b .cmp-s-empty
  45. %patch4 -p1 -b .i18n
  46. # Run autoreconf for aarch64 support (bug #925256).
  47. autoreconf -ivf
  48. %build
  49. %configure
  50. make PR_PROGRAM=%{_bindir}/pr
  51. %install
  52. rm -rf $RPM_BUILD_ROOT
  53. %__make DESTDIR=$RPM_BUILD_ROOT install
  54. rm -f $RPM_BUILD_ROOT%{_infodir}/dir
  55. %find_lang %{name}
  56. %post
  57. /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
  58. %preun
  59. if [ $1 = 0 ]; then
  60. /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
  61. fi
  62. %clean
  63. rm -rf $RPM_BUILD_ROOT
  64. %files -f %{name}.lang
  65. %defattr(-,root,root)
  66. %license COPYING
  67. %doc NEWS README
  68. %{_bindir}/*
  69. %{_mandir}/*/*
  70. %{_infodir}/diffutils.info*gz
  71. %changelog
  72. * Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8-1
  73. - new upstream release.
  74. - updated Patch1 and 4.
  75. * Wed Mar 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.7-1
  76. - new upstream release.
  77. - dropped Patch2, 3 and 5.
  78. * Sun Jun 15 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.3-1
  79. - new upstream release.
  80. - replaced patches.
  81. * Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2-1
  82. - new upstream reelase
  83. - update patches
  84. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-13
  85. - spec in utf-8
  86. * Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-12
  87. - applied new versioning policy
  88. - added BuildRequires: coreutils
  89. * Fri Sep 22 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-11vl2
  90. - rebuild to add gpg sign
  91. * Fri Mar 26 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-11vl1
  92. - added Patch1 from Fedora 2.8.1-11
  93. * Thu Jan 8 2004 Tim Waugh <twaugh@redhat.com> 2.8.1-10
  94. - Fix mistaken use of '|' instead of '||'.
  95. - fixed typo at description(ja)
  96. * Wed Dec 04 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.8.1-5vl1
  97. - merge Rawhide's 2.8.1-5 and Vine's 2.8.1-0vl1:
  98. - Sun Sep 29 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  99. - new upstream release 2.8.1
  100. - drop old unneeded patches.
  101. - Mon Jun 18 2001 <sagami@vinelinux.org>
  102. - 2.7.2-0vl3: patch taken from RH's 2.7.2-2 (not in sync, actually)
  103. - Install diff.1, since it's no longer in man-pages.
  104. - Tue Jan 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  105. - 2.7.2-0vl2
  106. - use better macros (%%{_localedir})
  107. - %%makeinstall was here again
  108. - added Japanese summary and description
  109. - Mon Jul 3 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  110. - updated to 2.7.2 (NLS support version)
  111. - added poor gettext_fix patch
  112. - added ja.po from fj.sources
  113. - remove %%makeinstall and use "make install prefix..." for rpm 3.x
  114. * Tue Nov 19 2002 Tim Waugh <twaugh@redhat.com> 2.8.1-5
  115. - i18n patch.
  116. * Tue Oct 22 2002 Tim Waugh <twaugh@redhat.com> 2.8.1-4
  117. - Ship translations.
  118. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  119. - automated rebuild
  120. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  121. - automated rebuild
  122. * Mon Apr 22 2002 Tim Waugh <twaugh@redhat.com> 2.8.1-1
  123. - 2.8.1.
  124. - No longer need immunix-owl-tmp patch.
  125. * Wed Feb 27 2002 Tim Waugh <twaugh@redhat.com> 2.7.2-5
  126. - Rebuild in new environment.
  127. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  128. - automated rebuild
  129. * Fri Nov 02 2001 Tim Waugh <twaugh@redhat.com> 2.7.2-3
  130. - Make sure %%post scriplet doesn't fail if --excludedocs is used.
  131. * Fri Jun 01 2001 Tim Waugh <twaugh@redhat.com> 2.7.2-2
  132. - Install diff.1, since it's no longer in man-pages.
  133. * Fri Mar 30 2001 Tim Waugh <twaugh@redhat.com> 2.7.2-1
  134. - 2.7.2.
  135. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  136. - automatic rebuild
  137. * Thu Jul 06 2000 Trond Eivind Glomsr <teg@redhat.com>
  138. - fix %%changelog entries (escape them)
  139. - update source location
  140. - remove manual stripping
  141. - add URL
  142. * Tue Jun 06 2000 Than Ngo <than@redhat.de>
  143. - add %%defattr
  144. - use rpm macros
  145. * Wed May 31 2000 Ngo Than <than@redhat.de>
  146. - put man pages and info files in correct place
  147. - cleanup specfile
  148. * Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
  149. - rebuild to gzip man pages.
  150. * Mon Apr 19 1999 Jeff Johnson <jbj@redhat.com>
  151. - man pages not in %%files.
  152. - but avoid conflict for diff.1
  153. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  154. - auto rebuild in the new build environment (release 14)
  155. * Sun Mar 14 1999 Jeff Johnson <jbj@redhat.com>
  156. - add man pages (#831).
  157. - add %%configure and Prefix.
  158. * Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
  159. - build for glibc 2.1
  160. * Tue Jul 14 1998 Bill Kawakami <billk@home.com>
  161. - included the four man pages stolen from Slackware
  162. * Tue May 05 1998 Prospector System <bugs@redhat.com>
  163. - translations modified for de, fr, tr
  164. * Sun May 03 1998 Cristian Gafton <gafton@redhat.com>
  165. - fixed spec file to reference/use the $RPM_BUILD_ROOT always
  166. * Wed Dec 31 1997 Otto Hammersmith <otto@redhat.com>
  167. - fixed where it looks for 'pr' (/usr/bin, rather than /bin)
  168. * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
  169. - added BuildRoot
  170. * Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
  171. - uses install-info
  172. * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
  173. - built against glibc