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/diffutils/%{name}-%{version}.tar.gz
13 Patch0: diffutils-man.patch
14 Patch1: diffutils-info.patch
15 Buildroot: /tmp/%{name}-%{version}-root
18 Diffutils includes four utilities: diff, cmp, diff3 and sdiff. Diff
19 compares two files and shows the differences, line by line. The cmp command
20 shows the offset and line numbers where two files differ, or cmp can show
21 the characters that differ between the two files. The diff3 command shows
22 the differences between three files. Diff3 can be used when two people have
23 made independent changes to a common original; diff3 can produce a merged
24 file that contains both persons changes and warnings about conflicts. The
25 sdiff command can be used to merge two files interactively.
27 Install diffutils if you need to compare text files.
30 Narzêdzia diff s± u¿ywane do porównywania zawarto¶ci plików i tworzenia
31 zbioru z ró¿nicami. Mo¿na go potem u¿yæ (za pomoc± programu patch) do
32 uaktualnienia starszego pliku. Wszystkie narzêdzia (za wyj±tkiem cmp)
33 pracuj± tylko na plikach tekstowych.
41 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
45 make PR_PROGRAM=%{_bindir}/pr
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_mandir}/{man1,pl/man1}
52 prefix=$RPM_BUILD_ROOT/usr \
53 bindir=$RPM_BUILD_ROOT/%{_bindir} \
54 mandir=$RPM_BUILD_ROOT/%{_mandir} \
55 infodir=$RPM_BUILD_ROOT/%{_infodir}
57 strip $RPM_BUILD_ROOT%{_bindir}/*
59 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
60 install man/pl/*.1 $RPM_BUILD_ROOT%{_mandir}/pl/man1
62 # Conflicts with man-pages
63 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/diff.1
65 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/diff* \
66 $RPM_BUILD_ROOT%{_mandir}/{man1/*,pl/man1/*} NEWS README
69 /sbin/install-info %{_infodir}/diff.info.gz /etc/info-dir
72 if [ "$1" = "0" ]; then
73 /sbin/install-info --delete %{_infodir}/diff.info.gz /etc/info-dir
77 rm -rf $RPM_BUILD_ROOT
80 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_bindir}/*
84 %{_infodir}/diff.info*gz
86 %lang(pl) %{_mandir}/pl/man1/*
89 * Mon Jun 07 1999 Jan Rêkorajski <baggins@pld.org.pl>
93 * Thu Apr 1 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
95 - added cmp(1), diff(1), diff3(1), sdiff(1) man pages and pl man page
97 - standarized {un}registration info pages (added diffutils-info.patch).
99 * Thu Sep 24 1998 Marcin Korzonek <mkorz@shadow.eu.org>
101 - added pl translation,
102 - adde -q %setup parameter,
103 - moved CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" from make
104 to configure (as a much safer solution).