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