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