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
Url:            http://jl.photodex.com/dog/
Group:          System/Console
Source:         dog-%{version}.tar.bz2
Patch0:         dog-1.7-fixes.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
# cute joke, but really SUSE? appropriate? 
#Conflicts:      oneko

%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 CFLAGS="%{optflags}" dog

%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

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc AUTHORS COPYING README
%{_bindir}/*
%doc %{_mandir}/man1/*

%changelog
openSUSE Build Service is sponsored by