]> git.pld-linux.org Git - packages/git-export-filter.git/blame - git-export-filter.spec
new, version 1.5.0
[packages/git-export-filter.git] / git-export-filter.spec
CommitLineData
e1bf4205
ER
1Summary: A user and branch filter for git fast-export data
2Name: git-export-filter
3# grep 'git-export-filter version' git-export-filter.c
4Version: 1.5.0
5Release: 1
6License: GPL v2
7Group: Development/Tools
8# http://repo.or.cz/git-export-filter.git/bundles
9Source0: http://repo.or.cz/git-export-filter.git/%{name}-a6a4d1e5.bundle
10# Source0-md5: -
11URL: http://repo.or.cz/w/git-export-filter.git
12BuildRequires: git-core
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16git-export-filter allows one to filter a git fast-export data stream
17optionally rewriting committer/author and/or branch/tag names.
18
19%prep
20%setup -qcT
21
22git init
23git remote add origin %{SOURCE0}
24git fetch origin
25git checkout -b master origin/master
26
27%build
28%{__make} \
29 CC="%{__cc}" \
30 CFLAGS="%{rpmcflags}"
31
32%install
33rm -rf $RPM_BUILD_ROOT
34install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
35install -p git-export-filter $RPM_BUILD_ROOT%{_bindir}
36cp -p git-export-filter.1 $RPM_BUILD_ROOT%{_mandir}/man1
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%files
42%defattr(644,root,root,755)
43%doc README.txt
44%attr(755,root,root) %{_bindir}/git-export-filter
45%{_mandir}/man1/git-export-filter.1*
This page took 0.063984 seconds and 4 git commands to generate.