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