File rpm2git.spec of Package rpm2git
# norootforbuild
BuildRequires: diffstat diffutils patch
BuildRequires: git >= 1.5
BuildRequires: python rpm
Name: rpm2git
# f976bf21d0b06a856c87641b6dc8d15b30f831a9
Version: 0.1
Release: 1
License: GPL
Group: Development/Tools/Version Control
Summary: Create a git branch from an existing git repository and RPM sources
Source0: rpm2git.tar.gz
Requires: git >= 1.5
Requires: diffstat diffutils patch python rpm
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Create a git branch from an existing git repository and RPM sources.
%prep
%setup -n rpm2git
%build
make PREFIX=/usr
%check
make PREFIX=/usr test
%clean
rm -rf $RPM_BUILD_ROOT
%install
make install PREFIX=$RPM_BUILD_ROOT/usr
%files
%defattr(-, root, root)
%doc AUTHORS README
%{_bindir}/rpm2git
%{_prefix}/lib/rpm2git
%changelog