Merge lp:~ignacio-nin/percona-playback/percona-playback-packaging into lp:percona-playback

Proposed by Ignacio Nin
Status: Merged
Approved by: Stewart Smith
Approved revision: 157
Merged at revision: 159
Proposed branch: lp:~ignacio-nin/percona-playback/percona-playback-packaging
Merge into: lp:percona-playback
Diff against target: 270 lines (+194/-0)
15 files modified
debian/README.Debian (+6/-0)
debian/README.source (+9/-0)
debian/changelog (+5/-0)
debian/compat (+1/-0)
debian/control (+34/-0)
debian/copyright (+26/-0)
debian/docs (+2/-0)
debian/files (+2/-0)
debian/percona-playback-dev.dirs (+2/-0)
debian/percona-playback-dev.install (+3/-0)
debian/percona-playback.dirs (+2/-0)
debian/percona-playback.install (+2/-0)
debian/rules (+13/-0)
debian/source/format (+1/-0)
percona-playback.spec (+86/-0)
To merge this branch: bzr merge lp:~ignacio-nin/percona-playback/percona-playback-packaging
Reviewer Review Type Date Requested Status
Percona core Pending
Review via email: mp+119474@code.launchpad.net

Description of the change

Packaging tools for Percona Playback

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== added directory 'debian'
=== added file 'debian/README.Debian'
--- debian/README.Debian 1970-01-01 00:00:00 +0000
+++ debian/README.Debian 2012-08-14 06:35:35 +0000
@@ -0,0 +1,6 @@
1percona-playback for Debian
2---------------------------
3
4<possible notes regarding this package - if none, delete this file>
5
6 -- Ignacio Nin <nacho@debian> Fri, 20 Jul 2012 00:24:10 -0400
07
=== added file 'debian/README.source'
--- debian/README.source 1970-01-01 00:00:00 +0000
+++ debian/README.source 2012-08-14 06:35:35 +0000
@@ -0,0 +1,9 @@
1percona-playback for Debian
2---------------------------
3
4<this file describes information about the source package, see Debian policy
5manual section 4.14. You WILL either need to modify or delete this file>
6
7
8
9
010
=== added file 'debian/changelog'
--- debian/changelog 1970-01-01 00:00:00 +0000
+++ debian/changelog 2012-08-14 06:35:35 +0000
@@ -0,0 +1,5 @@
1percona-playback (0.4-1) unstable; urgency=low
2
3 * Initial release
4
5 -- Ignacio Nin <ignacio.nin@percona.com> Fri, 20 Jul 2012 00:24:10 -0400
06
=== added file 'debian/compat'
--- debian/compat 1970-01-01 00:00:00 +0000
+++ debian/compat 2012-08-14 06:35:35 +0000
@@ -0,0 +1,1 @@
17
02
=== added file 'debian/control'
--- debian/control 1970-01-01 00:00:00 +0000
+++ debian/control 2012-08-14 06:35:35 +0000
@@ -0,0 +1,34 @@
1Source: percona-playback
2Priority: extra
3Maintainer: Ignacio Nin <ignacio.nin@percona.com>
4Build-Depends: debhelper (>= 7.0.50~), autoconf, automake, libtool, gettext, intltool,
5 libdrizzle-dev, libpcap-dev, libtbb-dev, libmysqlclient-dev,
6 libboost-program-options-dev, libboost-thread-dev, pkg-config
7Standards-Version: 3.8.4
8Section: libs
9Homepage: <insert the upstream URL, if relevant>
10#Vcs-Git: git://git.debian.org/collab-maint/percona-playback.git
11#Vcs-Browser: http://git.debian.org/?p=collab-maint/percona-playback.git;a=summary
12
13Package: percona-playback-dev
14Section: libdevel
15Architecture: any
16Depends: percona-playback (= ${binary:Version})
17Description: A tool for replaying captured database server load
18 Percona Playback is a tool for replaying the captured load of one database
19 server against another in the most realistic way possible. Captured load can
20 come in the form of MySQL slow query logs or tcpdump capture.
21 It's multithreaded, modular and configurable to allow for flexibility and
22 future extension.
23
24Package: percona-playback
25Section: database
26Architecture: any
27Depends: ${shlibs:Depends}, ${misc:Depends},
28 libdrizzle, libpcap, libtbb, mysql, libboost-program-options, libboost-thread
29Description: A tool for replaying captured database server load
30 Percona Playback is a tool for replaying the captured load of one database
31 server against another in the most realistic way possible. Captured load can
32 come in the form of MySQL slow query logs or tcpdump capture.
33 It's multithreaded, modular and configurable to allow for flexibility and
34 future extension.
035
=== added file 'debian/copyright'
--- debian/copyright 1970-01-01 00:00:00 +0000
+++ debian/copyright 2012-08-14 06:35:35 +0000
@@ -0,0 +1,26 @@
1This work was packaged for Debian by:
2
3 Ignacio Nin <ignacio.nin@percona.com> on Fri, 20 Jul 2012 00:24:10 -0400
4
5It was downloaded from:
6
7 lp:percona-playback
8
9Upstream Author(s):
10
11 Percona Inc. <mysql-dev@percona.com>
12
13Copyright:
14
15 Copyright (C) 2012 Percona Inc.
16
17License:
18
19 GPLv22
20
21The Debian packaging is:
22
23 Copyright (C) 2012 Ignacio Nin <ignacio.nin@percona.com>
24
25and is licensed under the GPL version 3,
26see "/usr/share/common-licenses/GPL-3".
027
=== added file 'debian/docs'
--- debian/docs 1970-01-01 00:00:00 +0000
+++ debian/docs 2012-08-14 06:35:35 +0000
@@ -0,0 +1,2 @@
1README
2LICENSE
03
=== added file 'debian/files'
--- debian/files 1970-01-01 00:00:00 +0000
+++ debian/files 2012-08-14 06:35:35 +0000
@@ -0,0 +1,2 @@
1percona-playback-dev_0.4-1_amd64.deb libdevel extra
2percona-playback_0.4-1_amd64.deb database extra
03
=== added file 'debian/percona-playback-dev.dirs'
--- debian/percona-playback-dev.dirs 1970-01-01 00:00:00 +0000
+++ debian/percona-playback-dev.dirs 2012-08-14 06:35:35 +0000
@@ -0,0 +1,2 @@
1usr/lib
2usr/include
03
=== added file 'debian/percona-playback-dev.install'
--- debian/percona-playback-dev.install 1970-01-01 00:00:00 +0000
+++ debian/percona-playback-dev.install 2012-08-14 06:35:35 +0000
@@ -0,0 +1,3 @@
1usr/include/*
2usr/lib/lib*.so
3usr/lib/*.la
04
=== added file 'debian/percona-playback.dirs'
--- debian/percona-playback.dirs 1970-01-01 00:00:00 +0000
+++ debian/percona-playback.dirs 2012-08-14 06:35:35 +0000
@@ -0,0 +1,2 @@
1usr/bin
2usr/lib
03
=== added file 'debian/percona-playback.install'
--- debian/percona-playback.install 1970-01-01 00:00:00 +0000
+++ debian/percona-playback.install 2012-08-14 06:35:35 +0000
@@ -0,0 +1,2 @@
1usr/bin/percona-playback
2usr/lib/lib*.so.*
03
=== added file 'debian/rules'
--- debian/rules 1970-01-01 00:00:00 +0000
+++ debian/rules 2012-08-14 06:35:35 +0000
@@ -0,0 +1,13 @@
1#!/usr/bin/make -f
2# -*- makefile -*-
3# Sample debian/rules that uses debhelper.
4# This file was originally written by Joey Hess and Craig Small.
5# As a special exception, when this file is copied by dh-make into a
6# dh-make output file, you may use that output file without restriction.
7# This special exception was added by Craig Small in version 0.37 of dh-make.
8
9# Uncomment this to turn on verbose mode.
10#export DH_VERBOSE=1
11
12%:
13 dh $@
014
=== added directory 'debian/source'
=== added file 'debian/source/format'
--- debian/source/format 1970-01-01 00:00:00 +0000
+++ debian/source/format 2012-08-14 06:35:35 +0000
@@ -0,0 +1,1 @@
11.0
02
=== added file 'percona-playback.spec'
--- percona-playback.spec 1970-01-01 00:00:00 +0000
+++ percona-playback.spec 2012-08-14 06:35:35 +0000
@@ -0,0 +1,86 @@
1# Copyright (C) 2011-2012 Percona Inc.
2# This program is free software: you can redistribute it and/or modify it
3# under the terms of the GNU General Public License version 2, as published
4# by the Free Software Foundation.
5#
6# This program is distributed in the hope that it will be useful, but
7# WITHOUT ANY WARRANTY; without even the implied warranties of
8# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
9# PURPOSE. See the GNU General Public License for more details.
10#
11# You should have received a copy of the GNU General Public License along
12# with this program. If not, see <http://www.gnu.org/licenses/>.
13
14# boost 1.41 requirement for rhel5
15%define rhelver %(rpm -qf --qf '%%{version}\\n' /etc/redhat-release | sed -e 's/^\\([0-9]*\\).*/\\1/g')
16%if "%rhelver" == "5"
17 %define boost_req boost141-devel
18 %define boost_runreq boost141-program-options
19%else
20 %define boost_req boost-devel
21 %define boost_runreq boost-program-options
22%endif
23
24Name: percona-playback
25Version: 0.4
26Release: 1%{?dist}
27Summary: A tool for replaying captured database server load
28
29License: GPL
30URL: http://www.percona.com/
31Source: percona-playback-%{version}.tar.gz
32Group: Applications/Databases
33BuildRequires: autoconf automake libtool libdrizzle-devel gettext-devel libpcap-devel tbb-devel mysql-devel intltool %{boost_req} pkgconfig
34Requires: libdrizzle libpcap tbb mysql %{boost_runreq}
35BuildRoot: %{_tmppath}/%{name}-%{version}-build
36
37%description
38Percona Playback is a tool for replaying the captured load of one database
39server against another in the most realistic way possible. Captured load can
40come in the form of MySQL slow query logs or tcpdump capture.
41It's multithreaded, modular and configurable to allow for flexibility and
42future extension.
43
44%package devel
45Summary: Development files for %{name}
46Group: Applications/Databases
47Requires: %{name}%{?_isa} = %{version}-%{release}
48
49%description devel
50The %{name}-devel package contains libraries and header files for
51developing applications that use %{name}.
52
53
54%prep
55%setup -q
56
57
58%build
59autoreconf -i
60%configure --disable-static
61make %{?_smp_mflags}
62
63
64%install
65rm -rf $RPM_BUILD_ROOT
66make install DESTDIR=$RPM_BUILD_ROOT
67find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
68
69
70%post -p /sbin/ldconfig
71
72%postun -p /sbin/ldconfig
73
74
75%files
76%doc
77%{_bindir}/percona-playback
78%{_libdir}/*.so.*
79
80%files devel
81%doc
82%{_includedir}/*
83%{_libdir}/*.so
84
85
86%changelog

Subscribers

People subscribed via source and target branches

to all changes: