]> git.pld-linux.org Git - SPECS.git/blob - agito.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.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:       python-dulwich
14 Requires:       python-subversion
15 Requires:       subversion
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Agito is (yet another) Subversion to Git conversion script.
21
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.
28
29 %prep
30 %setup -qc
31 mv agito-*/* .
32
33 %{__sed} -i -e '1s,^#!.*python,#!%{__python},' %{name}.py
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_bindir}
38 install -p %{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc README AUTHORS DESIGN example.cfg
46 %attr(755,root,root) %{_bindir}/agito
This page took 0.397791 seconds and 3 git commands to generate.