File dog.spec of Package dog

#
# spec file for package dog (Version 1.7)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           dog
Version:        1.7
Release:        186
License:        GPLv2+
Summary:        Enhanced Replacement for cat
#Original Url is dead - sources to be found on https://archive.org/details/tucows_8291_Dog
Url:            http://jl.photodex.com/dog/
Group:          System/Console
Source:         dog-%{version}.tar.bz2
Patch0:         dog-1.7-fixes.patch

%description
dog writes the contents of each given file, URL, or standard input to
standard output. It currently supports file, http, and raw URLs. It is
designed as a compatible, but enhanced replacement for cat.

%prep
%setup -q
%patch0

%build
%make_build

%install
install -m 755 -d %{buildroot}%{_mandir}/man1
install -m 755 -d %{buildroot}%{_bindir}
make prefix=%{buildroot}%{_prefix} bindir=%{buildroot}%{_bindir} mandir=%{buildroot}%{_mandir} install

%files
%license COPYING
%doc AUTHORS README
%{_bindir}/dog
%{_mandir}/man1/dog.1%{?ext_man}

%changelog
openSUSE Build Service is sponsored by