diff --git a/2e8b7654fa10c44b9937453fa4974ed2229d5366.tar.gz b/2e8b7654fa10c44b9937453fa4974ed2229d5366.tar.gz new file mode 100644 index 0000000..2a33a66 Binary files /dev/null and b/2e8b7654fa10c44b9937453fa4974ed2229d5366.tar.gz differ diff --git a/bazel-compile-commands-extractor.spec b/bazel-compile-commands-extractor.spec new file mode 100644 index 0000000..6df833a --- /dev/null +++ b/bazel-compile-commands-extractor.spec @@ -0,0 +1,42 @@ +%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 - 2e8b7654fa10c44b9937453fa4974ed2229d5366-1 +- package init diff --git a/bazel-compile-commands-extractor.yaml b/bazel-compile-commands-extractor.yaml new file mode 100644 index 0000000..4dd9937 --- /dev/null +++ b/bazel-compile-commands-extractor.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: hedronvision/bazel-compile-commands-extractor +tag_prefix: ^v +separator: .