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