# Restore old style debuginfo creation for rpm >= 4.14. %undefine _debugsource_packages %undefine _debuginfo_subpackages # -*- rpm-spec -*- BuildRoot: %_topdir/mariadb-11.4.4 Summary: MariaDB: a very fast and robust SQL database server Name: MariaDB Version: 11.4.4 Release: 1%{?dist} License: GPLv2 Group: Applications/Databases Vendor: MariaDB Foundation Source: MariaDB-11.4.4.tar.gz BuildRequires: gawk bison bzip2-devel boost-devel coreutils checkpolicy binutils cmake ccache gcc make libcurl-devel ncurses-devel systemtap-sdt-devel libevent-devel flex cracklib-devel glibc-devel zlib-ng-compat-devel pcre2-devel systemd-devel libxcrypt-devel java-1.8.0-openjdk java-1.8.0-openjdk-headless Judy-devel krb5-devel libaio-devel libedit-devel xz-devel libxml2-devel libxml2 lz4-devel lzo-devel fmt-devel java-1.8.0-openjdk-devel unixODBC-devel openssl-devel pam-devel pkgconf-pkg-config readline-devel policycoreutils snappy-devel liburing-devel libzstd-devel %define debug_package %{nil} %define _rpmdir %_topdir/RPMS %define _srcrpmdir %_topdir/SRPMS %define _unpackaged_files_terminate_build 0 %define mysql_vendor MariaDB Foundation %define mysqlversion 11.4.4 %define mysqlbasedir /usr %define mysqldatadir /var/lib/mysql %define mysqld_user mysql %define mysqld_group mysql %define _bindir /usr/bin %define _sbindir /usr/sbin %define _sysconfdir /etc %define restart_flag_dir %{_localstatedir}/lib/rpm-state/mariadb %define restart_flag %{restart_flag_dir}/need-restart %define _lto_cflags %{nil} %define pretrans %{nil} %{?filter_setup: %filter_provides_in \.\(test\|result\|h\|cc\|c\|inc\|opt\|ic\|cnf\|rdiff\|cpp\)$ %filter_requires_in \.\(test\|result\|h\|cc\|c\|inc\|opt\|ic\|cnf\|rdiff\|cpp\)$ %filter_from_provides /perl(\(mtr\|My::\)/d %filter_from_requires /\(perl(\(.*mtr\|My::\|.*HandlerSocket\|Mysql\)\)/d %filter_setup } %define ignore # %description MariaDB: a very fast and robust SQL database server It is GPL v2 licensed, which means you can use the it free of charge under the conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/). MariaDB documentation can be found at https://mariadb.com/kb MariaDB bug reports should be submitted through https://jira.mariadb.org # This is a shortcutted spec file generated by CMake RPM generator # we skip _install step because CPack does that for us. # We do only save CPack installed tree in _prepr # and then restore it in build. %prep %setup -c %build mkdir cpack_rpm_build_dir cd cpack_rpm_build_dir '/usr/bin/cmake' -DRPM=fedora40 -DMYSQL_MAINTAINER_MODE=AUTO -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DWITH_SSL=system -DCPACK_PACKAGING_INSTALL_PREFIX=/ ../mariadb-11.4.4 make %{?_smp_mflags} #p build %install cd cpack_rpm_build_dir cpack -G RPM mv *.rpm %_rpmdir %clean %changelog * Sun Jul 4 2010 Eric Noulard - 11.4.4-1%{?dist} Generated by CPack RPM (no Changelog file were provided)