A new user interface for you! Read more...

File dba-mysql-5550.spec of Package dba-mysql-5550

#KEEP NOSOURCE DEBUGINFO

%global debug_package	%{nil}
%define version		5.5.50
%define vers		5550
%define prefix		/DBA/mysql/SQL/%{version}

Name:           	dba-mysql-%{vers}
Summary:        	MySQL version 5.5.50
License:        	GPL
Group:          	Productivity/Databases/Servers
Version:        	%{version}
Release:        	1
Source0:        	http://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-%{version}-linux2.6-x86_64.tar.gz
Source1:        	dba-mysql-rpmlintrc
Url:            	http://www.mysql.org/
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


%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 mysql-%{version}-linux2.6-x86_64


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

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

%{__mkdir_p} %{buildroot}%{prefix}
for D in bin data docs include lib man scripts 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 {} \;


%post
cd %{prefix}/..
%{__rm} -f 5.5.latest
%{__ln_s} -f %{version} 5.5.latest


%files
#       _
#  O/ _|_o| _  _
#  /O  | ||(/__>
#  
%defattr(-,root,root)
%doc COPYING README
%dir %{prefix} 
%{prefix}/bin
%{prefix}/data
%{prefix}/docs
%{prefix}/include
%{prefix}/lib
%{prefix}/man
%{prefix}/scripts
%{prefix}/share
%{prefix}/support-files


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


%changelog
* Wed Jul 13 2016 Holger Manthey <holger.manthey@bertelsmann.de>
- initial package