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