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 Prereq: /usr/sbin/fix-info-dir
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" \
46 make PR_PROGRAM=%{_bindir}/pr
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_mandir}/{man1,pl/man1}
53 prefix=$RPM_BUILD_ROOT/usr \
54 bindir=$RPM_BUILD_ROOT/%{_bindir} \
55 mandir=$RPM_BUILD_ROOT/%{_mandir} \
56 infodir=$RPM_BUILD_ROOT/%{_infodir}
58 strip $RPM_BUILD_ROOT%{_bindir}/*
60 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
61 install man/pl/*.1 $RPM_BUILD_ROOT%{_mandir}/pl/man1
63 # Conflicts with man-pages
64 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/diff.1
66 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/diff* \
67 $RPM_BUILD_ROOT%{_mandir}/{man1/*,pl/man1/*} NEWS README
70 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
73 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
76 rm -rf $RPM_BUILD_ROOT
79 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_bindir}/*
83 %{_infodir}/diff.info*gz
85 %lang(pl) %{_mandir}/pl/man1/*