]>
Commit | Line | Data |
---|---|---|
54e3a15b | 1 | Summary: A GNU collection of diff utilities |
be9e766f ER |
2 | Summary(de.UTF-8): GNU-Sammlung von diff-Utilities |
3 | Summary(fr.UTF-8): Utilitaires diff de GNU | |
4 | Summary(pl.UTF-8): Narzędzia diff GNU | |
5 | Summary(tr.UTF-8): GNU dosya karşılaştırma araçları | |
aee3e3bd | 6 | Name: diffutils |
6b1a677b | 7 | Version: 2.9 |
8 | Release: 1 | |
16f8479a | 9 | License: GPL |
8b5cc285 | 10 | Group: Applications/Text |
6b1a677b | 11 | Source0: ftp://ftp.gnu.org/gnu/diffutils/%{name}-%{version}.tar.gz |
12 | # Source0-md5: d6bc1bdc874ddb14cfed4d1655a0dbbe | |
efa0ec59 | 13 | Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 |
a69d809d | 14 | # Source1-md5: 34a7ab56f975ff7e439ea13923ec8ae4 |
ea7c824f | 15 | Patch0: %{name}-info.patch |
efa0ec59 | 16 | Patch1: %{name}-pl.po-update.patch |
16f8479a | 17 | URL: http://www.gnu.org/software/diffutils/ |
a69d809d | 18 | BuildRequires: autoconf >= 2.53 |
506b6658 | 19 | BuildRequires: automake |
a69d809d | 20 | BuildRequires: gettext-devel >= 0.14.1 |
4bb6e306 | 21 | BuildRequires: texinfo |
08ea1b8e | 22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
cad2c813 | 23 | |
24 | %description | |
b38d820d | 25 | Diffutils includes four utilities: diff, cmp, diff3 and sdiff. Diff |
26 | compares two files and shows the differences, line by line. The cmp | |
27 | command shows the offset and line numbers where two files differ, or | |
28 | cmp can show the characters that differ between the two files. The | |
29 | diff3 command shows the differences between three files. Diff3 can be | |
30 | used when two people have made independent changes to a common | |
31 | original; diff3 can produce a merged file that contains both persons | |
32 | changes and warnings about conflicts. The sdiff command can be used to | |
33 | merge two files interactively. | |
aee3e3bd | 34 | |
b334aa32 JR |
35 | %description -l de.UTF-8 |
36 | Diffutils enthält 4 Utilities: diff, cmp, diff3 und sdiff. Diff | |
37 | vergleicht zwei Dateien und zeigt die Unterschiede, Zeile für Zeile. | |
b38d820d | 38 | cmp zeigt Offset und Zeilennummern, in denen sich zwei Dateien |
39 | unterscheiden, cmp kann auch die Zeichen zeigen, die sich | |
40 | unterscheiden. diff3 zeigt die Unterschiede zwischen 3 Dateien. Diff3 | |
b334aa32 | 41 | kann benutzt werden, wenn zwei Leute unabhängige Änderungen zu einem |
b38d820d | 42 | gemeinsamen Ursprung gemacht haben; diff3 kann eine Datei erzeugen, |
b334aa32 JR |
43 | die die Änderungen beider Personen und Warnungen zu Konflikten |
44 | enthält. Der sdiff-Befehl kann benutzt werden, um zwei Dateien | |
45 | interaktiv zusammenzufügen. | |
54e3a15b | 46 | |
b334aa32 JR |
47 | %description -l pl.UTF-8 |
48 | Diffutils zawiera następujące programy: diff, cmp, diff3 i sdiff. diff | |
49 | służy do porównywania dwóch plików wyświetlając różnice między nimi | |
50 | linia po linii. Polecenie cmp podaje numery bajtów na których | |
51 | występują różnice między porównywanymi plikami. diff3 pokazuje różnice | |
52 | miedzy trzema plikami. diff3 może być użyty np. w sytuacji kiedy dwie | |
53 | osoby wykonały zmianę niezależnie od siebie na jednym pliku, | |
54 | pozwalając uzyskać połączoną listę zmian zawierającą informacje o tym, | |
55 | kto co zmienił, a także informacje o konfliktach miedzy tymi dwoma | |
56 | modyfikacjami. Polecenie sdiff służy do interakcyjnego łączenia dwóch | |
57 | plików. | |
cad2c813 | 58 | |
59 | %prep | |
60 | %setup -q | |
aee3e3bd | 61 | %patch0 -p1 |
62 | %patch1 -p1 | |
cad2c813 | 63 | |
64 | %build | |
506b6658 JK |
65 | %{__aclocal} -I m4 |
66 | %{__autoconf} | |
67 | %{__automake} | |
efa0ec59 JB |
68 | %configure \ |
69 | PR_PROGRAM=/usr/bin/pr | |
aee3e3bd | 70 | |
efa0ec59 | 71 | %{__make} |
cad2c813 | 72 | |
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
4e43cb18 | 75 | |
1079c910 PG |
76 | %{__make} install \ |
77 | DESTDIR=$RPM_BUILD_ROOT | |
cad2c813 | 78 | |
efa0ec59 JB |
79 | bzip2 -dc %{SOURCE1} | tar xvf - -C $RPM_BUILD_ROOT%{_mandir} |
80 | ||
81 | %find_lang %{name} | |
4e43cb18 | 82 | |
220c7b15 JB |
83 | %clean |
84 | rm -rf $RPM_BUILD_ROOT | |
85 | ||
cb295e75 ER |
86 | %post -p /sbin/postshell |
87 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
cad2c813 | 88 | |
cb295e75 ER |
89 | %postun -p /sbin/postshell |
90 | -/usr/sbin/fix-info-dir -c %{_infodir} | |
cad2c813 | 91 | |
efa0ec59 | 92 | %files -f %{name}.lang |
aee3e3bd | 93 | %defattr(644,root,root,755) |
941c4969 | 94 | %doc NEWS README |
4bae4c8a | 95 | %attr(755,root,root) %{_bindir}/* |
b0c7880e | 96 | %{_infodir}/diff.info* |
dae718cb | 97 | %{_mandir}/man1/* |
ea7c824f | 98 | %lang(de) %{_mandir}/de/man1/* |
99 | %lang(es) %{_mandir}/es/man1/* | |
100 | %lang(fr) %{_mandir}/fr/man1/* | |
101 | %lang(hu) %{_mandir}/hu/man1/* | |
102 | %lang(it) %{_mandir}/it/man1/* | |
103 | %lang(ko) %{_mandir}/ko/man1/* | |
104 | %lang(nl) %{_mandir}/nl/man1/* | |
dae718cb | 105 | %lang(pl) %{_mandir}/pl/man1/* |
ea7c824f | 106 | %lang(pt) %{_mandir}/pt/man1/* |
107 | %lang(ru) %{_mandir}/ru/man1/* |