1 Summary: GNU diff Utilities
2 Summary(de): GNU-Diff-Utilities
3 Summary(fr): Utilitaires diff de GNU
4 Summary(pl): narzêdzia diff GNU
5 Summary(tr): GNU dosya karþýlaþtýrma araçlarý
10 Group(pl): Narzêdzia/Tekst
12 Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
13 Patch0: diffutils-man.patch
14 Patch1: diffutils-info.patch
15 Prereq: /sbin/install-info
16 Buildroot: /tmp/%{name}-%{version}-root
19 Diffutils includes four utilities: diff, cmp, diff3 and sdiff. Diff
20 compares two files and shows the differences, line by line. The cmp command
21 shows the offset and line numbers where two files differ, or cmp can show
22 the characters that differ between the two files. The diff3 command shows
23 the differences between three files. Diff3 can be used when two people have
24 made independent changes to a common original; diff3 can produce a merged
25 file that contains both persons changes and warnings about conflicts. The
26 sdiff command can be used to merge two files interactively.
28 Install diffutils if you need to compare text files.
31 Narzêdzia diff s± u¿ywane do porównywania zawarto¶ci plików i tworzenia
32 zbioru z ró¿nicami. Mo¿na go potem u¿yæ (za pomoc± programu patch) do
33 uaktualnienia starszego pliku. Wszystkie narzêdzia (za wyj±tkiem cmp)
34 pracuj± tylko na plikach tekstowych.
42 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
43 ./configure %{_target} \
46 make PR_PROGRAM=/usr/bin/pr
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT/usr/man/{man1,pl/man1}
52 make prefix=$RPM_BUILD_ROOT/usr install
53 strip $RPM_BUILD_ROOT/usr/bin/*
55 install man/*.1 $RPM_BUILD_ROOT/usr/man/man1
56 install man/pl/*.1 $RPM_BUILD_ROOT/usr/man/pl/man1
58 gzip -9nf $RPM_BUILD_ROOT/usr/info/diff* \
59 $RPM_BUILD_ROOT/usr/man/{man1/*,pl/man1/*}
62 /sbin/install-info /usr/info/diff.info.gz /etc/info-dir
65 if [ "$1" = "0" ]; then
66 /sbin/install-info --delete /usr/info/diff.info.gz /etc/info-dir
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
75 %attr(755,root,root) /usr/bin/*
76 /usr/info/diff.info*gz
78 %lang(pl) /usr/man/pl/man1/*
81 * Thu Apr 1 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
83 - added cmp(1), diff(1), diff3(1), sdiff(1) man pages and pl man page
85 - standarized {un}registration info pages (added diffutils-info.patch).
87 * Thu Sep 24 1998 Marcin Korzonek <mkorz@shadow.eu.org>
89 - added pl translation,
90 - adde -q %setup parameter,
91 - moved CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" from make
92 to configure (as a much safer solution).
94 * Tue May 05 1998 Prospector System <bugs@redhat.com>
95 - translations modified for de, fr, tr
97 * Sun May 03 1998 Cristian Gafton <gafton@redhat.com>
98 - fixed spec file to reference/use the $RPM_BUILD_ROOT always
100 * Wed Dec 31 1997 Otto Hammersmith <otto@redhat.com>
101 - fixed where it looks for 'pr' (/usr/bin, rather than /bin)
103 * Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
106 * Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
109 * Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
110 - built against glibc