]> git.pld-linux.org Git - packages/colordiff.git/blame_incremental - colordiff.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/colordiff.git] / colordiff.spec
... / ...
CommitLineData
1%include /usr/lib/rpm/macros.perl
2Summary: Perl script to colorize diffs
3Summary(hu.UTF-8): Egy Perl szkript, amely a diff kimenetét teszi színessé
4Summary(pl.UTF-8): Skrypt w Perlu do kolorowania diffów
5Name: colordiff
6Version: 1.0.10
7Release: 1
8License: GPL v3
9Group: Applications/Text
10Source0: http://colordiff.sourceforge.net/%{name}-%{version}.tar.gz
11# Source0-md5: e3e86e2837deb884e43eacdc96a67baa
12URL: http://colordiff.sourceforge.net/
13BuildRequires: rpm-perlprov
14# Required for docs:
15#BuildRequires: xmlto
16BuildArch: noarch
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20This is a short perl script to colorize your diffs.
21
22%description -l hu.UTF-8
23Ez a rövidke perl szkript a diff parancs kimenetét teszi színek
24segítségével olvashatóbbá.
25
26%description -l pl.UTF-8
27Colorize jest krótkim skryptem w Perlu umożliwiającym pokolorowanie
28diffów.
29
30%prep
31%setup -q
32
33%build
34# fails right now
35#%{__make} -j1 doc
36
37%install
38rm -rf $RPM_BUILD_ROOT
39install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
40
41install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/colordiff
42install cdiff.sh $RPM_BUILD_ROOT%{_bindir}/cdiff
43install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
44install %{name}rc $RPM_BUILD_ROOT%{_sysconfdir}/%{name}rc
45
46%clean
47rm -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/*
This page took 0.060084 seconds and 4 git commands to generate.