# Generated by go2rpm # Disabled, it needs Fuse and mysql %bcond_with check # https://github.com/GoogleCloudPlatform/cloudsql-proxy %global goipath github.com/GoogleCloudPlatform/cloudsql-proxy Version: 1.14 %global tag 1.14 %gometa %global common_description %{expand: The Cloud SQL Proxy allows a user with the appropriate permissions to connect to a Second Generation Cloud SQL database without having to deal with IP whitelisting or SSL certificates manually. It works by opening unix/tcp sockets on the local machine and proxying connections to the associated Cloud SQL instances when the sockets are used.} %global golicenses LICENSE %global godocs CONTRIBUTING.md CONTRIBUTORS Kubernetes.md README.md Name: %{goname} Release: 1%{?dist} Summary: Cloud SQL proxy client and Go library # Upstream license specification: Apache-2.0 License: ASL 2.0 URL: %{gourl} Source0: %{gosource} BuildRequires: golang(bazil.org/fuse) BuildRequires: golang(bazil.org/fuse/fs) BuildRequires: golang(cloud.google.com/go/compute/metadata) BuildRequires: golang(github.com/go-sql-driver/mysql) BuildRequires: golang(github.com/lib/pq) BuildRequires: golang(golang.org/x/crypto/ssh) BuildRequires: golang(golang.org/x/net/context) BuildRequires: golang(golang.org/x/oauth2) BuildRequires: golang(golang.org/x/oauth2/google) BuildRequires: golang(google.golang.org/api/compute/v1) BuildRequires: golang(google.golang.org/api/googleapi) BuildRequires: golang(google.golang.org/api/sqladmin/v1beta4) %description %{common_description} %gopkg %prep %goprep %build for cmd in cmd/* ; do %gobuild -o %{gobuilddir}/bin/$(basename $cmd) %{goipath}/$cmd done %install %gopkginstall install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %if %{with check} %check %gocheck %endif %files %license LICENSE %doc CONTRIBUTING.md CONTRIBUTORS Kubernetes.md README.md %{_bindir}/* %gopkgfiles %changelog * Fri May 24 17:05:38 CEST 2019 Robert-André Mauchin - 1.14-1 - Release 1.14 * Sun Mar 10 2019 Robert-André Mauchin - 1.13-1 - Release 1.13 (#1687203) * Fri Feb 01 2019 Fedora Release Engineering - 1.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Mar 23 2018 Robert-André Mauchin - 1.11-1 - First package for Fedora