]> git.pld-linux.org Git - packages/agito.git/blob - agito.spec
new, better svn2git before reposurgeon
[packages/agito.git] / agito.spec
1 Summary:        Subversion to Git conversion script
2 Name:           agito
3 # no version known
4 Version:        0.1
5 Release:        1
6 License:        GPL v2+
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
12 Requires:       git-core
13 Requires:       subversion
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 Agito is (yet another) Subversion to Git conversion script.
19
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.
26
27 %prep
28 %setup -qc
29 mv agito-*/* .
30
31 %{__sed} -i -e '1s,^#!.*python,#!%{__python},' %{name}.py
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT%{_bindir}
36 install -p %{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc README AUTHORS DESIGN example.cfg
44 %attr(755,root,root) %{_bindir}/agito
This page took 0.102289 seconds and 3 git commands to generate.