]> git.pld-linux.org Git - packages/cvssuck.git/blob - cvssuck.spec
- use http://ftp.debian.org/ url
[packages/cvssuck.git] / cvssuck.spec
1 %define         subver  20060124
2 Summary:        Inefficient cvs repository grabber using cvs command
3 Name:           cvssuck
4 Version:        0.3
5 Release:        1
6 License:        BSD
7 Group:          Applications
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
12 Requires:       cvs-client
13 Requires:       rcs
14 Requires:       ruby
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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.
25
26 %prep
27 %setup -q -n %{name}-%{version}.cvs%{subver}
28 %{__sed} -i -e '1s,^#!.*ruby,#!%{__ruby},' cvssuck
29
30 %install
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
35
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc README* NEWS ChangeLog
42 %attr(755,root,root) %{_bindir}/cvssuck
43 %{_mandir}/man1/cvssuck.1*
This page took 0.05524 seconds and 3 git commands to generate.