Search
j0ke.net Open Build Service
>
Projects
>
server:backup
>
mydumper
> mydumper.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File mydumper.spec of Package mydumper (Revision 7)
Currently displaying revision
7
,
show latest
%global my_version %(/usr/bin/mysql_config --version) Name: mydumper Version: 0.9.5 Release: 1 License: GPL Group: Productivity/Databases/Tools Source: %{name}-%{version}.tar.gz Patch0: mydumper-0.9.5_Werror.patch BuildRoot: %{_tmppath}/build-root-%{name} Summary: Mydumper (aka. MySQL Data Dumper) is a high-performance multi-threaded backup (and restore) toolset for MySQL and Drizzle. BuildRequires: glib2-devel mysql-devel zlib zlib-devel pcre pcre-devel cmake gcc-c++ %description Mydumper (aka. MySQL Data Dumper) is a high-performance multi-threaded backup (and restore) toolset for MySQL and Drizzle. The main developers originally worked as Support Engineers at MySQL (one has moved to Facebook and another to SkySQL) and this is how they would envisage mysqldump based on years of user feedback. Mydumper features: - Lightweight C source - Up to 10x faster dumps compared to mysqldump - Consistent snapshots for transactional and non-transactional tables (in 0.2.2 onwards) - File compression on-the-fly - Binary log dumps - Multi-threaded restore utility (in 0.2.1 onwards) - Daemon mode for timed snapshots and continuous binary logs (in 0.5.0 onwards) - Open Source! (GNU GPLv3) %prep rm -rf $RPM_BUILD_ROOT mkdir $RPM_BUILD_ROOT %setup -q %patch0 %if "%{my_version}" < "5.7" CMAKE_ARG="-DWITH_SSL=OFF" %endif cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} $CMAKE_ARG %build make -j 8 %install %__make DESTDIR=%{buildroot} install %files %defattr(-,root,root,0755) %{_bindir}/myloader %{_bindir}/mydumper %changelog