]>
Commit | Line | Data |
---|---|---|
2172be14 | 1 | Summary: Provides diff file statistics |
8c37b9d2 ER |
2 | Summary(de.UTF-8): Liefert diff-Datei-Statistiken |
3 | Summary(fr.UTF-8): Fournit des statistiques sur les différences de fichiers | |
debf1a40 | 4 | Summary(pl.UTF-8): Tworzenie statystyk plików diff |
8c37b9d2 | 5 | Summary(tr.UTF-8): diff dosyası istatistik bilgileri çıkarır |
2172be14 | 6 | Name: diffstat |
debf1a40 | 7 | Version: 1.57 |
a43bcdea | 8 | Release: 1 |
debf1a40 | 9 | License: MIT-like |
2b69a64e | 10 | Group: Applications/Text |
debf1a40 JB |
11 | Source0: ftp://invisible-island.net/diffstat/%{name}-%{version}.tgz |
12 | # Source0-md5: a70ae35e479ab91da7eb6023a4e9240a | |
2b8569a3 | 13 | URL: http://invisible-island.net/diffstat/ |
debf1a40 JB |
14 | BuildRequires: autoconf >= 2.53 |
15 | BuildRequires: sed >= 4.0 | |
4a91412f | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
67964fbc | 17 | |
18 | %description | |
5d18eed4 | 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. | |
67964fbc | 24 | |
0ec615f7 JR |
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. | |
67964fbc | 31 | |
0ec615f7 JR |
32 | %description -l fr.UTF-8 |
33 | « diffstat » offre de nombreuses statistiques sur un patch généré par | |
5d18eed4 | 34 | diff, cela comprend le nombre d'ajouts, de suppressions et le nombre |
0ec615f7 JR |
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. | |
67964fbc | 38 | |
0ec615f7 | 39 | %description -l pl.UTF-8 |
debf1a40 JB |
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. | |
67964fbc | 44 | |
0ec615f7 JR |
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. | |
67964fbc | 49 | |
50 | %prep | |
51 | %setup -q | |
52 | ||
debf1a40 JB |
53 | %{__sed} -i -e 's/AC_ACVERSION/AC_AUTOCONF_VERSION/' aclocal.m4 |
54 | ||
67964fbc | 55 | %build |
cd5ecd8e | 56 | %{__autoconf} |
f8e9ed5d | 57 | %configure |
583d7fc3 | 58 | %{__make} \ |
a43bcdea | 59 | CPPFLAGS="%{rpmcflags} -w" |
67964fbc | 60 | |
61 | %install | |
62 | rm -rf $RPM_BUILD_ROOT | |
ac23c6ac | 63 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
67964fbc | 64 | |
5feea6ea | 65 | install diffstat $RPM_BUILD_ROOT%{_bindir} |
8e39101e | 66 | install diffstat.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
67964fbc | 67 | |
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
d9f09338 | 72 | %defattr(644,root,root,755) |
76f161b5 | 73 | %doc README CHANGES |
debf1a40 | 74 | %attr(755,root,root) %{_bindir}/diffstat |
a43bcdea | 75 | %{_mandir}/man1/diffstat.1* |