1 %define subver 20060124
2 Summary: Inefficient cvs repository grabber using cvs command
8 Source0: ftp://ftp.debian.org/debian/pool/main/c/cvssuck/%{name}_%{version}.cvs%{subver}.orig.tar.gz
9 # Source0-md5: 87fceb81f6ea11d8582413a5a1fd965a
10 URL: http://cvs.m17n.org/~akr/cvssuck/
11 BuildRequires: rpmbuild(macros) >= 1.484
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 CVSsuck is a mirroring tool for CVS repositories. Unlike other tools
20 such as CVSup or rsync, it uses cvs command to access the repository.
21 So, it works well with remote repositories without a special server or
22 shell account. However it is inefficient and not perfect because CVS
23 client/server protocol is not designed for mirroring. If a server
24 provides special way to grab a repository, you shouldn't use CVSsuck.
27 %setup -q -n %{name}-%{version}.cvs%{subver}
28 %{__sed} -i -e '1s,^#!.*ruby,#!%{__ruby},' cvssuck
31 rm -rf $RPM_BUILD_ROOT
32 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
33 install -p cvssuck $RPM_BUILD_ROOT%{_bindir}
34 cp -a cvssuck.1 $RPM_BUILD_ROOT%{_mandir}/man1
37 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)
41 %doc README* NEWS ChangeLog
42 %attr(755,root,root) %{_bindir}/cvssuck
43 %{_mandir}/man1/cvssuck.1*