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