File mydumper.spec of Package mydumper

# norootforbuild

Name:		mydumper
Version:	0.9.5
Release:	1
Summary:	How MySQL DBA & support engineer would imagine 'mysqldump'
Source:		%{name}-%{version}.tar.xz
Group:		Applications/Databases
License:	GPL-3.0
BuildRoot:	%{_tmppath}/build-%{name}-%{version}
BuildRequires: 	gcc gcc-c++ glib2-devel glibc-devel libmysqlclient-devel make pcre-devel zlib-devel cmake

mydumper is complement to mysqldump, for MySQL data dumping, providing:

1. Parallelism (hence, speed) and performance (avoids expensive character set
   conversion routines, efficient code overall)
2. Easier to manage output (separate files for tables, dump metadata, etc, easy
   to view/parse data)
3. Consistency - maintains snapshot across all threads, provides accurate
   master and slave log positions, etc
4. Manageability - supports PCRE for specifying database and tables inclusions
   and exclusions

It does not support schema dumping and leaves that to 'mysqldump --no-data'

It was born as weekend experiment, and apparently it worked well enough to have
public appearance.

	Andrew Hutchins <>
	Domas Mituzas <>
	Mark Leith <>



%setup -q

cmake -DCMAKE_INSTALL_PREFIX="%{_prefix}" .
make %{?_smp_mflags} VERBOSE=1

rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
rm -f %{buildroot}%{_datadir}/doc/%{name}/html/.buildinfo

rm -rf %{buildroot}