SPECS: mysqltoolkit.spec (NEW) - new
glen
glen at pld-linux.org
Mon Sep 3 11:48:28 CEST 2007
Author: glen Date: Mon Sep 3 09:48:28 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
mysqltoolkit.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/mysqltoolkit.spec
diff -u /dev/null SPECS/mysqltoolkit.spec:1.1
--- /dev/null Mon Sep 3 11:48:28 2007
+++ SPECS/mysqltoolkit.spec Mon Sep 3 11:48:23 2007
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.perl
+%define pdir mysqltoolkit
+Summary: MySQL Toolkit
+Name: mysqltoolkit
+Version: 848
+Release: 1
+License: GPL v2
+Group: Applications/Databases
+BuildRequires: rpm-perlprov >= 4.1-13
+Source0: http://dl.sourceforge.net/mysqltoolkit/%{name}-%{version}.tar.gz
+# Source0-md5: 1e2ddc0e109362649af329153fb81da6
+URL: http://mysqltoolkit.sourceforge.net/
+BuildRequires: perl-ExtUtils-MakeMaker
+Requires: perl-DBI >= 1.13
+Requires: perl-DBD-mysql >= 1.0
+Requires: perl-Term-ReadKey >= 2.10
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+MySQL Toolkit is a collection of essential command-line utilities for
+MySQL. ach is completely stand-alone, without dependencies other than
+core Perl and the DBI drivers needed to connect to MySQL.
+
+%prep
+%setup -q
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/mysql-archiver
+%attr(755,root,root) %{_bindir}/mysql-checksum-filter
+%attr(755,root,root) %{_bindir}/mysql-deadlock-logger
+%attr(755,root,root) %{_bindir}/mysql-duplicate-key-checker
+%attr(755,root,root) %{_bindir}/mysql-find
+%attr(755,root,root) %{_bindir}/mysql-profile-compact
+%attr(755,root,root) %{_bindir}/mysql-query-profiler
+%attr(755,root,root) %{_bindir}/mysql-show-grants
+%attr(755,root,root) %{_bindir}/mysql-slave-delay
+%attr(755,root,root) %{_bindir}/mysql-slave-restart
+%attr(755,root,root) %{_bindir}/mysql-table-checksum
+%attr(755,root,root) %{_bindir}/mysql-table-sync
+%attr(755,root,root) %{_bindir}/mysql-visual-explain
+%{_mandir}/man1/mysql-archiver.1p*
+%{_mandir}/man1/mysql-checksum-filter.1p*
+%{_mandir}/man1/mysql-deadlock-logger.1p*
+%{_mandir}/man1/mysql-duplicate-key-checker.1p*
+%{_mandir}/man1/mysql-find.1p*
+%{_mandir}/man1/mysql-profile-compact.1p*
+%{_mandir}/man1/mysql-query-profiler.1p*
+%{_mandir}/man1/mysql-show-grants.1p*
+%{_mandir}/man1/mysql-slave-delay.1p*
+%{_mandir}/man1/mysql-slave-restart.1p*
+%{_mandir}/man1/mysql-table-checksum.1p*
+%{_mandir}/man1/mysql-table-sync.1p*
+%{_mandir}/man1/mysql-visual-explain.1p*
+%{_mandir}/man3/mysqltoolkit.3pm*
+%{perl_vendorlib}/mysqltoolkit.pm
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/09/03 09:48:23 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list