]> git.pld-linux.org Git - packages/mydumper.git/commitdiff
new, version 0.9.3
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 7 Oct 2017 14:01:42 +0000 (17:01 +0300)
committerElan Ruusamäe <glen@pld-linux.org>
Sat, 7 Oct 2017 14:01:56 +0000 (17:01 +0300)
mydumper.spec [new file with mode: 0644]

diff --git a/mydumper.spec b/mydumper.spec
new file mode 100644 (file)
index 0000000..dab22f2
--- /dev/null
@@ -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
This page took 0.103267 seconds and 4 git commands to generate.