package init
This commit is contained in:
parent
e31f8cd510
commit
8dc8d381b8
BIN
2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz
Normal file
BIN
2f9af297c84c55c8b871ba4495e01ade42476c92.tar.gz
Normal file
Binary file not shown.
50
googleapis.spec
Normal file
50
googleapis.spec
Normal file
@ -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 <fuanan3@h-partners.com> - 2f9af297c84c55c8b871ba4495e01ade42476c92-1
|
||||||
|
- package init
|
||||||
4
googleapis.yaml
Normal file
4
googleapis.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: googleapis/googleapis
|
||||||
|
tag_prefix: ^v
|
||||||
|
separator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user