~ubuntu-branches/ubuntu/utopic/mariadb-5.5/utopic-security

« back to all changes in this revision

Viewing changes to packaging/rpm-oel/mysql.spec.in

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2014-08-27 21:12:36 UTC
  • mfrom: (2.1.6 sid)
  • Revision ID: package-import@ubuntu.com-20140827211236-se41hwfe4xy0hpef
* d/control: Removed Provides: libmysqlclient-dev (Closes: #759309)
* d/control: Removed Provides: libmysqld-dev with same motivation
* Re-introduced tha HPPA build patch as the upstream fix wasn't complete
* Fixed all kFreeBSD build and test suite issues
* Added Italian translation (Closes: #759813)

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
Summary:        A very fast and reliable SQL database server
86
86
Group:          Applications/Databases
87
87
Version:        @VERSION@
88
 
Release:        2%{?commercial:.1}%{?dist}
 
88
Release:        4%{?commercial:.1}%{?dist}
89
89
License:        Copyright (c) 2000, @MYSQL_COPYRIGHT_YEAR@, %{mysql_vendor}. All rights reserved. Under %{?license_type} license as shown in the Description field.
90
90
Source0:        https://cdn.mysql.com/Downloads/MySQL-@MYSQL_BASE_VERSION@/%{src_dir}.tar.gz
91
91
URL:            http://www.mysql.com/
118
118
 
119
119
%if 0%{?rhel} > 6
120
120
# For rpm => 4.9 only: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
121
 
%global __requires_exclude ^perl\\((hostnames|lib::mtr|lib::v1|mtr_|My::)
 
121
%global __requires_exclude ^perl\\((GD|hostnames|lib::mtr|lib::v1|mtr_|My::)
122
122
%global __provides_exclude_from ^(/usr/share/(mysql|mysql-test)/.*|%{_libdir}/mysql/plugin/.*\\.so)$
123
123
%else
124
124
# https://fedoraproject.org/wiki/EPEL:Packaging#Generic_Filtering_on_EPEL6
166
166
Obsoletes:      MySQL-server < %{version}-%{release}
167
167
Obsoletes:      mysql-server < %{version}-%{release}
168
168
Obsoletes:      mariadb-server
 
169
Obsoletes:      mariadb-galera-server
169
170
Provides:       mysql-server = %{version}-%{release}
170
171
Provides:       mysql-server%{?_isa} = %{version}-%{release}
171
172
%if 0%{?systemd}
262
263
database server.
263
264
 
264
265
 
 
266
%package        bench
 
267
Summary:        MySQL benchmark suite
 
268
Group:          Applications/Databases
 
269
%if 0%{?commercial}
 
270
Obsoletes:      mysql-community-bench < %{version}-%{release}
 
271
Requires:       mysql-enterprise-server%{?_isa} = %{version}-%{release}
 
272
%else
 
273
Requires:       mysql-community-server%{?_isa} = %{version}-%{release}
 
274
%endif
 
275
Obsoletes:      mariadb-bench
 
276
Obsoletes:      community-mysql-bench < %{version}-%{release}
 
277
Obsoletes:      mysql-bench < %{version}-%{release}
 
278
Provides:       mysql-bench = %{version}-%{release}
 
279
Provides:       mysql-bench%{?_isa} = %{version}-%{release}
 
280
 
 
281
%description    bench
 
282
This package contains the MySQL Benchmark Suite for MySQL database
 
283
server.
 
284
 
265
285
%package        devel
266
286
Summary:        Development header files and libraries for MySQL database client applications
267
287
Group:          Applications/Databases
344
364
Provides:       MySQL-embedded%{?_isa} = %{version}-%{release}
345
365
Requires:       mysql-community-common%{?_isa} = %{version}-%{release}
346
366
%endif
 
367
Obsoletes:      mariadb-embedded
347
368
Obsoletes:      MySQL-embedded < %{version}-%{release}
348
369
Obsoletes:      mysql-embedded < %{version}-%{release}
349
370
Provides:       mysql-embedded = %{version}-%{release}
372
393
Requires:       mysql-community-devel%{?_isa} = %{version}-%{release}
373
394
Requires:       mysql-community-embedded%{?_isa} = %{version}-%{release}
374
395
%endif
 
396
Obsoletes:      mariadb-embedded-devel
375
397
Obsoletes:      mysql-embedded-devel < %{version}-%{release}
376
398
Provides:       mysql-embedded-devel = %{version}-%{release}
377
399
Provides:       mysql-embedded-devel%{?_isa} = %{version}-%{release}
472
494
  cmake ../%{src_dir} \
473
495
           -DBUILD_CONFIG=mysql_release \
474
496
           -DINSTALL_LAYOUT=RPM \
475
 
           -DCMAKE_BUILD_TYPE=Debug %{?el7:-DENABLE_DTRACE=OFF} \
 
497
           -DCMAKE_BUILD_TYPE=Debug \
 
498
           -DENABLE_DTRACE=OFF \
476
499
           -DCMAKE_C_FLAGS="$optflags" \
477
500
           -DCMAKE_CXX_FLAGS="$optflags" \
478
501
           -DINSTALL_LIBDIR="%{_lib}/mysql" \
479
502
           -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
 
503
           -DINSTALL_SQLBENCHDIR=share \
480
504
           -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
481
505
           -DFEATURE_SET="%{feature_set}" \
482
506
           -DWITH_EMBEDDED_SERVER=1 \
495
519
  cmake ../%{src_dir} \
496
520
           -DBUILD_CONFIG=mysql_release \
497
521
           -DINSTALL_LAYOUT=RPM \
498
 
           -DCMAKE_BUILD_TYPE=RelWithDebInfo %{?el7:-DENABLE_DTRACE=OFF} \
 
522
           -DCMAKE_BUILD_TYPE=RelWithDebInfo \
 
523
           -DENABLE_DTRACE=OFF \
499
524
           -DCMAKE_C_FLAGS="%{optflags}" \
500
525
           -DCMAKE_CXX_FLAGS="%{optflags}" \
501
526
           -DINSTALL_LIBDIR="%{_lib}/mysql" \
502
527
           -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \
 
528
           -DINSTALL_SQLBENCHDIR=share \
503
529
           -DMYSQL_UNIX_ADDR="%{mysqldatadir}/mysql.sock" \
504
530
           -DFEATURE_SET="%{feature_set}" \
505
531
           -DWITH_EMBEDDED_SERVER=1 \
862
888
%attr(644, root, root) %{_mandir}/man1/mysql_client_test_embedded.1*
863
889
%attr(644, root, root) %{_mandir}/man1/mysqltest_embedded.1*
864
890
 
 
891
%files bench
 
892
%defattr(-, root, root, -)
 
893
%{_datadir}/sql-bench
 
894
 
865
895
%files embedded
866
896
%defattr(-, root, root, -)
867
897
%dir %attr(755, root, root) %{_libdir}/mysql
881
911
%endif
882
912
 
883
913
%changelog
 
914
* Tue Jul 08 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.5.39-4
 
915
- Remove perl(GD) and dtrace dependencies 
 
916
 
 
917
* Tue Jul 01 2014 Bjorn Munch <bjorn.munch@oracle.com> - 5.5.39-3
 
918
- Disable dtrace, as it fails on OEL6 boxes with Oracle dtrace installed
 
919
 
 
920
* Thu Jun 26 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.5.39-2
 
921
- Resolve embedded-devel conflict issue
 
922
 
 
923
* Wed Jun 25 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.5.39-1
 
924
- Add bench package
 
925
- Enable dtrace 
 
926
 
884
927
* Sun May 11 2014 Balasubramanian Kandasamy <balasubramanian.kandasamy@oracle.com> - 5.5.38-2
885
928
- Increment release version to resolve upgrade conflict issue
886
929