# to build agains mariadb libraries, set it to 0 %define _ver 2 %define _extent -%{_ver} Name: mydumper Summary: mydumper and myloader MySQL backup tools Version: 0.14.5 Release: %{_ver}%{?dist} Group: Applications/Databases License: GPL Vendor: Max Bubenick URL: https://github.com/maxbube/mydumper Source: mydumper-%{version}%{_extent}.tar.gz BuildArch: x86_64 AutoReq: no BuildRequires: percona-server-devel #BuildRequires: Percona-Server-devel-57 #BuildRequires: mysql-devel #BuildRequires: mariadb-devel BuildRequires: pkgconf-pkg-config BuildRequires: pcre-devel BuildRequires: glib2-devel BuildRequires: zlib-devel BuildRequires: pcre-devel BuildRequires: openssl-devel BuildRequires: cmake BuildRequires: python3-sphinx BuildRequires: gcc-c++ BuildRequires: git %description This package provides mydumper and myloader MySQL backup tools. mydumper is a tool used for backing up MySQL database servers much faster than the mysqldump tool distributed with MySQL. It also has the capability to retrieve the binary logs from the remote server at the same time as the dump itself. The advantages of mydumper are: parallelism, easier to manage output, consistency, manageability. myloader is a tool used for multi-threaded restoration of mydumper backups. %prep %setup -q -n %{name}-%{version}%{_extent} %build %define debug_package %{nil} cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} make %install %__make install DESTDIR=${RPM_BUILD_ROOT} %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root,-) %{_bindir}/* %{_datarootdir}/doc/%{name}/* %{_mandir}/man1/* %config(noreplace) %{_sysconfdir}/%{name}.cnf %changelog * Sun May 28 2023 Daniel Steiner - Update to 0.14.5-2. * Fri May 19 2023 Daniel Steiner - Update to 0.14.5-1. * Fri Sep 23 2022 Daniel Steiner - Update to 0.12.7-3. * Fri Sep 16 2022 Daniel Steiner - Update to 0.12.7. * Sat May 14 2022 Daniel Steiner - Build on Almalinux 8.6. * Fri May 6 2022 Daniel Steiner - Update to 0.12.3-1 * Fri Mar 18 2022 Daniel Steiner - First build on Fedora 35. * Sun Jul 4 2021 Daniel Steiner - First build on Fedora 33.