File lesspipe.spec of Package lesspipe

#
# spec file for package lesspipe (Version 1.55)
#
# Copyright (c) 2008 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
License:        GPL v2 or later
Group:          System/Console
AutoReqProv:    on
Version:        1.55
Release:        1
Url:            http://www-zeuthen.desy.de/~friebel/unix/lesspipe.html
Source0:        %{name}.tar.gz
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       tar, groff, binutils, cpio, perl, 
Requires:       dvi2tty, html2text, ghostscript-library
Requires:       id3v2, ImageMagick, genisoimage 
Recommends:     gpg2, cabextract, 7za, dpkg
Summary:        An input filter for the pager less

%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 -n %{name}-%{version}

%build
./configure --yes --prefix=%{_prefix}
make

%install
%{__install} -D -m 0755 lesspipe.sh %{buildroot}%{_bindir}/lesspipe.sh
%{__install} -D -m 0755 sxw2txt     %{buildroot}%{_bindir}/sxw2txt
%{__install} -D -m 0755 code2color  %{buildroot}%{_bindir}/code2color
%{__install} -D -m 0644 lesspipe.1  %{buildroot}%{_mandir}/man1/lesspipe.1

%files
%defattr(-, root,root)
%{_bindir}/lesspipe.sh
%{_bindir}/code2color
%{_bindir}/sxw2txt
%doc README INSTALL
%doc english.txt german.txt
%{_mandir}/man1/lesspipe.1*

%changelog
* Mon Sep 01 2008 mjung@suse.de
- corrected specfile and created changes (thank you darix)
* Wed Aug 27 2008 mjung@suse.de
- initial package
openSUSE Build Service is sponsored by