-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdiffstat.spec
More file actions
80 lines (70 loc) · 2.62 KB
/
diffstat.spec
File metadata and controls
80 lines (70 loc) · 2.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
Summary: Provides diff file statistics
Summary(de.UTF-8): Liefert diff-Datei-Statistiken
Summary(fr.UTF-8): Fournit des statistiques sur les différences de fichiers
Summary(pl.UTF-8): Tworzenie statystyk plików diff
Summary(tr.UTF-8): diff dosyası istatistik bilgileri çıkarır
Name: diffstat
Version: 1.68
Release: 1
License: MIT-like
Group: Applications/Text
Source0: https://invisible-island.net/archives/diffstat/%{name}-%{version}.tgz
# Source0-md5: 51fa7127900544987dc3f7b8e4233f0b
URL: http://invisible-island.net/diffstat/
BuildRequires: autoconf >= 2.53
BuildRequires: sed >= 4.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
'diffstat' provides a number of statistics on a patch generated by
diff, including number of additions, number of removals, and total
number of changes. It can be useful, for example, to find out what
changes have been made to a program, just by feeding the update patch
to diffstat.
%description -l de.UTF-8
'diffstat' stellt eine Reihe von statistischen Informationen für mit
Patch erzeugte Diffs bereit, u.a. die Zahl der Einfügungen, der
Streichungen sowie die Gesamtzahl der Änderungen. So ist es möglich,
die Änderungen an einem Programm zu ermitteln, indem man das
Update-Patch durch diffstat durchlaufen läßt.
%description -l fr.UTF-8
« diffstat » offre de nombreuses statistiques sur un patch généré par
diff, cela comprend le nombre d'ajouts, de suppressions et le nombre
total de modifications. Il peut être utile, par exemple, de retrouver
les modifications faites à un programme en fournissant uniquement le
patch de mise à jour à diffstat.
%description -l pl.UTF-8
Diffstat umożliwia tworzenie statystyk pliku patch (łatki)
generowanego przez diff - w tym liczby linii dodanych, usuniętych oraz
całkowitej liczby zmian. Pakiet ten może być użyteczny na przykład w
poszukiwaniu zmian, które zostały dokonane w jakimś programie.
%description -l tr.UTF-8
diffstat programı, diff tarafından üretilen bir yama üzerinden toplama
sayısı, çıkarma sayısı, toplam değişiklik sayısı gibi bazı
istatistiksel bilgiler çıkartır.
%prep
%setup -q
%build
%{__autoconf}
%{__autoheader}
%configure \
BZCAT=/usr/bin/bzcat \
BZIP2=/usr/bin/bzip2 \
COMPRESS=/usr/bin/compress \
GZIP=/bin/gzip \
LZCAT=/usr/bin/lzcat \
UNCOMPRESS=/usr/bin/uncompress \
XZ=/usr/bin/xz \
ZCAT=/bin/zcat \
ZSTD=/usr/bin/zstd
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR="$RPM_BUILD_ROOT"
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc CHANGES COPYING README
%attr(755,root,root) %{_bindir}/diffstat
%{_mandir}/man1/diffstat.1*