1 Summary: Subversion to Git conversion script
7 Group: Development/Tools
8 Source0: https://github.com/fragglet/agito/archive/master/%{name}-%{version}.tar.gz
9 # Source0-md5: 410cd5e31be46ae1c0725ffae2c44074
10 URL: https://github.com/fragglet/agito
11 BuildRequires: sed >= 4.0
13 Requires: python-dulwich
14 Requires: python-subversion
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Agito is (yet another) Subversion to Git conversion script.
22 It is designed to do a better job of translating history than git-svn,
23 which has some subtleties in the way it works that cause it to
24 construct branch histories that are suboptimal in certain corner case
25 scenarios. Agito was created to convert the history of Chocolate Doom,
26 which exhibits some of these corner cases. For more information on how
27 Agito is different to git-svn, see DESIGN.
33 %{__sed} -i -e '1s,^#!.*python,#!%{__python},' %{name}.py
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_bindir}
38 install -p %{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name}
41 rm -rf $RPM_BUILD_ROOT
44 %defattr(644,root,root,755)
45 %doc README AUTHORS DESIGN example.cfg
46 %attr(755,root,root) %{_bindir}/agito