]> git.pld-linux.org Git - packages/colordiff.git/blob - colordiff.spec
- up to 1.0.8a
[packages/colordiff.git] / colordiff.spec
1 %include        /usr/lib/rpm/macros.perl
2 Summary:        Perl script to colorize diffs
3 Summary(pl.UTF-8):      Skrypt w Perlu do kolorowania diffów
4 Name:           colordiff
5 Version:        1.0.8a
6 Release:        1
7 License:        GPL v3
8 Group:          Applications/Text
9 Source0:        http://colordiff.sourceforge.net/%{name}-%{version}.tar.gz
10 # Source0-md5:  2355debed9a9a0183c33ef27c62feb3b
11 URL:            http://colordiff.sourceforge.net/
12 BuildRequires:  rpm-perlprov
13 # Required for docs:
14 #BuildRequires: xmlto
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 This is a short perl script to colorize your diffs.
20
21 %description -l pl.UTF-8
22 Colorize jest krótkim skryptem w Perlu umożliwiającym pokolorowanie
23 diffów.
24
25 %prep
26 %setup -q
27
28 %build
29 # fails right now
30 #%{__make} -j1 doc
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
35
36 install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/colordiff
37 install cdiff.sh $RPM_BUILD_ROOT%{_bindir}/cdiff
38 install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
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)
46 %doc BUGS CHANGES README
47 %attr(755,root,root) %{_bindir}/*
48 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
49 %{_mandir}/man1/*
This page took 0.062828 seconds and 3 git commands to generate.