43 lines
1.1 KiB
RPMSpec
43 lines
1.1 KiB
RPMSpec
%define debug_package %{nil}
|
|
%define src_install_dir /usr/src/%{name}
|
|
|
|
Name: bazel-compile-commands-extractor
|
|
Version: 2e8b7654fa10c44b9937453fa4974ed2229d5366
|
|
Release: 1
|
|
Summary: Enable awesome tooling for Bazel users of the C language family.
|
|
License: MIT
|
|
Group: Development/Tools/Building
|
|
URL: https://github.com/hedronvision/%{name}
|
|
Source: https://github.com/hedronvision/%{name}/archive/%{version}.tar.gz
|
|
|
|
%description
|
|
Hedron's Compile Commands Extractor for Bazel - User Interface
|
|
|
|
%package source
|
|
Summary: Source code of %{name}
|
|
Group: Development/Sources
|
|
BuildArch: noarch
|
|
|
|
%description source
|
|
Hedron's Compile Commands Extractor for Bazel - User Interface
|
|
|
|
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.md
|
|
%doc README.md
|
|
%{src_install_dir}
|
|
|
|
%changelog
|
|
* Mon Apr 7 2025 fuanan <fuanan3@h-partners.com> - 2e8b7654fa10c44b9937453fa4974ed2229d5366-1
|
|
- package init
|