packages: vzdump/vzdump.spec (NEW) - initial commit

brushek brushek at pld-linux.org
Thu Jun 30 11:03:29 CEST 2011


Author: brushek                      Date: Thu Jun 30 09:03:29 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial commit

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

---- Diffs:

================================================================
Index: packages/vzdump/vzdump.spec
diff -u /dev/null packages/vzdump/vzdump.spec:1.1
--- /dev/null	Thu Jun 30 11:03:29 2011
+++ packages/vzdump/vzdump.spec	Thu Jun 30 11:03:20 2011
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+
+%define 	vzdumpdate	2011-06-17
+Summary:	OpenVZ backup scripts
+Summary(pl.UTF-8):	Skrypty do backupu kontenerów OpenVZ
+######		Unknown group!
+Name:		vzdump
+Version:	1.2_13
+Release:	0.1
+License:	GPL
+Group:		Utilities
+Source0:	http://download.proxmox.com/sources/%{name}_%{vzdumpdate}.tar.gz
+# Source0-md5:	610c70c2fc49f48979cd8e5af2764d15
+URL:		http://www.proxmox.com/
+Requires:	cstream
+Requires:	perl
+Requires:	perl(LockFile::Simple)
+Requires:	rsync
+#Requires:	smtpdaemon
+Requires:	vzctl
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains the vzdump script to backup and restore openvz
+images.
+
+%description -l pl.UTF-8
+Pakiet zawiera skrypt vzdump do tworzenia i odtwarzania (vzrestore)
+kopii zapasowych kontenerów openvz.
+
+%prep
+%setup -q -n %{name}_%{%{name}date}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+mkdir $RPM_BUILD_ROOT/%{perl_vendorlib}
+mv $RPM_BUILD_ROOT%{_datadir}/perl5/PVE $RPM_BUILD_ROOT/%{perl_vendorlib}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_sbindir}/vzdump
+%attr(755,root,root) %{_sbindir}/vzrestore
+%{_mandir}/man1/vzdump.1.*
+%{_mandir}/man1/vzrestore.1.*
+%dir %{perl_vendorlib}/PVE
+%dir %{perl_vendorlib}/PVE/VZDump
+%{perl_vendorlib}/PVE/VZDump.pm
+%{perl_vendorlib}/PVE/VZDump/Plugin.pm
+%{perl_vendorlib}/PVE/VZDump/OpenVZ.pm
+
+%defattr(644,root,root,755)
+%doc hook-script.pl ChangeLog changelog.Debian copyright
+
+%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/06/30 09:03:20  brushek
+- initial commit
+
================================================================


More information about the pld-cvs-commit mailing list