3 Summary: A package of scripts called used to manage checkouts and code reviews
6 Release: 0.%{snap}.%{rel}
8 Group: Development/Tools
9 Source0: https://src.chromium.org/svn/trunk/tools/depot_tools.zip?/%{name}-svn%{snap}.zip
10 # Source0-md5: 6cf6483d6da8d15848cbaa8857aae3ae
11 URL: http://dev.chromium.org/developers/how-tos/depottools
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Chromium uses a package of scripts, the depot_tools, to manage
18 interaction with the Chromium source code repository and the Chromium
19 development process. It contains the following utilities:
21 - gclient: Meta-checkout tool managing both subversion and git
22 checkouts. It is similar to repo tool except that it works on Linux,
23 OS X, and Windows and supports both svn and git. On the other hand,
24 gclient doesn't integrate any code review functionality.
25 - gcl: Rietveld code review tool for subversion. The gcl tool runs
27 - git-cl: Rietveld code review tool for git. The git-cl tool runs
29 - hammer: (Obsolete) Wrapper script for building Chromium with the
30 SCons software construction tool.
31 - drover: Quickly revert svn commits.
32 - cpplint.py: Checks for C++ style compliance.
33 - presubmit_support.py: Runs PRESUBMIT.py presubmit checks.
34 - repo: The repo tool.
35 - trychange.py: Try server tool. It is wrapped by gcl try and git-try.
36 - git-try: Try change tool for git users
37 - wtf: Displays the active git branches in a chromium os checkout.
38 - weekly: Displays the log of checkins for a particular developer
39 since a particular date for git checkouts.
40 - git-gs: Wrapper for git grep with relevant source types.
41 - zsh-goodies: Completion for zsh users.
48 # python 2.4 components
49 rm -r third_party/pymox
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
55 cp -a . $RPM_BUILD_ROOT%{_datadir}/%{name}
56 install -d $RPM_BUILD_ROOT%{_bindir}
57 cat > $RPM_BUILD_ROOT%{_bindir}/gclient <<'EOF'
59 %{_datadir}/%{name}/gclient "$@"
61 chmod +x $RPM_BUILD_ROOT%{_bindir}/gclient
64 rm -rf $RPM_BUILD_ROOT
67 %defattr(644,root,root,755)
68 %doc LICENSE README README.gclient
69 %attr(755,root,root) %{_bindir}/gclient
70 %dir %{_datadir}/%{name}