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