File stgit.spec of Package stgit

# spec file for package stgit (Version 0.14.3)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           stgit
BuildRequires:  asciidoc git-core python-devel xmlto
Summary:        Stacked GIT - Source Code Management Tool
Version:        0.14.3
Release:        72
License:        GPL v2 or later
Group:          Development/Tools/Version Control
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source:         %{name}-%{version}.tar.bz2
Patch:          stgit-doc-install-fix.diff
Requires:       git-core python
%if %suse_version > 1110
BuildArch:      noarch

StGIT is a Python application providing similar functionality to Quilt
(i.e. pushing/popping patches to/from a stack) on top of GIT. These
operations are performed using GIT commands and the patches are stored
as GIT commit objects, allowing easy merging of the StGIT patches into
other repositories using standard GIT functionality.

%setup -q

make doc

make PREFIX=%{_prefix} DESTDIR="$RPM_BUILD_ROOT" install
make -C Documentation PREFIX=%{_prefix} mandir=%{_mandir} DESTDIR="$RPM_BUILD_ROOT" install


%defattr(-, root, root)
%doc %{_mandir}/man?/*
%if %suse_version > 1110

openSUSE Build Service is sponsored by