diff --git a/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz b/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz new file mode 100644 index 0000000..5d9001f Binary files /dev/null and b/2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz differ diff --git a/googleapis.spec b/googleapis.spec new file mode 100644 index 0000000..56e724b --- /dev/null +++ b/googleapis.spec @@ -0,0 +1,50 @@ +%define debug_package %{nil} +%define src_install_dir /usr/src/%{name} + +Name: googleapis +Version: 2f9af297c84c55c8b871ba4495e01ade42476c92 +Release: 1 +Summary: Public interface definitions of Google APIs +License: Apache-2.0 +URL: https://github.com/%{name}/%{name} +Source0: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz + +BuildRequires: fdupes + +%description +Googleapis are the interface definitions of public Google APIs that support +both REST and gRPC protocols. + +%package source +Summary: Source code of googleapis +BuildArch: noarch + +%description source +Googleapis are the interface definitions of public Google APIs that support +both REST and gRPC protocols. + +This package comtains source code for googleapis. + +%prep +%autosetup -n %{name}-%{version} + +%build + +%install +mkdir -p %{buildroot}%{src_install_dir} +cp -r * %{buildroot}%{src_install_dir} +%fdupes %{buildroot}%{src_install_dir} + +# Fix hidden-dile-or-dir warning. +find %{buildroot}%{src_install_dir} -name ".*" -exec rm -rf "{}" + +# Some headers have executable bits... +find %{buildroot}%{src_install_dir} -type f -name "*.h" -exec chmod -x "{}" + + +%files source +%license LICENSE +%doc README.md +%{src_install_dir} + +%changelog +* Mon Apr 7 2025 fuanan - 2f9af297c84c55c8b871ba4495e01ade42476c92-1 +- package init diff --git a/googleapis.yaml b/googleapis.yaml new file mode 100644 index 0000000..06ccad5 --- /dev/null +++ b/googleapis.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: googleapis/googleapis +tag_prefix: ^v +separator: .