45 lines
1.0 KiB
RPMSpec
45 lines
1.0 KiB
RPMSpec
%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
|