File dba-mysql-848.spec of Package dba-mysql-848
#KEEP NOSOURCE DEBUGINFO
%global debug_package %{nil}
%define version 8.4.8
%define vers %(echo %{version} | tr -d '.')
%define prefix /DBA/mysql/SQL/%{version}
%define latest_script set_mysql_84.latest.sh
%define _build_id_links none
Name: dba-mysql-%{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://dev.mysql.com/get/Downloads/MySQL-8.4/mysql-%{version}-linux-glibc2.28-x86_64.tar.xz
Source1: https://dev.mysql.com/get/Downloads/MySQL-8.4/mysql-%{version}-linux-glibc2.28-x86_64.tar.xz.md5
Source2: dba-mysql-rpmlintrc
Source3: %{latest_script}
Url: http://www.mysql.org/
AutoReqProv: off
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} >= 1100
BuildRequires: -post-build-checks
%endif
Requires: dba-mysql-percona-xtrabackup-840
#!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 |_)|(/_|_)
# | |
#
sed -i -e 's/ .*$//g' %{SOURCE1}
md5sum %{SOURCE0} | awk '{print $1;}' | cmp - %{SOURCE1}
%setup -q -n mysql-%{version}-linux-glibc2.28-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 share support-files
do
cp -a $D %{buildroot}%{prefix}
done
%{__rm} -fv %{buildroot}/%{prefix}/bin/*_embedded
%{__rm} -fv %{buildroot}/%{prefix}/*/*debug*
# find %{buildroot}%{prefix} -type f -name "*_embedded" -exec rm -vf {} \;
%{__install} -m 0755 %{SOURCE3} %{buildroot}%{prefix}/bin/%{latest_script}
%post
cd %{prefix}/..
%{prefix}/bin/%{latest_script}
%files
# _
# O/ _|_o| _ _
# /O | ||(/__>
#
%defattr(-,root,root)
%doc README
%dir %{prefix}
%{prefix}/bin
%{prefix}/docs
%{prefix}/include
%{prefix}/lib
%{prefix}/man
%{prefix}/share
%{prefix}/support-files
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%changelog
* Thu Feb 19 2026 Anna Kedzior <anna.kedzior@bertelsmann.de>
- initial commit MySQl 8.4.8