]>
Commit | Line | Data |
---|---|---|
47e3120d | 1 | %include /usr/lib/rpm/macros.perl |
2 | Summary: Perl script to colorize diffs | |
a6d01b87 | 3 | Summary(hu.UTF-8): Egy Perl szkript, amely a diff kimenetét teszi színessé |
44354987 | 4 | Summary(pl.UTF-8): Skrypt w Perlu do kolorowania diffów |
47e3120d | 5 | Name: colordiff |
a6d01b87 | 6 | Version: 1.0.9 |
8b785e91 | 7 | Release: 1 |
9c27a642 | 8 | License: GPL v3 |
797e1cf9 | 9 | Group: Applications/Text |
9c27a642 | 10 | Source0: http://colordiff.sourceforge.net/%{name}-%{version}.tar.gz |
a6d01b87 | 11 | # Source0-md5: 31864847eaa4e900f72bbb6bbc64f1ec |
9b37c142 | 12 | URL: http://colordiff.sourceforge.net/ |
1ee0ef15 | 13 | BuildRequires: rpm-perlprov |
9c27a642 PG |
14 | # Required for docs: |
15 | #BuildRequires: xmlto | |
e873ee13 | 16 | BuildArch: noarch |
47e3120d | 17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
797e1cf9 | 20 | This is a short perl script to colorize your diffs. |
47e3120d | 21 | |
a6d01b87 ZU |
22 | %description -l hu.UTF-8 |
23 | Ez a rövidke perl szkript a diff parancs kimenetét teszi színek | |
24 | segítségével olvashatóbbá. | |
25 | ||
fcb96a98 JR |
26 | %description -l pl.UTF-8 |
27 | Colorize jest krótkim skryptem w Perlu umożliwiającym pokolorowanie | |
28 | diffów. | |
47e3120d | 29 | |
30 | %prep | |
31 | %setup -q | |
32 | ||
9c27a642 PG |
33 | %build |
34 | # fails right now | |
35 | #%{__make} -j1 doc | |
36 | ||
47e3120d | 37 | %install |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}} | |
40 | ||
f862f214 | 41 | install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/colordiff |
9c27a642 | 42 | install cdiff.sh $RPM_BUILD_ROOT%{_bindir}/cdiff |
797e1cf9 | 43 | install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
47e3120d | 44 | install %{name}rc $RPM_BUILD_ROOT%{_sysconfdir}/%{name}rc |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
f54a7296 | 51 | %doc BUGS CHANGES README |
47e3120d | 52 | %attr(755,root,root) %{_bindir}/* |
23f66b7c | 53 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* |
07323544 | 54 | %{_mandir}/man1/* |