]>
Commit | Line | Data |
---|---|---|
b49f47d1 | 1 | |
2 | Summary: Tailor, the VCS sync tool | |
3 | Name: cvsync | |
4 | Version: 0 | |
5 | %define codate 20050612 | |
6 | Release: 0.%{codate}.1 | |
7 | License: Free | |
8 | Source0: cvsync-%{codate}.tar.gz | |
9 | # Source0-md5: b3d7d184ecbf95278dc8112d67f48cfe | |
10 | URL: http://darcs.net/DarcsWiki/Tailor | |
11 | Group: Development/Version Control | |
12 | BuildRequires: python | |
13 | BuildRequires: python-devel >= 2.2 | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | A Python tool able to keep in sync various kinds of repository: it works for various revision control systems, digesting patches coming from three different VC, CVS, Subversion, Darcs and (still partially) Monotone and Codeville, preserving history. | |
18 | ||
19 | %prep | |
20 | %setup -q -n %{name} | |
21 | ||
22 | %build | |
23 | CFLAGS="%{rpmcflags}" | |
24 | export CFLAGS | |
25 | python setup.py build | |
26 | ||
27 | %install | |
28 | rm -rf $RPM_BUILD_ROOT | |
29 | install -d $RPM_BUILD_ROOT%{py_sitescriptdir} | |
30 | ||
31 | python setup.py install \ | |
32 | --root=$RPM_BUILD_ROOT --optimize=2 | |
33 | ||
34 | %clean | |
35 | rm -rf $RPM_BUILD_ROOT | |
36 | ||
37 | %files | |
38 | %defattr(644,root,root,755) | |
39 | %doc README | |
40 | %attr(755,root,root) %{_bindir}/tailor.py | |
41 | %dir %{py_sitescriptdir}/vcpx | |
42 | %{py_sitescriptdir}/vcpx/*.py[co] |