commit e1bf4205af6340251ecf067a8a11e864123029a7 Author: Elan Ruusamäe <g...@delfi.ee> Date: Thu Oct 13 22:29:55 2016 +0300
new, version 1.5.0 git-export-filter.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) --- diff --git a/git-export-filter.spec b/git-export-filter.spec new file mode 100644 index 0000000..5bcbee4 --- /dev/null +++ b/git-export-filter.spec @@ -0,0 +1,45 @@ +Summary: A user and branch filter for git fast-export data +Name: git-export-filter +# grep 'git-export-filter version' git-export-filter.c +Version: 1.5.0 +Release: 1 +License: GPL v2 +Group: Development/Tools +# http://repo.or.cz/git-export-filter.git/bundles +Source0: http://repo.or.cz/git-export-filter.git/%{name}-a6a4d1e5.bundle +# Source0-md5: - +URL: http://repo.or.cz/w/git-export-filter.git +BuildRequires: git-core +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +git-export-filter allows one to filter a git fast-export data stream +optionally rewriting committer/author and/or branch/tag names. + +%prep +%setup -qcT + +git init +git remote add origin %{SOURCE0} +git fetch origin +git checkout -b master origin/master + +%build +%{__make} \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags}" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} +install -p git-export-filter $RPM_BUILD_ROOT%{_bindir} +cp -p git-export-filter.1 $RPM_BUILD_ROOT%{_mandir}/man1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README.txt +%attr(755,root,root) %{_bindir}/git-export-filter +%{_mandir}/man1/git-export-filter.1* ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/git-export-filter.git/commitdiff/e1bf4205af6340251ecf067a8a11e864123029a7 _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit