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/
#
# norootforbuild
Name: dog
License: GPL v2 or later
Group: System/Console
Autoreqprov: on
Summary: Enhanced Replacement for cat
Version: 1.7
Release: 186
URL: http://jl.photodex.com/dog/
Source: dog-%{version}.tar.bz2
Patch: dog-1.7-fixes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
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.
Authors:
--------
Jason Cohen <dogboy@photodex.com>
Jacob Leverich <leverich@photodex.com>
%prep
%setup
%patch
%build
make CFLAGS="$RPM_OPT_FLAGS" dog
%install
install -m 755 -d $RPM_BUILD_ROOT%{_mandir}/man1
install -m 755 -d $RPM_BUILD_ROOT%{_bindir}
make prefix=$RPM_BUILD_ROOT%{_prefix} bindir=$RPM_BUILD_ROOT%{_bindir} mandir=$RPM_BUILD_ROOT%{_mandir} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README
%{_bindir}/*
%doc %{_mandir}/man1/*
%changelog
* Wed Jul 04 2007 - pgajdos@suse.cz
- added Conflits: oneko [#289512]
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 05 2005 - dmueller@suse.de
- add norootforbuild
* Fri Apr 16 2004 - mcihar@suse.cz
- fixed gcc warnings
* Tue May 27 2003 - mcihar@suse.cz
- created new package