Created
October 31, 2016 17:52
-
-
Save theraphim/b01acdbeeb40dc2860a240df83dc7366 to your computer and use it in GitHub Desktop.
specfile for Percona xtrabackup 2.4.4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%global pxbu_major_minor 24 | |
Summary: Online backup for InnoDB/XtraDB in MySQL, Percona Server and MariaDB | |
Name: percona-xtrabackup | |
Version: 2.4.4 | |
Release: 1%{?dist} | |
License: GPLv2 | |
URL: http://www.percona.com/software/percona-xtrabackup/ | |
Source: https://github.com/percona/%{name}/archive/%{name}-%{version}.tar.gz | |
Source1: boost_1_59_0.tar.bz2 | |
Provides: xtrabackup >= 2.0.0 | |
Provides: %{name}-%{pxbu_major_minor} | |
Obsoletes: xtrabackup < 2.0.0 | |
BuildRequires: libaio-devel | |
BuildRequires: libgcrypt-devel | |
BuildRequires: automake | |
BuildRequires: cmake >= 2.6.3 | |
BuildRequires: patch | |
BuildRequires: gcc | |
BuildRequires: gcc-c++ | |
BuildRequires: libtool | |
BuildRequires: bison | |
BuildRequires: ncurses-devel | |
BuildRequires: openssl-devel | |
BuildRequires: perl-generators | |
BuildRequires: procps | |
BuildRequires: python-sphinx | |
BuildRequires: libev-devel libcurl-devel vim-common | |
Requires: perl(DBD::mysql) | |
%description | |
Online backup for InnoDB/XtraDB in MySQL, MariaDB and Percona Server. | |
%package test | |
Summary: Test suite for Percona Xtrabackup | |
Group: Applications/Databases | |
Provides: %{name}-test-%{pxbu_major_minor} | |
Requires: %{name} | |
Requires: /usr/bin/mysql | |
Requires: %{name}%{?_isa} = %{version}-%{release} | |
%description test | |
This package contains the test suite for Percona Xtrabackup | |
%prep | |
%setup -q | |
%setup -q -T -D -a 1 | |
# update deprecated m4 macros | |
sed -i "s/AM_CONFIG_HEADER/AM_CONFIG_HEADERS/g" libevent/configure.in | |
sed -i "s/AC_PROG_LIBTOOL/LT_INIT/g" libevent/configure.in | |
sed -i "s/AC_PROG_LIBTOOL/LT_INIT/g" storage/innobase/xtrabackup/src/libarchive/configure.ac | |
%build | |
cmake -DINSTALL_LAYOUT=RPM -DWITH_BOOST=boost_1_59_0 -DBUILD_CONFIG=xtrabackup_release \ | |
-DCMAKE_INSTALL_PREFIX=%{_prefix} \ | |
-DINSTALL_MYSQLTESTDIR=%{_datadir}/percona-xtrabackup-test-%{pxbu_major_minor} \ | |
-DINSTALL_MANDIR=%{_mandir} | |
make %{?_smp_mflags} | |
%install | |
rm -rf $RPM_BUILD_ROOT | |
make DESTDIR=$RPM_BUILD_ROOT install | |
%files | |
%{_bindir}/innobackupex | |
%{_bindir}/xtrabackup | |
%{_bindir}/xbstream | |
%{_bindir}/xbcrypt | |
%{_bindir}/xbcloud | |
%{_bindir}/xbcloud_osenv | |
%doc COPYING README VERSION | |
%{_mandir}/man1/innobackupex.1.gz | |
%{_mandir}/man1/xtrabackup.1.gz | |
%{_mandir}/man1/xbstream.1.gz | |
%{_mandir}/man1/xbcrypt.1.gz | |
%files -n percona-xtrabackup-test | |
%{_datadir}/percona-xtrabackup-test-%{pxbu_major_minor} | |
%doc COPYING | |
%changelog | |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.9-4 | |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild | |
* Tue Nov 3 2015 Peter MacKinnon <pmackinn@redhat.com> - 2.2.9-3 | |
- Add an extra provides for version 2.2 | |
* Tue Sep 1 2015 Peter MacKinnon <pmackinn@redhat.com> - 2.2.9-2 | |
- Spec changes from Fedora review | |
* Fri Jun 12 2015 Peter MacKinnon <pmackinn@redhat.com> - 2.2.9-1 | |
- Updated to 2.2.9 (mariadb 5.5 compatible) | |
* Thu Oct 31 2013 Stewart Smith <stewart@flamingspork.com> - 2.1.5-1 | |
- Update packaging for Percona XtraBackup 2.1.5 release | |
* Mon Sep 27 2010 Aleksandr Kuzminsky | |
- Version 1.4 | |
* Wed Jun 30 2010 Aleksandr Kuzminsky | |
- Version 1.3 ported on Percona Server 11 | |
* Thu Mar 11 2010 Aleksandr Kuzminsky | |
- Ported to MySQL 5.1 with InnoDB plugin | |
* Fri Mar 13 2009 Vadim Tkachenko | |
- initial release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment