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