1 Summary: A user and branch filter for git fast-export data
2 Name: git-export-filter
3 # grep 'git-export-filter version' git-export-filter.c
7 Group: Development/Tools
8 # http://repo.or.cz/git-export-filter.git/bundles
9 Source0: http://repo.or.cz/git-export-filter.git/%{name}-a6a4d1e5.bundle
11 URL: http://repo.or.cz/w/git-export-filter.git
12 BuildRequires: git-core
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 git-export-filter allows one to filter a git fast-export data stream
17 optionally rewriting committer/author and/or branch/tag names.
23 git remote add origin %{SOURCE0}
25 git checkout -b master origin/master
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
35 install -p git-export-filter $RPM_BUILD_ROOT%{_bindir}
36 cp -p git-export-filter.1 $RPM_BUILD_ROOT%{_mandir}/man1
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
44 %attr(755,root,root) %{_bindir}/git-export-filter
45 %{_mandir}/man1/git-export-filter.1*