]> git.pld-linux.org Git - packages/percona-playback.git/blob - percona-playback.spec
up to 0.6
[packages/percona-playback.git] / percona-playback.spec
1 Summary:        A tool for replaying captured database server load
2 Name:           percona-playback
3 Version:        0.6
4 Release:        0.1
5 License:        GPL
6 Source0:        http://www.percona.com/downloads/Percona-Playback/LATEST/source/%{name}-%{version}.tar.gz
7 # Source0-md5:  d459f860052acfbad1c2c3d82cc62c25
8 Group:          Applications/Databases
9 URL:            http://www.percona.com/
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  boost-devel
13 BuildRequires:  gettext-devel
14 BuildRequires:  intltool
15 #BuildRequires: libdrizzle-devel
16 BuildRequires:  libpcap-devel
17 BuildRequires:  libtool
18 #BuildRequires: mysql
19 BuildRequires:  mysql-devel
20 BuildRequires:  pkgconfig
21 BuildRequires:  tbb-devel
22 #Requires:      libdrizzle
23 #Requires:      libpcap
24 #Requires:      mysql
25 #Requires:      tbb
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 Percona Playback is a tool for replaying the captured load of one
30 database server against another in the most realistic way possible.
31 Captured load can come in the form of MySQL slow query logs or tcpdump
32 capture. It's multithreaded, modular and configurable to allow for
33 flexibility and future extension.
34
35 %package devel
36 Summary:        Development files for %{name}
37 Group:          Applications/Databases
38 Requires:       %{name} = %{version}-%{release}
39
40 %description devel
41 The %{name}-devel package contains libraries and header files for
42 developing applications that use %{name}.
43
44 %prep
45 %setup -q
46
47 %{__sed} -i -e 's/AM_PROG_MKDIR_P/AC_PROG_MKDIR_P/' m4/po.m4
48 %{__sed} -i -e 's/mkdir_p/MKDIR_P/' po/Makefile.in.in
49
50 %build
51 %{__libtoolize}
52 %{__aclocal}
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure \
57         --disable-static
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post   -p /sbin/ldconfig
70 %postun -p /sbin/ldconfig
71
72 %files
73 %defattr(644,root,root,755)
74 #%attr(755,root,root) %{_bindir}/percona-playback
75 #%{_libdir}/*.so.*
76
77 %files devel
78 %defattr(644,root,root,755)
79 #%{_includedir}/*
80 #%{_libdir}/*.so
This page took 0.078122 seconds and 3 git commands to generate.