44 lines
1.1 KiB
RPMSpec
44 lines
1.1 KiB
RPMSpec
%define debug_package %{nil}
|
|
%define src_install_dir /usr/src/%{name}
|
|
|
|
Name: bazel_jar_jar
|
|
Version: 0.1.0
|
|
Release: 1
|
|
Summary: JarJar rules for Bazel (rename packages and classes in existing jars)
|
|
License: Apache-2.0
|
|
Group: Development/Tools/Building
|
|
URL: https://github.com/johnynek/%{name}
|
|
Source: https://github.com/johnynek/%{name}/releases/download/v%{version}/%{name}-v%{version}.tar.gz
|
|
|
|
%description
|
|
JarJar rules for Bazel (rename packages and classes in existing jars)
|
|
|
|
%package source
|
|
Summary: Source code of %{name}
|
|
Group: Development/Sources
|
|
BuildArch: noarch
|
|
|
|
%description source
|
|
JarJar rules for Bazel (rename packages and classes in existing jars)
|
|
|
|
This package contains source code of %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{src_install_dir}
|
|
tar -xzf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
|
|
|
|
%files source
|
|
%license LICENSE
|
|
%doc README.md
|
|
%{src_install_dir}
|
|
|
|
%changelog
|
|
* Mon Apr 7 2025 fuanan <fuanan3@h-partners.com> - 0.1.0-1
|
|
- package init
|
|
|