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: mysql-devel
18 BuildRequires: openssl-devel
19 BuildRequires: pcre-devel
20 BuildRequires: zlib-devel
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 A high-performance multi-threaded backup toolset for MySQL and
34 -DBUILD_DOCS=%{!?with_doc:OFF}%{?with_doc:ON} \
39 rm -rf $RPM_BUILD_ROOT
40 %{__make} install -C build \
41 DESTDIR=$RPM_BUILD_ROOT
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
49 %attr(755,root,root) %{_bindir}/mydumper
50 %attr(755,root,root) %{_bindir}/myloader