init
This commit is contained in:
parent
5f03587759
commit
c1684aefc2
BIN
5.3.0-21.7.tar.gz
Normal file
BIN
5.3.0-21.7.tar.gz
Normal file
Binary file not shown.
47
rules_proto.spec
Normal file
47
rules_proto.spec
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
%define debug_package %{nil}
|
||||||
|
%define src_install_dir /usr/src/%{name}
|
||||||
|
%define main_version 5.3.0
|
||||||
|
%define sub_version 21.7
|
||||||
|
|
||||||
|
Name: rules_proto
|
||||||
|
Version: %{main_version}.%{sub_version}
|
||||||
|
Release: 1
|
||||||
|
Summary: Bazel build rules for Protocol Buffers
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: Development/Tools/Building
|
||||||
|
Url: https://github.com/bazelbuild/%{name}
|
||||||
|
Source0: https://github.com/bazelbuild/%{name}/archive/%{main_version}-%{sub_version}.tar.gz
|
||||||
|
BuildRequires: fdupes
|
||||||
|
|
||||||
|
%description
|
||||||
|
bazel-rules-proto is a set of Bazel rules for building Protocol Buffers.
|
||||||
|
|
||||||
|
%package source
|
||||||
|
Summary: Source code of bazel-rules-proto
|
||||||
|
Group: Development/Sources
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description source
|
||||||
|
bazel-rules-proto is a set of Bazel rules for building Protocol Buffers.
|
||||||
|
|
||||||
|
This package contains source code of bazel-rules-proto.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{main_version}-%{sub_version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{src_install_dir}
|
||||||
|
tar -zxf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
|
||||||
|
|
||||||
|
%fdupes %{buildroot}%{src_install_dir}
|
||||||
|
|
||||||
|
%files source
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.md
|
||||||
|
%{src_install_dir}
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Mar 15 2025 Acccll <mail1521@163.com> - 5.3.0.21.7-1
|
||||||
|
- package init
|
||||||
4
rules_proto.yaml
Normal file
4
rules_proto.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: bazelbuild/rules_proto
|
||||||
|
tag_prefix: ^v
|
||||||
|
separator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user