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