File git-bzr-ng.spec of Package git-bzr-ng
#
# spec file for package git-bzr-ng
#
# Copyright (c) 2013 Andrey Borzenkob <arvidjaar@gmail.com>
#
# 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 http://bugs.opensuse.org/
#
# There is no formal version or even tag for git describe, so we simulate
# git descibe with
# git rev-list HEAD --count
%define commit_count 59
# git --no-pager log -n 1 --pretty=tformat:g%h HEAD
%define commit_hash ae6a083
Name: git-bzr-ng
Version: 0.0
Release: 0
Summary: Bidirectional bridge between GIT and bzr
License: BSD-3-Clause
Group: Development/Tools/Version Control
Url: https://github.com/termie/git-bzr-ng
# curl -L -o git-bzr-ng.tar.gz https://api.github.com/repos/termie/git-bzr-ng/tarball
Source: %{name}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: bzr >= 2.4.1
Requires: python-fastimport >= 0.9.0
Requires: bzr-fastimport >= 0.13.0
Requires: git-core
%description
git-bzr-ng is a bidirectional bridge between git and bzr that lets you stop worrying which version control the code you love is using -- as long as they are using git or bzr.
%prep
%setup -q -n termie-git-bzr-ng-%{commit_hash}
%build
%install
install -d $RPM_BUILD_ROOT%{_bindir}
install -m 755 git-bzr $RPM_BUILD_ROOT%{_bindir}
%files
%defattr(-,root,root)
%doc LICENSE README.rst
%{_bindir}/git-bzr
%changelog