File lesspipe.spec of Package lesspipe
#
# spec file for package lesspipe (Version 1.71)
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: lesspipe
Version: 1.71
Release: 0
Summary: An input filter for the pager less
License: GPLv2+
Url: http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html
Group: System/Console
# ORIGINAL PACKAGE -- http://www-zeuthen.desy.de/~friebel/unix/less/lesspipe.tar.gz
Source0: %{name}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# openSUSE packages
Recommends: ImageMagick
Recommends: antiword
Recommends: binutils
Recommends: cabextract
Recommends: deb
Recommends: fastjar
Recommends: file
Recommends: genisoimage
Recommends: gpg2
Recommends: groff
Recommends: html2text
Recommends: id3v2
Recommends: ncurses-utils
Recommends: p7zip
Recommends: perl
Recommends: plutil
Recommends: poppler-tools
Recommends: unrar
Recommends: unzip
Recommends: xz
# openSUSE packages (replacements)
Suggests: ghostscript-library
Suggests: links
Suggests: lynx
Suggests: w3m
# not official openSUSE packages
Recommends: dvi2tty
Recommends: xlhtml
# not official openSUSE packages (replacements)
Suggests: catdoc
Suggests: elinks
Suggests: rar
# not openSUSE packages
Recommends: djvu
Recommends: perl-Data-Dumper
Recommends: perl-Proc-ProcessTable
Recommends: perl-Storable
Recommends: ppthtml
Recommends: pstotext
Recommends: unrtf
# not openSUSE packages (replacements)
Suggests: mp3info
Suggests: o3read
Suggests: rpmunpack
BuildArch: noarch
%description
The script runs under a ksh compliant shell (ksh, bash, zsh) and allows
to view files with binary content, compressed files, archives and files
contained in archives. A large and growing number of formats are
supported both as plain and compressed files using compress, gzip,
bzip2 or zip. Lesspipe has colorizing support for the languages ada,
asm, awk, c, c++, groff, html, xml, java, javascript, lisp, m4, make,
pascal, patch, perl, povray, python, ruby, shellscript and sql.
Authors:
--------
Wolfgang Friebel, DESY <Wolfgang.Friebel@desy.de>
%prep
%setup -q
%build
./configure --yes --prefix=%{_prefix}
%install
%{__install} -D -m 0755 code2color %{buildroot}%{_bindir}/code2color
%{__install} -D -m 0755 lesspipe.sh %{buildroot}%{_bindir}/lesspipe.sh
%{__install} -D -m 0755 sxw2txt %{buildroot}%{_bindir}/sxw2txt
%{__install} -D -m 0644 lesspipe.1 %{buildroot}%{_mandir}/man1/lesspipe.1
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc COPYING ChangeLog README TODO german.txt
%{_bindir}/code2color
%{_bindir}/lesspipe.sh
%{_bindir}/sxw2txt
%{_mandir}/man1/lesspipe.1*
%changelog