3 %bcond_with doc # build documentation
4 %bcond_without tests # build without tests
6 Summary: MySQL Data Dumper
11 Group: Applications/Databases
12 Source0: https://github.com/maxbube/mydumper/archive/v%{version}/%{name}-%{version}.tar.gz
13 # Source0-md5: 72e411c8f20fa7d7c36bb78625536b1d
14 URL: https://github.com/maxbube/mydumper
16 BuildRequires: glib2-devel
17 BuildRequires: libstdc++-devel
18 BuildRequires: mysql-devel
19 BuildRequires: openssl-devel
20 BuildRequires: pcre-devel
21 BuildRequires: pkgconfig
22 BuildRequires: zlib-devel
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 A high-performance multi-threaded backup toolset for MySQL and
36 -DBUILD_DOCS=%{!?with_doc:OFF}%{?with_doc:ON} \
41 rm -rf $RPM_BUILD_ROOT
42 %{__make} install -C build \
43 DESTDIR=$RPM_BUILD_ROOT
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
51 %attr(755,root,root) %{_bindir}/mydumper
52 %attr(755,root,root) %{_bindir}/myloader