packages: xtrabackup/xtrabackup.spec - up to 0.7, includes bugfix for lp#38...

glen glen at pld-linux.org
Tue Jun 16 20:06:23 CEST 2009


Author: glen                         Date: Tue Jun 16 18:06:23 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.7, includes bugfix for lp#388029

---- Files affected:
packages/xtrabackup:
   xtrabackup.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/xtrabackup/xtrabackup.spec
diff -u packages/xtrabackup/xtrabackup.spec:1.2 packages/xtrabackup/xtrabackup.spec:1.3
--- packages/xtrabackup/xtrabackup.spec:1.2	Thu Mar 26 15:49:11 2009
+++ packages/xtrabackup/xtrabackup.spec	Tue Jun 16 20:06:18 2009
@@ -1,15 +1,16 @@
 # $Revision$, $Date$
 # TODO
-# - which configure args should be set as mysql.spec?
+# - which configure args should be set? same as mysql.spec?
 Summary:	Open source backup tool for InnoDB and XtraDB
 Name:		xtrabackup
-Version:	0.3
-Release:	0.1
+Version:	0.7
+Release:	0.2
 License:	GPL v2
 Group:		Applications/Databases
-URL:		https://launchpad.net/percona-xtrabackup/
-Source0:	%{name}-%{version}.tar.gz
-# Source0-md5:	3400a3f671719206cba56b29255f70b1
+URL:		http://www.percona.com/docs/wiki/percona-xtrabackup:start
+Source0:	http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQL-5.0/mysql-5.0.83.tar.gz
+# Source0-md5:	051392064a1e32cca5c23a593908b10e
+Source1:	xtrabackup.tar.bz2
 BuildRequires:	libstdc++-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -17,20 +18,29 @@
 %undefine	configure_cache
 
 %description
-OpenSource version of InnoDB backup with support of Percona
-extensions.
+Percona XtraBackup is OpenSource online (non-blockable) backup
+solution for InnoDB and XtraDB engines. It works with MySQL 5.0 and
+5.1 versions (InnoDB Plugin is not supported yet as for alpha-0.3) and
+also can handle MyISAM tables.
 
 %prep
-%setup -q
+%setup -qc -a1
+mv mysql-*/* .
+%{__patch} -p1 < xtrabackup/fix_innodb_for_backup.patch
+mv xtrabackup innobase
 
 %build
 # The compiler flags are as per mysql "official" spec ;)
 CXXFLAGS="%{rpmcflags} -felide-constructors -fno-rtti -fno-exceptions %{!?debug:-fomit-frame-pointer}"
 CFLAGS="%{rpmcflags} %{!?debug:-fomit-frame-pointer}"
 
-%configure
+%configure \
+	--with-extra-charsets=all
 %{__make}
-%{__make} -C innobase/xtrabackup
+%{__make} -C innobase/xtrabackup \
+	CC="%{__cc}" \
+	CXXFLAGS="$CFLAGS" \
+	CFLAGS="$CFLAGS"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -52,6 +62,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2009/06/16 18:06:18  glen
+- up to 0.7, includes bugfix for lp#388029
+
 Revision 1.2  2009/03/26 14:49:11  glen
 - up to 0.3
 - build using http://www.percona.com/mysql/xtrabackup/0.3/xtrabackup-0.3.tar.gz
================================================================

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



More information about the pld-cvs-commit mailing list