packages: cvsclone/cvsclone.spec (NEW) - new
glen
glen at pld-linux.org
Sun Jan 23 17:26:10 CET 2011
Author: glen Date: Sun Jan 23 16:26:10 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/cvsclone:
cvsclone.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/cvsclone/cvsclone.spec
diff -u /dev/null packages/cvsclone/cvsclone.spec:1.1
--- /dev/null Sun Jan 23 17:26:10 2011
+++ packages/cvsclone/cvsclone.spec Sun Jan 23 17:26:04 2011
@@ -0,0 +1,57 @@
+# $Revision$, $Date$
+Summary: Utility to clone CVS repositories over the cvspserver interface
+Name: cvsclone
+Version: 0.1
+Release: 1
+License: GPL v2
+Source0: http://repo.or.cz/w/cvsclone.git/snapshot/558950ab442bc0551c8c16f8d3d6bc972818a81d.tar.gz#/%{name}.tgz
+# Source0-md5: 73098d53f36786f7494e6f7845cab7f2
+Group: Development/Languages
+URL: https://samba.org/ftp/tridge/rtc/cvsclone.l
+BuildRequires: sed >= 4.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+As git cvsimport is pretty slow over the wire (and as cvs2git can do a
+substantially better job if there are a lot of branches), it is often
+better to "clone" a whole CVS repository. Enter cvsclone, written by
+Peter Backes.
+
+You can find a few touchups by yours truly here, allowing to pipe the
+output of "cvs rlog" into a file, editing the file to fix errors (such
+as geniuses who put the cvs log of moved files into a commit message)
+and use that file as input instead.
+
+%prep
+%setup -qn %{name}
+
+%{__sed} -i -e '
+ s,gcc,$(CC),
+ s,-g,$(CFLAGS),
+' Makefile
+
+%build
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -p cvsclone $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/cvsclone
+
+%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:26:04 glen
+- new
================================================================
More information about the pld-cvs-commit
mailing list