/[packages]/updates/8/mysql-connector-c++/current/SPECS/mysql-connector-c++.spec
ViewVC logotype

Diff of /updates/8/mysql-connector-c++/current/SPECS/mysql-connector-c++.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 816115 by spuhler, Fri Feb 20 19:15:45 2015 UTC revision 816157 by spuhler, Fri Feb 20 21:57:47 2015 UTC
# Line 13  Source0:       http://cdn.mysql.com/Downloads/ Line 13  Source0:       http://cdn.mysql.com/Downloads/
13  ## patches from arch-linux  ## patches from arch-linux
14  Patch0:         mysql_cxx_linkage.patch  Patch0:         mysql_cxx_linkage.patch
15  Patch1:         mariadb_api.patch  Patch1:         mariadb_api.patch
16    Patch2:         FindMySQL_cmake.patch
17  BuildRequires:  cmake  BuildRequires:  cmake
18  BuildRequires:  mysql-devel  BuildRequires:  mysql-devel
19  BuildRequires:  boost-devel  BuildRequires:  boost-devel
# Line 86  offers the following advantages for C++ Line 87  offers the following advantages for C++
87  %setup -q  %setup -q
88  %patch0 -p1 -b .linkage  %patch0 -p1 -b .linkage
89  %patch1 -p1 -b .mariadb  %patch1 -p1 -b .mariadb
90  ##  see http://bugs.mysql.com/bug.php?id=68320  %patch2 -p1 -b .FindMySQL_cmake
 %{__sed} -i -e 's/lib$/%{_lib}/' driver/CMakeLists.txt  
91  %{__chmod} -x examples/*.cpp examples/*.txt  %{__chmod} -x examples/*.cpp examples/*.txt
92    
93  # Save examples to keep directory clean (for doc)  # Save examples to keep directory clean (for doc)
# Line 98  offers the following advantages for C++ Line 98  offers the following advantages for C++
98  %{cmake} \  %{cmake} \
99                  -DCMAKE_INSTALL_PREFIX=/usr \                  -DCMAKE_INSTALL_PREFIX=/usr \
100                  -DCMAKE_BUILD_TYPE=Release \                  -DCMAKE_BUILD_TYPE=Release \
101                  -DCMAKE_INSTALL_LIBDIR=/usr/lib \                  -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
102                  -DMYSQLCPPCONN_BUILD_EXAMPLES=OFF \                  -DMYSQLCPPCONN_BUILD_EXAMPLES=OFF \
103                  -DMYSQL_LIB=/usr/lib/libmysqlclient.so                  -DMYSQL_LIB=%{_libdir}/libmysqlclient.so
104  %{make}  %{make}
105    
106  %install  %install

Legend:
Removed from v.816115  
changed lines
  Added in v.816157

  ViewVC Help
Powered by ViewVC 1.1.30