]>
Commit | Line | Data |
---|---|---|
64cee83c AM |
1 | %define snap 20090918 |
2 | Summary: Wrapper script for checking out and updating source code from multiple SCM repository locations | |
3 | Name: gclient | |
4 | Version: 0.1 | |
5 | Release: 0.%{snap}.1 | |
6 | License: Apache | |
7 | Group: Applications/System | |
8 | # svn export http://gclient.googlecode.com/svn/trunk/ gclient | |
9 | Source0: %{name}-%{snap}.tar.bz2 | |
10 | # Source0-md5: a06187007c1209d43d88fe5ade8d768a | |
11 | URL: http://code.google.com/p/gclient/ | |
12 | Requires: python | |
13 | Requires: python-modules | |
14 | Requires: python-pymox | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | The gclient script manages checkouts and updates for a set of client | |
20 | modules in various SCM repository locations. | |
21 | ||
22 | The gclient script currently handles basic management of one or more | |
23 | Subversion modules, along with their dependent modules. Module sources | |
24 | may exist in separate, different Subversion repositories. Addition of | |
25 | other SCM systems is planned. | |
26 | ||
27 | %prep | |
28 | %setup -q -n %{name} | |
29 | ||
30 | %build | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{_bindir} | |
35 | ||
36 | install gclient.py $RPM_BUILD_ROOT%{_bindir}/gclient | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc *.txt | |
44 | %attr(755,root,root) %{_bindir}/gclient |