File dba-mariadb-101114.spec of Package dba-mariadb-101114

#KEEP NOSOURCE DEBUGINFO

%global debug_package	%{nil}
%define version		10.11.14
%define vers		101114
%define prefix		/DBA/mysql/SQL/%{version}
%define latest_script   set_maria_1011.latest.sh

Name:           	dba-mariadb-%{vers}
Summary:        	A True Multiuser, Multithreaded SQL Database Server
Vendor: 		openSUSE Build Service
License:        	GPL-2.0-only
Group:          	Productivity/Databases/Servers
Version:        	%{version}
Release:        	1
Source0:                https://dlm.mariadb.com/4417432/MariaDB/mariadb-10.11.14/bintar-linux-systemd-x86_64/mariadb-10.11.14-linux-systemd-x86_64.tar.gz
Source1:        	dba-mariadb-rpmlintrc
Source2:                %{latest_script}
Url:            	https://mariadb.com/
AutoReqProv:            off	
BuildRoot:      	%{_tmppath}/%{name}-%{version}-build

%if 0%{?suse_version} >= 1100
BuildRequires:          -post-build-checks
%endif


#!BuildIgnore:  dba-openssl-098o dba-openssl-098r dba-openssl-098x dba-openssl-101c
#!BuildIgnore:  nspr dba-geoip-148 dba-geoip-160 dba-git-2191


%description
The MySQL(TM) software delivers a very fast, multi-threaded, multi-user,
and robust SQL (Structured Query Language) database server. MySQL Server
is intended for mission-critical, heavy-load production systems as well
as for embedding into mass-deployed software. MySQL is a trademark of
Oracle and/or its affiliates


%prep
#  
#  O/ ._ .__ ._
# /O |_)|(/_|_)
#     |      |
#  
%setup -q -n mariadb-%{version}-linux-systemd-x86_64 


%build
#
#  O/ |_    o| _|
#  /O |_)|_|||(_|
#
echo "no build process needed" 
 

%install
#
#  O/ o._  __|_ _.||
#  /O || |_> |_(_|||
#  
#
#

%{__mkdir_p} %{buildroot}%{prefix}
for D in bin docs include lib man mysql-test scripts share sql-bench support-files
do
  cp -a $D %{buildroot}%{prefix}
done

%{__install} -m 0755 %{SOURCE2} %{buildroot}%{prefix}/bin/%{latest_script}


%post
cd %{prefix}/..
%{prefix}/bin/%{latest_script}


%files
#       _
#  O/ _|_o| _  _
#  /O  | ||(/__>
#  
%defattr(-,root,root)
%doc README.md
%dir %{prefix} 
%{prefix}/bin
%{prefix}/docs
%{prefix}/include
%{prefix}/lib
%{prefix}/man
%{prefix}/mysql-test
%{prefix}/scripts
%{prefix}/share
%{prefix}/sql-bench
%{prefix}/support-files


%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}


%changelog
* Wed Aug 13 2025 Sandra Attermeyer <Sandra.Attermeyer@bertelsmann.de>
- initial package
openSUSE Build Service is sponsored by