forked from pld-linux/diffstat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiffstat.spec
More file actions
71 lines (60 loc) · 2.4 KB
/
diffstat.spec
File metadata and controls
71 lines (60 loc) · 2.4 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
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): Umożliwia robienie statystyk plików diff
Summary(tr.UTF-8): diff dosyası istatistik bilgileri çıkarır
Name: diffstat
Version: 1.55
Release: 1
License: distributable
Group: Applications/Text
Source0: ftp://invisible-island.net/diffstat/%{name}.tar.gz
# Source0-md5: 630d5278f1cd874dc3cc68cff3fddecf
URL: http://invisible-island.net/diffstat/
BuildRequires: autoconf
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 prowadzenie statystyk pliku (łatki) generowanego
przez diff. 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}
%configure
%{__make} \
CPPFLAGS="%{rpmcflags} -w"
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
install diffstat $RPM_BUILD_ROOT%{_bindir}
install diffstat.1 $RPM_BUILD_ROOT%{_mandir}/man1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README CHANGES
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/diffstat.1*