File patchview.spec of Package patchview

#
# spec file for package patchview (Version 007)
#
# Copyright (c) 2006 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:           patchview
Version:        008
Release:        0
Summary:        Merges patch file and source tree for more viewable context
License:        GPL
Group:          Development/Tools
Url:            http://www.xenotime.net/linux/scripts/patchview
Source0:        %{name}
Requires:       patchutils, tkdiff
Autoreqprov:    on
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArchitectures:     noarch

%description
'patchview' merges a patch file and a source tree to a set of temporary
modified files. This enables better patch (re)viewing and more viewable
context.

Authors:
--------
    Randy Dunlap <rdunlap@xenotime.net>
    Chris Cleeland <cleeland@ociweb.com>

%prep
%setup -n %{name} -c -T
cp -f %{SOURCE0} .

%install
rm -rf $RPM_BUILD_ROOT
install -d -m 755 $RPM_BUILD_ROOT%{_bindir}
install -m 755 %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/patchview

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/patchview

%changelog
openSUSE Build Service is sponsored by