]> git.pld-linux.org Git - packages/mydumper.git/blob - mydumper.spec
new, version 0.9.3
[packages/mydumper.git] / mydumper.spec
1 #
2 # Conditional build:
3 %bcond_with     doc             # build documentation
4 %bcond_without  tests           # build without tests
5
6 Summary:        MySQL Data Dumper
7 Name:           mydumper
8 Version:        0.9.3
9 Release:        0.1
10 License:        GPL v3
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
15 BuildRequires:  cmake
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)
22
23 %description
24 A high-performance multi-threaded backup toolset for MySQL and
25 Drizzle.
26
27 %prep
28 %setup -q
29
30 %build
31 install -d build
32 cd build
33 %cmake \
34         -DBUILD_DOCS=%{!?with_doc:OFF}%{?with_doc:ON} \
35         ..
36 %{__make}
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 %{__make} install -C build \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README
49 %attr(755,root,root) %{_bindir}/mydumper
50 %attr(755,root,root) %{_bindir}/myloader
This page took 0.075257 seconds and 3 git commands to generate.