head	1.14;
access;
symbols;
locks; strict;
comment	@-- @;


1.14
date	2009.12.04.10.36.48;	author rse;	state Exp;
branches;
next	1.13;
commitid	NpLgD7I4k7uZN2eu;

1.13
date	2009.11.01.09.28.05;	author rse;	state Exp;
branches;
next	1.12;
commitid	nYe1PxhuPkfbuN9u;

1.12
date	2009.10.02.17.09.03;	author rse;	state Exp;
branches;
next	1.11;
commitid	8k0oJdPKA9f70Z5u;

1.11
date	2009.09.02.17.56.10;	author rse;	state Exp;
branches;
next	1.10;
commitid	Rl6sNq096tZ3e82u;

1.10
date	2009.08.01.06.28.14;	author rse;	state Exp;
branches;
next	1.9;
commitid	bqfzRzVLppMPrXXt;

1.9
date	2009.07.02.16.30.43;	author rse;	state Exp;
branches;
next	1.8;
commitid	c9q6G2JD3x1jK9Ut;

1.8
date	2009.06.03.20.34.53;	author rse;	state Exp;
branches;
next	1.7;
commitid	pPYAkTA8oxKR1sQt;

1.7
date	2009.05.05.19.47.07;	author rse;	state Exp;
branches;
next	1.6;
commitid	oQ8waigNBafhHIMt;

1.6
date	2009.04.18.13.12.34;	author rse;	state Exp;
branches;
next	1.5;
commitid	4pHXU27WTIGCZuKt;

1.5
date	2009.04.18.07.56.13;	author rse;	state Exp;
branches;
next	1.4;
commitid	rX66HphHqkEgjtKt;

1.4
date	2009.04.01.17.52.58;	author rse;	state Exp;
branches;
next	1.3;
commitid	WTK50jb0VurS9lIt;

1.3
date	2009.03.27.10.58.11;	author rse;	state Exp;
branches;
next	1.2;
commitid	ujYH1TDBbUmx1FHt;

1.2
date	2008.06.02.15.36.10;	author cs;	state Exp;
branches;
next	1.1;
commitid	2bQHt3oI0t7N8o5t;

1.1
date	2008.04.09.17.07.54;	author cs;	state Exp;
branches;
next	;
commitid	lN8CM73eUzkSnsYs;


desc
@@


1.14
log
@upgrading package: maatkit 5014 -> 5240
@
text
@##
##  maatkit.spec -- OpenPKG RPM Package Specification
##  Copyright (c) 2000-2009 OpenPKG Foundation e.V. <http://openpkg.net/>
##
##  Permission to use, copy, modify, and distribute this software for
##  any purpose with or without fee is hereby granted, provided that
##  the above copyright notice and this permission notice appear in all
##  copies.
##
##  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
##  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
##  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
##  IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
##  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
##  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
##  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
##  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
##  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
##  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
##  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
##  SUCH DAMAGE.
##

#   package information
Name:         maatkit
Summary:      Essential Command-Line Utilities for MySQL
URL:          http://www.maatkit.org/
Vendor:       Baron Schwartz et al.
Packager:     OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class:        EVAL
Group:        Database
License:      GPL
Version:      5240
Release:      20091204

#   list of sources
Source0:      http://maatkit.googlecode.com/files/maatkit-%{version}.tar.gz

#   build information
Prefix:       %{l_prefix}
BuildRoot:    %{l_buildroot}
BuildPreReq:  OpenPKG, openpkg >= 20060823, perl-openpkg
PreReq:       OpenPKG, openpkg >= 20060823
BuildPreReq:  perl, perl-dbi, perl-dbi::with_mysql = yes
PreReq:       perl, perl-dbi, perl-dbi::with_mysql = yes
BuildPreReq:  perl-sys, perl-util
PreReq:       perl-sys, perl-util
AutoReq:      no
AutoReqProv:  no

%description
    Maatkit contains essential command-line utilities for MySQL, such
    as table checksums, a query profiler, and a visual EXPLAIN tool. It
    provides missing features such as checking whether slaves have the
    same data as the master.

%track
    prog maatkit = {
        version   = %{version}
        url       = http://code.google.com/p/maatkit/downloads/list
        regex     = maatkit-(__VER__)\.tar\.gz
    }

%prep
    %setup -q

%build
    %{l_prefix}/bin/perl-openpkg prepare
    %{l_prefix}/bin/perl-openpkg configure build

%install
    rm -rf $RPM_BUILD_ROOT

    %{l_prefix}/bin/perl-openpkg install
    %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup

    %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
        %{l_files_std} \
        `cat perl-openpkg-files`

%files -f files

%clean
    rm -rf $RPM_BUILD_ROOT

@


1.13
log
@upgrading package: maatkit 4790 -> 5014
@
text
@d34 2
a35 2
Version:      5014
Release:      20091101
@


1.12
log
@upgrading package: maatkit 4623 -> 4790
@
text
@d34 2
a35 2
Version:      4790
Release:      20091002
@


1.11
log
@upgrading package: maatkit 4334 -> 4623
@
text
@d34 2
a35 2
Version:      4623
Release:      20090902
@


1.10
log
@upgrading package: maatkit 4047 -> 4334
@
text
@d34 2
a35 2
Version:      4334
Release:      20090801
@


1.9
log
@upgrading package: maatkit 3722 -> 4047
@
text
@d34 2
a35 2
Version:      4047
Release:      20090702
@


1.8
log
@upgrading package: maatkit 3519 -> 3722
@
text
@d34 2
a35 2
Version:      3722
Release:      20090603
@


1.7
log
@upgrading package: maatkit 3329 -> 3519
@
text
@d34 2
a35 2
Version:      3519
Release:      20090505
@


1.6
log
@bump years in copyright messages
@
text
@d34 2
a35 2
Version:      3329
Release:      20090418
@


1.5
log
@adjust dependency
@
text
@d3 1
a3 1
##  Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/>
@


1.4
log
@upgrading package: maatkit 3119 -> 3329
@
text
@d35 1
a35 1
Release:      20090401
d45 2
a46 2
BuildPreReq:  perl, perl-dbi, perl-dbi::with_dbd_mysql
PreReq:       perl, perl-dbi, perl-dbi::with_dbd_mysql
@


1.3
log
@upgrading package: maatkit 1972 -> 3119
@
text
@d34 2
a35 2
Version:      3119
Release:      20090327
@


1.2
log
@upgrading package: maatkit 1877 -> 1972
@
text
@d34 2
a35 2
Version:      1972
Release:      20080602
d38 1
a38 1
Source0:      http://heanet.dl.sourceforge.net/maatkit/maatkit-%{version}.tar.gz
d61 1
a61 1
        url       = http://prdownloads.sourceforge.net/maatkit/
@


1.1
log
@new package: maatkit 1877 (Essential Command-Line Utilities for MySQL)
@
text
@d34 2
a35 2
Version:      1877
Release:      20080409
d38 1
a38 1
Source0:      http://osdn.dl.sourceforge.net/maatkit/maatkit-%{version}.tar.gz
@

