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
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Agito is (yet another) Subversion to Git conversion script.
20 It is designed to do a better job of translating history than git-svn,
21 which has some subtleties in the way it works that cause it to
22 construct branch histories that are suboptimal in certain corner case
23 scenarios. Agito was created to convert the history of Chocolate Doom,
24 which exhibits some of these corner cases. For more information on how
25 Agito is different to git-svn, see DESIGN.
31 %{__sed} -i -e '1s,^#!.*python,#!%{__python},' %{name}.py
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_bindir}
36 install -p %{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name}
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
43 %doc README AUTHORS DESIGN example.cfg
44 %attr(755,root,root) %{_bindir}/agito