]> git.pld-linux.org Git - packages/colordiff.git/blobdiff - colordiff.spec
- up to 1.0.10
[packages/colordiff.git] / colordiff.spec
index 0c038e5127003755c2b70a5c3eec0eae01731f16..fa35224eb2a339e4db6490dbfa7e0e3eafe4ffac 100644 (file)
@@ -1,34 +1,46 @@
 %include       /usr/lib/rpm/macros.perl
 Summary:       Perl script to colorize diffs
-Summary(pl):   Skrypt w perlu do kolorowania diffów
+Summary(hu.UTF-8):     Egy Perl szkript, amely a diff kimenetét teszi színessé
+Summary(pl.UTF-8):     Skrypt w Perlu do kolorowania diffów
 Name:          colordiff
-Version:       1.0.2
+Version:       1.0.10
 Release:       1
+License:       GPL v3
 Group:         Applications/Text
-License:       GPL
-URL:           http://colorize.raszi.hu/
-Source0:       http://belnet.dl.sourceforge.net/sourceforge/colordiff/%{name}-%{version}.tar.gz
-Buildarch:     noarch
+Source0:       http://colordiff.sourceforge.net/%{name}-%{version}.tar.gz
+# Source0-md5: e3e86e2837deb884e43eacdc96a67baa
+URL:           http://colordiff.sourceforge.net/
+BuildRequires: rpm-perlprov
+# Required for docs:
+#BuildRequires:        xmlto
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This is a short perl script to colorize your diffs
+This is a short perl script to colorize your diffs.
 
-%description -l pl
-Colorize jest krótkim skryptem w perlu który umo¿liwi Ci pokolorowanie
-diffów.
+%description -l hu.UTF-8
+Ez a rövidke perl szkript a diff parancs kimenetét teszi színek
+segítségével olvashatóbbá.
+
+%description -l pl.UTF-8
+Colorize jest krótkim skryptem w Perlu umożliwiającym pokolorowanie
+diffów.
 
 %prep
 %setup -q
 
-gzip -9v %{name}.1
+%build
+# fails right now
+#%{__make} -j1 doc
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
 
-install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/
-install %{name}.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/
+install %{name}.pl $RPM_BUILD_ROOT%{_bindir}/colordiff
+install cdiff.sh $RPM_BUILD_ROOT%{_bindir}/cdiff
+install %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
 install %{name}rc $RPM_BUILD_ROOT%{_sysconfdir}/%{name}rc
 
 %clean
@@ -36,7 +48,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES README BUGS TODO
+%doc BUGS CHANGES README
 %attr(755,root,root) %{_bindir}/*
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
 %{_mandir}/man1/*
-%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/*
This page took 0.085998 seconds and 4 git commands to generate.