packages: cvssuck/cvssuck.spec (NEW) - new, based on debian sources

glen glen at pld-linux.org
Sun Jan 23 17:42:36 CET 2011


Author: glen                         Date: Sun Jan 23 16:42:36 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, based on debian sources

---- Files affected:
packages/cvssuck:
   cvssuck.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/cvssuck/cvssuck.spec
diff -u /dev/null packages/cvssuck/cvssuck.spec:1.1
--- /dev/null	Sun Jan 23 17:42:36 2011
+++ packages/cvssuck/cvssuck.spec	Sun Jan 23 17:42:30 2011
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+%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*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2011/01/23 16:42:30  glen
+- new, based on debian sources
================================================================


More information about the pld-cvs-commit mailing list