Update to Fedora 34, new myq_gadgets package added
This commit is contained in:
43
centos/SPECS/myq_gadgets.spec
Normal file
43
centos/SPECS/myq_gadgets.spec
Normal file
@@ -0,0 +1,43 @@
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user