]> git.pld-linux.org Git - packages/diffutils.git/blob - diffutils.spec
- changed all BuildRoot definitons
[packages/diffutils.git] / diffutils.spec
1 Summary:        A GNU collection of diff utilities
2 Summary(de):    GNU-Sammlung von 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ý
6 Name:           diffutils
7 Version:        2.7
8 Release:        18
9 Group:          Utilities/Text
10 Group(pl):      Narzêdzia/Tekst
11 Copyright:      GPL
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 Patch2:         diffutils-DESTDIR.patch
16 Prereq:         /usr/sbin/fix-info-dir
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Diffutils includes four utilities:  diff, cmp, diff3 and sdiff. Diff
21 compares two files and shows the differences, line by line. The cmp command
22 shows the offset and line numbers where two files differ, or cmp can show
23 the characters that differ between the two files. The diff3 command shows
24 the differences between three files. Diff3 can be used when two people have
25 made independent changes to a common original; diff3 can produce a merged
26 file that contains both persons changes and warnings about conflicts. The
27 sdiff command can be used to merge two files interactively.
28
29 Install diffutils if you need to compare text files.
30
31 %description -l de
32 Diffutils enthält 4 Utilities: diff, cmp, diff3 und sdiff. Diff vergleicht
33 zwei Dateien und zeigt die Unterschiede, Zeile für Zeile. cmp zeigt Offset
34 und Zeilennummern, in denen sich zwei Dateien unterscheiden, cmp kann auch
35 die Zeichen zeigen, die sich unterscheiden. diff3 zeigt die Unterschiede
36 zwischen 3 Dateien. Diff3 kann benutzt werden, wenn zwei Leute unabhängige
37 Änderungen zu einem gemeinsamen Ursprung gemacht haben; diff3 kann eine
38 Datei erzeugen, die die Änderungen beider Personen und Warnungen zu
39 Konflikten enthält. Der sdiff-Befehl kann benutzt werden, um zwei Dateien
40 interaktiv zusammenzufügen.
41
42 Installieren Sie diffutils, wenn Sie Text- oder Source-Dateien vergleichen
43 müssen.
44
45 %description -l pl
46 Diffutils zawiera nastêpuj±ce programy: diff, cmp, diff3 i sdiff. Diff s³u¿y
47 do porównywania dwuch plików wy¶wietlaj±c ró¿nice miêdzy nimi linia po
48 linii. Polecenie cmp numer bajtów na których wystepuj± ró¿nice miêdzy
49 porównywanymi plikami. Diff3 pokazuje ró¿nice miedzy trzema plikami. Diff3
50 moze byæ u¿yty np. w sytuacji kiedy dwie osoby wykona³y zmienê niezale¿nie
51 od siebie na jednym pliku pozwalaj±c uzyskaæ po³±czon± listê zmian
52 zawierajac± informacje o tym kto co zmieni³, a takze informacje o
53 konfliktach miedzy tymi dwoma modyfikacjami. Polecenie sdiff s³u¿y do
54 interakcyjnego ³aczenia dwuch plików.
55
56 %prep
57 %setup -q
58 %patch0 -p1
59 %patch1 -p1
60 %patch2 -p1
61
62 %build
63 autoconf
64 LDFLAGS="-s"; export LDFLAGS
65 %configure
66
67 make PR_PROGRAM=%{_bindir}/pr
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT%{_mandir}/{man1,pl/man1}
72
73 make install DESTDIR=$RPM_BUILD_ROOT
74
75 install man/*.1 $RPM_BUILD_ROOT%{_mandir}/man1
76 install man/pl/*.1 $RPM_BUILD_ROOT%{_mandir}/pl/man1
77
78 gzip -9nf $RPM_BUILD_ROOT%{_infodir}/diff* \
79         $RPM_BUILD_ROOT%{_mandir}/{man1/*,pl/man1/*} NEWS README
80
81 %post
82 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
83
84 %postun
85 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %doc {NEWS,README}.gz
93
94 %attr(755,root,root) %{_bindir}/*
95 %{_infodir}/diff.info*gz
96 %{_mandir}/man1/*
97 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.039137 seconds and 3 git commands to generate.