SPECS: innotop.spec (NEW) - new, based on spec from fedora extras
glen
glen at pld-linux.org
Tue Mar 25 13:41:11 CET 2008
Author: glen Date: Tue Mar 25 12:41:11 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new, based on spec from fedora extras
---- Files affected:
SPECS:
innotop.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/innotop.spec
diff -u /dev/null SPECS/innotop.spec:1.1
--- /dev/null Tue Mar 25 13:41:11 2008
+++ SPECS/innotop.spec Tue Mar 25 13:41:05 2008
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+%include /usr/lib/rpm/macros.perl
+Summary: A MySQL and InnoDB monitor program
+Name: innotop
+Version: 1.6.0
+Release: 1
+License: GPL v2+ or Artistic
+Group: Applications/Databases
+URL: http://sourceforge.net/projects/innotop
+Source0: http://dl.sourceforge.net/innotop/%{name}-%{version}.tar.gz
+# Source0-md5: 3f90e94b96b9c27bf2a162f85df75dcb
+BuildRequires: perl-DBD-mysql
+BuildRequires: perl-DBI
+BuildRequires: perl-ExtUtils-MakeMaker
+BuildRequires: perl-Term-ReadKey
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+innotop connects to a MySQL database server and retrieves information
+from it, then displays it in a manner similar to the UNIX top program.
+innotop uses the data from SHOW VARIABLES, SHOW GLOBAL STATUS, SHOW
+FULL PROCESSLIST, and SHOW ENGINE INNODB STATUS, among other things.
+
+%prep
+%setup -q
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} pure_install \
+ PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+rm $RPM_BUILD_ROOT%{perl_vendorarch}/auto/innotop/.packlist
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc INSTALL
+%attr(755,root,root) %{_bindir}/innotop
+%{perl_vendorlib}/InnoDBParser.pm
+%{_mandir}/man3/InnoDBParser.3pm*
+%{_mandir}/man1/innotop.1*
+
+%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 2008-03-25 12:41:05 glen
+- new, based on spec from fedora extras
+
================================================================
More information about the pld-cvs-commit
mailing list