]>
Commit | Line | Data |
---|---|---|
1 | %include /usr/lib/rpm/macros.perl | |
2 | Summary: Perl script to colorize diffs | |
3 | Summary(hu.UTF-8): Egy Perl szkript, amely a diff kimenetét teszi színessé | |
4 | Summary(pl.UTF-8): Skrypt w Perlu do kolorowania diffów | |
5 | Name: colordiff | |
6 | Version: 1.0.10 | |
7 | Release: 1 | |
8 | License: GPL v3 | |
9 | Group: Applications/Text | |
10 | Source0: http://colordiff.sourceforge.net/%{name}-%{version}.tar.gz | |
11 | # Source0-md5: e3e86e2837deb884e43eacdc96a67baa | |
12 | URL: http://colordiff.sourceforge.net/ | |
13 | BuildRequires: rpm-perlprov | |
14 | # Required for docs: | |
15 | #BuildRequires: xmlto | |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | This is a short perl script to colorize your diffs. | |
21 | ||
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 | ||
26 | %description -l pl.UTF-8 | |
27 | Colorize jest krótkim skryptem w Perlu umożliwiającym pokolorowanie | |
28 | diffów. | |
29 | ||
30 | %prep | |
31 | %setup -q | |
32 | ||
33 | %build | |
34 | # fails right now | |
35 | #%{__make} -j1 doc | |
36 | ||
37 | %install | |
38 | rm -rf $RPM_BUILD_ROOT | |
39 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}} | |
40 | ||
41 | install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/colordiff | |
42 | install cdiff.sh $RPM_BUILD_ROOT%{_bindir}/cdiff | |
43 | install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
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) | |
51 | %doc BUGS CHANGES README | |
52 | %attr(755,root,root) %{_bindir}/* | |
53 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/* | |
54 | %{_mandir}/man1/* |