!1 Package init

From: @Acccll 
Reviewed-by: @xujing99, @jimmy_hero 
Signed-off-by: @jimmy_hero
This commit is contained in:
openeuler-ci-bot 2025-04-08 12:19:58 +00:00 committed by Gitee
commit 5ffcc3ccfc
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 42 additions and 0 deletions

38
google-cloud-cpp.spec Normal file
View File

@ -0,0 +1,38 @@
%define debug_package %{nil}
%define src_install_dir /usr/src/%{name}
Name: google-cloud-cpp
Version: 2.16.0
Release: 1
Summary: Google Cloud Platform C++ Client Libraries
License: Apache-2.0
Group: Development/Tools/Building
URL: https://github.com/googleapis/google-cloud-cpp/
Source: https://github.com/googleapis/google-cloud-cpp/archive/refs/tags/v%{version}.tar.gz
%description
The Cloud Client Libraies are the recommended way to access Google Cloud APIs programmatically.
%package source
Summary: Source code of %{name}
Group: Development/Sources
BuildArch: noarch
%description source
Idiomatic C++ client libraries for the following Google Cloud Platform services.
%prep
%setup -q -c -n %{name}-v%{version}
%build
%install
mkdir -p %{buildroot}%{src_install_dir}
tar -xf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
%files source
%license google-cloud-cpp-%{version}/LICENSE
%{src_install_dir}
%changelog
* Mon Mar 17 2025 Acccll <mail1521@163.com> - 2.16.0-1
- Package Init

4
google-cloud-cpp.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: googleapis/google-cloud-cpp
tag_prefix: ^v
separator: .

BIN
v2.16.0.tar.gz Normal file

Binary file not shown.