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