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