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