1 %include /usr/lib/rpm/macros.perl
2 Summary: Perl script to colorize diffs
3 Summary(pl): Skrypt w perlu do kolorowania diffów
8 Group: Applications/Text
9 Source0: http://dl.sourceforge.net/colordiff/%{name}-%{version}.tar.gz
10 URL: http://colorize.raszi.hu/
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 This is a short perl script to colorize your diffs.
18 Colorize jest krótkim skryptem w perlu umo¿liwiaj±cym pokolorowanie
25 rm -rf $RPM_BUILD_ROOT
26 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
28 install %{name}.pl $RPM_BUILD_ROOT%{_bindir}
29 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
30 install %{name}rc $RPM_BUILD_ROOT%{_sysconfdir}/%{name}rc
33 rm -rf $RPM_BUILD_ROOT
36 %defattr(644,root,root,755)
37 %doc CHANGES README BUGS TODO
38 %attr(755,root,root) %{_bindir}/*
40 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*