!1 Package init
From: @Acccll Reviewed-by: @xujing99, @jimmy_hero Signed-off-by: @jimmy_hero
This commit is contained in:
commit
97d8750dad
BIN
0.1.0.tar.gz
Normal file
BIN
0.1.0.tar.gz
Normal file
Binary file not shown.
44
rules_java.spec
Normal file
44
rules_java.spec
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
%define src_install_dir /usr/src/%{name}
|
||||||
|
|
||||||
|
Name: rules_java
|
||||||
|
Version: 0.1.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Java rules for Bazel
|
||||||
|
Group: Development/Tools/Building
|
||||||
|
License: Apache-2.0
|
||||||
|
Url: https://github.com/bazelbuild/%{name}
|
||||||
|
Source0: https://github.com/bazelbuild/%{name}/archive/refs/tags/%{version}.tar.gz
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Bazel rules which support building software written in Java.
|
||||||
|
|
||||||
|
%package source
|
||||||
|
Summary: Source code of bazel-rules-java
|
||||||
|
Group: Development/Sources
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description source
|
||||||
|
Bazel rules which support building software written in Java.
|
||||||
|
|
||||||
|
This package contains source code of bazel-rules-java.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{src_install_dir}
|
||||||
|
cp -R * %{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> - 0.1.0-1
|
||||||
|
- package init
|
||||||
4
rules_java.yaml
Normal file
4
rules_java.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: bazelbuild/rules_java
|
||||||
|
tag_prefix: ^v
|
||||||
|
separator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user