Author: glen Date: Thu Mar 26 14:49:17 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - up to 0.3 - build using http://www.percona.com/mysql/xtrabackup/0.3/xtrabackup-0.3.tar.gz
---- Files affected: SPECS: xtrabackup.spec (1.1 -> 1.2) ---- Diffs: ================================================================ Index: SPECS/xtrabackup.spec diff -u SPECS/xtrabackup.spec:1.1 SPECS/xtrabackup.spec:1.2 --- SPECS/xtrabackup.spec:1.1 Fri Feb 27 16:36:13 2009 +++ SPECS/xtrabackup.spec Thu Mar 26 15:49:11 2009 @@ -1,14 +1,21 @@ # $Revision$, $Date$ +# TODO +# - which configure args should be set as mysql.spec? Summary: Open source backup tool for InnoDB and XtraDB Name: xtrabackup -Version: 0 +Version: 0.3 Release: 0.1 License: GPL v2 Group: Applications/Databases URL: https://launchpad.net/percona-xtrabackup/ +Source0: %{name}-%{version}.tar.gz +# Source0-md5: 3400a3f671719206cba56b29255f70b1 BuildRequires: libstdc++-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) +# CFLAGS for innodb are altered +%undefine configure_cache + %description OpenSource version of InnoDB backup with support of Percona extensions. @@ -16,14 +23,28 @@ %prep %setup -q +%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 +%{__make} +%{__make} -C innobase/xtrabackup + %install rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} +install innobase/xtrabackup/innobackupex-1.5.1 $RPM_BUILD_ROOT%{_bindir}/innobackupex +install innobase/xtrabackup/xtrabackup $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/innobackupex +%attr(755,root,root) %{_bindir}/xtrabackup %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog @@ -31,5 +52,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +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 + Revision 1.1 2009/02/27 15:36:13 glen - new, no code released yet ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xtrabackup.spec?r1=1.1&r2=1.2&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
