From 3ec5f601d80b3befcea63be5f6c22ee2aeca4fb85df08348d6c14cf415405333 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Wed, 26 Sep 2012 23:43:34 +0000 Subject: [PATCH] Accepting request 132865 from home:AndreasStieger Percona Toolkit, formerly known as Maatkit. OBS-URL: https://build.opensuse.org/request/show/132865 OBS-URL: https://build.opensuse.org/package/show/server:database/percona-toolkit?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++ percona-toolkit-2.1.3.tar.gz | 3 ++ percona-toolkit.changes | 6 ++++ percona-toolkit.spec | 70 ++++++++++++++++++++++++++++++++++++ 4 files changed, 102 insertions(+) create mode 100644 .gitattributes create mode 100644 percona-toolkit-2.1.3.tar.gz create mode 100644 percona-toolkit.changes create mode 100644 percona-toolkit.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/percona-toolkit-2.1.3.tar.gz b/percona-toolkit-2.1.3.tar.gz new file mode 100644 index 0000000..2976231 --- /dev/null +++ b/percona-toolkit-2.1.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:98bbef25666602248e10c7df8969735238075a4011394f019205271bce52f078 +size 1250215 diff --git a/percona-toolkit.changes b/percona-toolkit.changes new file mode 100644 index 0000000..66158bc --- /dev/null +++ b/percona-toolkit.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Wed Sep 5 19:24:31 UTC 2012 - andreas.stieger@gmx.de + +- initial package for Percona Toolkit 2.1.3, + based on upstream spec file some OBS occurrences +- based on and replacing Maatkit, obsoleting their last release 7410 diff --git a/percona-toolkit.spec b/percona-toolkit.spec new file mode 100644 index 0000000..e04bac8 --- /dev/null +++ b/percona-toolkit.spec @@ -0,0 +1,70 @@ +# +# spec file for package percona-toolkit +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: percona-toolkit +Summary: Advanced MySQL and system command-line tools +License: GPL-2.0 +Group: Productivity/Databases/Tools +Version: 2.1.3 +Release: 0 +Url: http://www.percona.com/software/percona-toolkit/ +Source: percona-toolkit-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%{perl_requires} +Requires: perl(DBD::mysql) >= 1.0 +Requires: perl(DBI) >= 1.13 +Requires: perl(Term::ReadKey) >= 2.10 +Provides: maatkit = 7410.%{version} +Obsoletes: maatkit < 7410 +BuildArch: noarch + +%description +Percona Toolkit is a collection of advanced command-line tools used by +Percona (http://www.percona.com/) support staff to perform a variety of +MySQL and system tasks that are too difficult or complex to perform manually. + +These tools are ideal alternatives to private or "one-off" scripts because +they are professionally developed, formally tested, and fully documented. +They are also fully self-contained, so installation is quick and easy and +no libraries are installed. + +Percona Toolkit is developed and supported by Percona Inc. For more +information and other free, open-source software developed by Percona, +visit http://www.percona.com/software/. + +%prep +%setup -q + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null +make %{?_smp_mflags} + +%install +%perl_make_install +%perl_process_packlist + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYING README Changelog +%{_bindir}/* +%{_mandir}/man1/*.1* + +%changelog