File ketchup.spec of Package ketchup

#
# spec file for package ketchup (Version 0.9.8)
#
# 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:           ketchup
Version:        0.9.8
Release:        1
License:        GNU General Public License (GPL)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Development/Tools/Other
Source:         %{name}-%{version}.tar.bz2
Summary:        Tool for downloading and updating Linux kernel source trees
BuildArch:      noarch
URL:            http://www.selenic.com/ketchup/

%description
This tool synchronises a local kernel tree with a desired kernel ver-
sion and patch set from a kernel.org mirror. The default requires a GPG
key on your keyring, to verify the identity of the patches and source
archives. Entire kernel images are not downloaded unless necessary, so
bandwidth is saved. Patches are applied and removed as necessary to
attain the requested version.



Authors:
--------
    Matt Mackall <mpm@selenic.com>

%prep
%setup -c %{name}-%{version}

%build

%install
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1
install -m 0755 ketchup $RPM_BUILD_ROOT/%{_bindir}
install -m 0755 contrib/quilt-pop $RPM_BUILD_ROOT/%{_bindir}
install -m 0755 contrib/quilt-push $RPM_BUILD_ROOT/%{_bindir}
install -m 0644 ketchup.1 $RPM_BUILD_ROOT/%{_mandir}/man1
gzip $RPM_BUILD_ROOT/%{_mandir}/man1/*.1

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%{_bindir}/ketchup
%{_bindir}/quilt-pop
%{_bindir}/quilt-push
%{_mandir}/man1/ketchup.1.gz

%changelog -n ketchup
* Thu Jan 18 2007 - bwalle@suse.de
- initial package
openSUSE Build Service is sponsored by