/[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 879044 by spuhler, Sun Sep 13 23:15:41 2015 UTC revision 879272 by barjac, Mon Sep 14 10:13:37 2015 UTC
# Line 5  Line 5 
5  Summary:        A MySQL database connector for C++  Summary:        A MySQL database connector for C++
6  Name:           mysql-connector-c++  Name:           mysql-connector-c++
7  Version:        1.1.6  Version:        1.1.6
8  Release:        %mkrel 1  Release:        %mkrel 1
9  Group:          System/Libraries  Group:          System/Libraries
10  License:        GPL  License:        GPLv2
11  URL:            http://dev.mysql.com/downloads/connector/cpp/  URL:            http://dev.mysql.com/downloads/connector/cpp/
12  Source0:        http://cdn.mysql.com/Downloads/Connector-C++/%{name}-%{version}.tar.gz  Source0:        http://cdn.mysql.com/Downloads/Connector-C++/%{name}-%{version}.tar.gz
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
 Patch2:         FindMySQL_cmake.patch  
16  BuildRequires:  cmake  BuildRequires:  cmake
17  BuildRequires:  mysql-devel  BuildRequires:  mysql-devel
18  BuildRequires:  boost-devel  BuildRequires:  boost-devel
19    
20  %description  %description
21  MySQL Connector/C++ is a MySQL database connector for C++ development. The  MySQL Connector/C++ is a MySQL database connector for C++ development. The
# Line 38  offers the following advantages for C++ Line 37  offers the following advantages for C++
37    
38  %package -n     %{libname}  %package -n     %{libname}
39  Summary:        The shared mysql-connector-cpp library  Summary:        The shared mysql-connector-cpp library
40  Group:          System/Libraries  Group:          System/Libraries
41  Provides:       %{name} = %{version}-%{release}  Provides:       %{name} = %{version}-%{release}
42    
43  %description -n %{libname}  %description -n %{libname}
44  MySQL Connector/C++ is a MySQL database connector for C++ development. The  MySQL Connector/C++ is a MySQL database connector for C++ development. The
# Line 61  offers the following advantages for C++ Line 60  offers the following advantages for C++
60    
61  %package -n     %{develname}  %package -n     %{develname}
62  Summary:        Development library and header files for development with mysql-connector-cpp  Summary:        Development library and header files for development with mysql-connector-cpp
63  Group:          Development/C++  Group:          Development/C++
64  Requires:       %{libname} = %{version}  Requires:       %{libname} = %{version}
65  Provides:       %{name}-devel = %{version}-%{release}  Provides:       %{name}-devel = %{version}-%{release}
66    
# Line 87  offers the following advantages for C++ Line 86  offers the following advantages for C++
86  %setup -q  %setup -q
87  %patch0 -p1 -b .linkage  %patch0 -p1 -b .linkage
88  %patch1 -p1 -b .mariadb  %patch1 -p1 -b .mariadb
 ##  %patch2 -p1 -b .FindMySQL_cmake  
89  %{__chmod} -x examples/*.cpp examples/*.txt  %{__chmod} -x examples/*.cpp examples/*.txt
90    
91  # Save examples to keep directory clean (for doc)  # Save examples to keep directory clean (for doc)
# Line 96  offers the following advantages for C++ Line 94  offers the following advantages for C++
94    
95  %build  %build
96  %{cmake} \  %{cmake} \
97                    -DMYSQL_INCLUDE_DIR=%{_includedir}/mysql \
98                  -DCMAKE_INSTALL_PREFIX=/usr \                  -DCMAKE_INSTALL_PREFIX=/usr \
99                  -DCMAKE_BUILD_TYPE=Release \                  -DCMAKE_BUILD_TYPE=Release \
100                  -DCMAKE_INSTALL_LIBDIR=%{_libdir} \                  -DCMAKE_INSTALL_LIBDIR=%{_libdir} \

Legend:
Removed from v.879044  
changed lines
  Added in v.879272

  ViewVC Help
Powered by ViewVC 1.1.30