1 |
|
### RPM external mysql 5.0.18 |
2 |
+ |
## INITENV +PATH LD_LIBRARY_PATH %i/lib/mysql |
3 |
+ |
|
4 |
|
#Different download locations according to the version. |
5 |
|
|
6 |
|
%if "%(echo %v | cut -d. -f1)" == "4" |
10 |
|
%endif |
11 |
|
|
12 |
|
Source: %source |
13 |
+ |
# Let's fake the fact that we have perl (DBI) so that rpm does not complain. |
14 |
+ |
Provides: perl(DBI) |
15 |
|
|
16 |
|
%prep |
17 |
|
%setup -n %n-%v |
26 |
|
./configure --prefix=%i --with-extra-charsets=complex \ |
27 |
|
--enable-thread-safe-client --enable-local-infile |
28 |
|
make %makeprocesses |
29 |
+ |
%post |
30 |
+ |
%{relocateConfig}bin/msql2mysql |
31 |
+ |
%{relocateConfig}bin/mysqlaccess |
32 |
+ |
%{relocateConfig}bin/mysqlbug |
33 |
+ |
%{relocateConfig}bin/mysql_config |
34 |
+ |
%{relocateConfig}bin/mysqld_multi |
35 |
+ |
%{relocateConfig}bin/mysqld_safe |
36 |
+ |
%{relocateConfig}bin/mysql_fix_privilege_tables |
37 |
+ |
%{relocateConfig}bin/mysql_install_db |
38 |
+ |
|
39 |
+ |
|