]> git.pld-linux.org Git - packages/percona-playback.git/blob - percona-playback.spec
1f3e39c8fca62578147c222b105e42197d402485
[packages/percona-playback.git] / percona-playback.spec
1 Summary:        A tool for replaying captured database server load
2 Name:           percona-playback
3 Version:        0.4
4 Release:        0.1
5 License:        GPL
6 URL:            http://www.percona.com/
7 Source0:        http://www.percona.com/downloads/Percona-Playback/Percona-Playback-%{version}/source/%{name}-%{version}.tar.gz
8 # Source0-md5:  4cbe45401ee87a611d172301c13d4a4e
9 Group:          Applications/Databases
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 %build
48 %{__libtoolize}
49 %{__aclocal}
50 %{__autoconf}
51 %{__autoheader}
52 %{__automake}
53 %configure \
54         --disable-static
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post   -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(644,root,root,755)
71 #%attr(755,root,root) %{_bindir}/percona-playback
72 #%{_libdir}/*.so.*
73
74 %files devel
75 %defattr(644,root,root,755)
76 #%{_includedir}/*
77 #%{_libdir}/*.so
This page took 0.085329 seconds and 2 git commands to generate.