packages: svn2cvs/svn2cvs.spec (NEW) - new

glen glen at pld-linux.org
Wed Mar 30 11:17:24 CEST 2011


Author: glen                         Date: Wed Mar 30 09:17:24 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: packages/svn2cvs/svn2cvs.spec
diff -u /dev/null packages/svn2cvs/svn2cvs.spec:1.1
--- /dev/null	Wed Mar 30 11:17:25 2011
+++ packages/svn2cvs/svn2cvs.spec	Wed Mar 30 11:17:19 2011
@@ -0,0 +1,47 @@
+# $Revision$, $Date$
+Summary:	Save Subversion commits to CVS repository
+Name:		svn2cvs
+Version:	0.1
+Release:	0.1
+License:	GPL
+Group:		Development/Version Control
+Source0:	%{name}.tbz2
+# Source0-md5:	960f25ea89eb88fbbda7e404a6d0b1ae
+URL:		http://svn2cvs.tigris.org/
+BuildRequires:	perl-tools-pod
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This script will allows you to commit changes made to Subversion
+repository to (read-only) CVS repository manually or from Subversion's
+post-commit hook.
+
+%prep
+%setup -qn %{name}
+
+%build
+pod2man src/svn2cvs.pl > svn2cvs.1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+install -p src/svn2cvs.pl $RPM_BUILD_ROOT%{_bindir}/%{name}
+cp -p svn2cvs.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/%{name}
+%{_mandir}/man1/svn2cvs.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/03/30 09:17:19  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list