44 lines
1.1 KiB
RPMSpec
44 lines
1.1 KiB
RPMSpec
|
|
Name: myq_gadgets
|
||
|
|
Version: 0.4.0
|
||
|
|
Release: 1%{?dist}
|
||
|
|
Summary: Tools to help make life easier with MySQL
|
||
|
|
|
||
|
|
Group: Applications/Databases
|
||
|
|
License: BSD
|
||
|
|
URL: https://github.com/jayjanssen/%{name}
|
||
|
|
Source0: %{name}-%{version}.tar.gz
|
||
|
|
|
||
|
|
BuildRequires: perl(base)
|
||
|
|
Requires: mysql-server
|
||
|
|
%define debug_package %{nil}
|
||
|
|
|
||
|
|
%description
|
||
|
|
MySQL Gadgets
|
||
|
|
Tools to help make life easier with MySQL.
|
||
|
|
Note that you need to have some version of the mysql client, it's up to you to
|
||
|
|
install it.
|
||
|
|
All gadgets take mysql command like options (-u,-p,-h,-P), run with --help to
|
||
|
|
see all options.
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%setup -q
|
||
|
|
|
||
|
|
%check
|
||
|
|
./tester
|
||
|
|
|
||
|
|
%install
|
||
|
|
install -D MySQL_Script_Utils.pm %{buildroot}%{perl_vendorlib}/MySQL_Script_Utils.pm
|
||
|
|
install -D myq_innodb_status %{buildroot}%{_bindir}/myq_innodb_status
|
||
|
|
install -D myq_slave_info %{buildroot}%{_bindir}/myq_slave_info
|
||
|
|
install -D myq_status %{buildroot}%{_bindir}/myq_status
|
||
|
|
|
||
|
|
%files
|
||
|
|
%doc CHANGELOG LICENSE.TXT README
|
||
|
|
%{perl_vendorlib}/MySQL_Script_Utils.pm
|
||
|
|
%{_bindir}/*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Thu May 20 2021 Daniel Steiner <daniel.steiner@threema.ch>
|
||
|
|
- New build.
|
||
|
|
|