packages: vzdump/vzdump.spec - up to 1.2_15 (2011-09-13) - noarch package -...

glen glen at pld-linux.org
Mon Oct 24 18:48:42 CEST 2011


Author: glen                         Date: Mon Oct 24 16:48:42 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.2_15 (2011-09-13)
- noarch package
- spec fixes

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

---- Diffs:

================================================================
Index: packages/vzdump/vzdump.spec
diff -u packages/vzdump/vzdump.spec:1.1 packages/vzdump/vzdump.spec:1.2
--- packages/vzdump/vzdump.spec:1.1	Thu Jun 30 11:03:20 2011
+++ packages/vzdump/vzdump.spec	Mon Oct 24 18:48:37 2011
@@ -1,24 +1,26 @@
 # $Revision$, $Date$
-#
-
-%define 	vzdumpdate	2011-06-17
+%define 	reldate	2011-09-13
+%define 	subver	15
+%define		rel		1
 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/
+Version:	1.2
+Release:	0.%{subver}.%{rel}
+License:	GPL v2
+Group:		Applications/System
+#Source0:	ftp://ftp.debian.org/debian/pool/main/v/vzdump/%{name}_%{version}.orig.tar.gz
+Source0:	http://download.proxmox.com/sources/%{name}_%{reldate}.tar.gz
+# Source0-md5:	efed9fc7b6851cbd4537627bc8c715b0
+URL:		http://www.proxmox.com/cms_proxmox/en/virtualization/openvz/vzdump/
 Requires:	cstream
 Requires:	perl
 Requires:	perl(LockFile::Simple)
 Requires:	rsync
-#Requires:	smtpdaemon
+Requires:	smtpdaemon
 Requires:	vzctl
+Suggests:	xdelta
+BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -30,39 +32,41 @@
 kopii zapasowych kontenerów openvz.
 
 %prep
-%setup -q -n %{name}_%{%{name}date}
+%setup -q -n %{name}_%{reldate}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
+	PERLLIBDIR=%{perl_vendorlib}/PVE \
 	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)
+%doc ChangeLog TODO changelog.Debian
+%doc hook-script.pl
 %attr(755,root,root) %{_sbindir}/vzdump
 %attr(755,root,root) %{_sbindir}/vzrestore
-%{_mandir}/man1/vzdump.1.*
-%{_mandir}/man1/vzrestore.1.*
+%{_mandir}/man1/vzdump.1*
+%{_mandir}/man1/vzrestore.1*
 %dir %{perl_vendorlib}/PVE
-%dir %{perl_vendorlib}/PVE/VZDump
 %{perl_vendorlib}/PVE/VZDump.pm
+%dir %{perl_vendorlib}/PVE/VZDump
 %{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.2  2011/10/24 16:48:37  glen
+- up to 1.2_15 (2011-09-13)
+- noarch package
+- spec fixes
+
 Revision 1.1  2011/06/30 09:03:20  brushek
 - initial commit
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/vzdump/vzdump.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list