LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File postgresql96-fdw-mysql.spec of Package postgresql96-fdw-mysql (Project home:dddh:branches:home:vjt:ifad)

# spec file for package 
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

Name:           postgresql96-fdw-mysql
Version:	master
Release:	0
License:	PostgreSQL
Summary:	Foreign Data Wrapper for MySQL servers
Url:		http://pgxn.org/dist/mysql_fdw/
Group:		Productivity/Databases/Tools
#Source0:	http://api.pgxn.org/dist/mysql_fdw/%{version}/mysql_fdw-%{version}.zip
Source0:	mysql_fdw-master.zip
Patch0:		add-mysqllib-soversion.patch
Requires:	postgresql-server >= 9.6
Requires:	mysql-client
BuildRequires:	postgresql-devel >= 9.6
BuildRequires:	mysql-devel
BuildRequires:	unzip
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The mysql_fdw is a foreign-data wrapper for accessing
MySQL servers via PostgreSQL foreign tables.

%setup -q -n mysql_fdw-%{version}

USE_PGXS=1 make %{?_smp_mflags}

USE_PGXS=1 make %{?_smp_mflags} install DESTDIR=%{buildroot}

%doc README.md LICENSE sql