2021-10-20 14:25:34 +00:00
|
|
|
#
|
|
|
|
# spec file for package mysql-xml-to-csv
|
|
|
|
#
|
2024-09-17 17:17:47 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2021-10-20 14:25:34 +00:00
|
|
|
#
|
|
|
|
# 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 https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-09-06 07:28:07 +00:00
|
|
|
Name: mysql-xml-to-csv
|
2024-09-17 17:17:47 +00:00
|
|
|
Version: 1.0.1
|
2021-09-06 07:28:07 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Convert MySQL XML output to CSV
|
2021-10-20 14:25:34 +00:00
|
|
|
License: Apache-2.0
|
2021-09-06 07:28:07 +00:00
|
|
|
Group: Productivity/Databases/Tools
|
|
|
|
URL: https://github.com/archiecobbs/%{name}
|
2021-10-20 14:25:34 +00:00
|
|
|
Source: %{name}-%{version}.tar.gz
|
2021-09-06 07:28:07 +00:00
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: libexpat-devel
|
2021-10-20 14:25:34 +00:00
|
|
|
BuildRequires: make
|
2021-09-06 07:28:07 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{name} converts MySQL XML query results (i.e., produced using
|
|
|
|
the mysql(1) command when given the --xml flag) into a CSV file.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
%build
|
|
|
|
./autogen.sh
|
|
|
|
%configure
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
2021-10-20 14:25:34 +00:00
|
|
|
install -d %{buildroot}%{_docdir}/%{name}
|
|
|
|
rm -rf %{buildroot}%{_docdir}/%{name}/INSTALL
|
2021-09-06 07:28:07 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%attr(0755,root,root) %{_bindir}/%{name}
|
|
|
|
%attr(0644,root,root) %{_mandir}/man1/%{name}.1.gz
|
|
|
|
%defattr(0644,root,root,0755)
|
2021-10-20 14:25:34 +00:00
|
|
|
%doc %{_docdir}/%{name}
|
2021-09-06 07:28:07 +00:00
|
|
|
|
|
|
|
%changelog
|