commit bacb91e43353b73b492e191f235eadc543727239
Author: Elan Ruusamäe <[email protected]>
Date:   Sun Mar 13 00:00:22 2016 +0200

    new, version 1.0.10
    
    upstream name is svn2git, we already use that name.
    but they install binary as svn-all-fast-export, use that as package name
    besides, debian also uses svn-all-fast-export package name

 svn-all-fast-export.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 58 insertions(+)
---
diff --git a/svn-all-fast-export.spec b/svn-all-fast-export.spec
new file mode 100644
index 0000000..96e6e45
--- /dev/null
+++ b/svn-all-fast-export.spec
@@ -0,0 +1,58 @@
+Summary:       A fast-import based converter for an svn repo to git repos
+Name:          svn-all-fast-export
+Version:       1.0.10
+Release:       1
+License:       GPL v3
+Group:         Development/Tools
+Source0:       
https://github.com/svn-all-fast-export/svn2git/archive/%{version}.tar.gz
+# Source0-md5: c94acdfb6eeb210fb8654436d179d946
+URL:           https://github.com/svn-all-fast-export/svn2git
+BuildRequires: apr-devel
+BuildRequires: qt4-qmake >= 4.3.3-3
+BuildRequires: rpmbuild(macros) >= 1.484
+BuildRequires: subversion-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+svn-all-fast-export is a tool to convert your svn repositories to git.
+
+You will need to have a copy of your svn repository and to write some
+rules to specify how the conversion will be done, for instance, you
+can manage how the tags and branches will be managed writing the
+appropriate rules. You have examples in
+%{_examplesdir}/%{name}-%{version}
+
+Also, you can provide a file mapping the old svn accounts to the
+authors names in the format "Author Name <email>" so will not need to
+use git filter-branch to amend the commiters' names.
+
+#'<- for vim
+
+%prep
+%setup -qc
+mv svn2git-*/* .
+
+%build
+cd src
+
+cat > local-config.pri <<EOF
+APR_INCLUDE = $(apr-1-config --includedir)
+EOF
+
+qmake-qt4
+%{__make} \
+       CXX="%{__cxx}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_examplesdir}/%{name}-%{version}}
+install -p svn-all-fast-export $RPM_BUILD_ROOT%{_bindir}
+cp -a samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/svn-all-fast-export
+%{_examplesdir}/%{name}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/svn-all-fast-export.git/commitdiff/bacb91e43353b73b492e191f235eadc543727239

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to