[packages/mydumper] new, version 0.9.3

glen glen at pld-linux.org
Sat Oct 7 16:02:10 CEST 2017


commit f7df5a26339fc5e6b4661277e983c045e7ddc551
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Sat Oct 7 17:01:42 2017 +0300

    new, version 0.9.3

 mydumper.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
---
diff --git a/mydumper.spec b/mydumper.spec
new file mode 100644
index 0000000..dab22f2
--- /dev/null
+++ b/mydumper.spec
@@ -0,0 +1,50 @@
+#
+# Conditional build:
+%bcond_with	doc		# build documentation
+%bcond_without	tests		# build without tests
+
+Summary:	MySQL Data Dumper
+Name:		mydumper
+Version:	0.9.3
+Release:	0.1
+License:	GPL v3
+Group:		Applications/Databases
+Source0:	https://github.com/maxbube/mydumper/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	72e411c8f20fa7d7c36bb78625536b1d
+URL:		https://github.com/maxbube/mydumper
+BuildRequires:	cmake
+BuildRequires:	glib2-devel
+BuildRequires:	mysql-devel
+BuildRequires:	openssl-devel
+BuildRequires:	pcre-devel
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A high-performance multi-threaded backup toolset for MySQL and
+Drizzle.
+
+%prep
+%setup -q
+
+%build
+install -d build
+cd build
+%cmake \
+	-DBUILD_DOCS=%{!?with_doc:OFF}%{?with_doc:ON} \
+	..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install -C build \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/mydumper
+%attr(755,root,root) %{_bindir}/myloader
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mydumper.git/commitdiff/f7df5a26339fc5e6b4661277e983c045e7ddc551



More information about the pld-cvs-commit mailing list