From b3fc6cfaa2279511a18f5ee69618a9111f26e61e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 23 Jan 2011 16:42:30 +0000 Subject: [PATCH 1/2] - new, based on debian sources Changed files: cvssuck.spec -> 1.1 --- cvssuck.spec | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 cvssuck.spec diff --git a/cvssuck.spec b/cvssuck.spec new file mode 100644 index 0000000..9527b27 --- /dev/null +++ b/cvssuck.spec @@ -0,0 +1,43 @@ +%define subver 20060124 +Summary: Inefficient cvs repository grabber using cvs command +Name: cvssuck +Version: 0.3 +Release: 1 +License: BSD +Group: Applications +Source0: ftp://ftp.debian.org/debian/pool/main/c/cvssuck/%{name}_%{version}.cvs%{subver}.orig.tar.gz +# Source0-md5: 87fceb81f6ea11d8582413a5a1fd965a +URL: http://cvs.m17n.org/~akr/cvssuck/ +BuildRequires: rpmbuild(macros) >= 1.484 +Requires: cvs-client +Requires: rcs +Requires: ruby +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +CVSsuck is a mirroring tool for CVS repositories. Unlike other tools +such as CVSup or rsync, it uses cvs command to access the repository. +So, it works well with remote repositories without a special server or +shell account. However it is inefficient and not perfect because CVS +client/server protocol is not designed for mirroring. If a server +provides special way to grab a repository, you shouldn't use CVSsuck. + +%prep +%setup -q -n %{name}-%{version}.cvs%{subver} +%{__sed} -i -e '1s,^#!.*ruby,#!%{__ruby},' cvssuck + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} +install -p cvssuck $RPM_BUILD_ROOT%{_bindir} +cp -a cvssuck.1 $RPM_BUILD_ROOT%{_mandir}/man1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README* NEWS ChangeLog +%attr(755,root,root) %{_bindir}/cvssuck +%{_mandir}/man1/cvssuck.1* -- 2.43.0 From 18aeefcc3691689bb97f03aebd159589bdaa4351 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Tue, 11 Feb 2020 09:45:09 +0100 Subject: [PATCH 2/2] - use http://ftp.debian.org/ url --- cvssuck.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cvssuck.spec b/cvssuck.spec index 9527b27..d488423 100644 --- a/cvssuck.spec +++ b/cvssuck.spec @@ -5,7 +5,7 @@ Version: 0.3 Release: 1 License: BSD Group: Applications -Source0: ftp://ftp.debian.org/debian/pool/main/c/cvssuck/%{name}_%{version}.cvs%{subver}.orig.tar.gz +Source0: http://ftp.debian.org/debian/pool/main/c/cvssuck/%{name}_%{version}.cvs%{subver}.orig.tar.gz # Source0-md5: 87fceb81f6ea11d8582413a5a1fd965a URL: http://cvs.m17n.org/~akr/cvssuck/ BuildRequires: rpmbuild(macros) >= 1.484 -- 2.43.0