!1 Package init

From: @Acccll 
Reviewed-by: @jimmy_hero 
Signed-off-by: @jimmy_hero
This commit is contained in:
openeuler-ci-bot 2025-04-08 08:46:22 +00:00 committed by Gitee
commit 48a6b3acf7
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 58 additions and 0 deletions

Binary file not shown.

54
rules_boost.spec Normal file
View File

@ -0,0 +1,54 @@
%define debug_package %{nil}
%define src_install_dir /usr/src/%{name}
# set by service set_version:
%define version_unconverted 57c99395e15720e287471d79178d36a85b64d6f6
Name: rules_boost
Version: %{version_unconverted}
Release: 1
Summary: Bazel rules for Boost integration
License: Apache-2.0
Group: Development/Tools/Building
URL: https://github.com/nelhage/rules_boost
Source: https://github.com/nelhage/rules_boost/archive/%{version_unconverted}.tar.gz
BuildRequires: bazel
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: boost-devel
BuildRequires: fdupes
%description
rules_boost provides a set of Bazel rules for integrating Boost libraries
into your projects. This package includes everything necessary to build
and use Boost with Bazel.
%package source
Summary: Source code of rules_boost
Group: Development/Sources
BuildArch: noarch
%description source
rules_boost provides a set of Bazel rules for integrating Boost libraries
into your projects. This package includes everything necessary to build
and use Boost with Bazel.
%prep
%setup -q
%build
%install
mkdir -p %{buildroot}%{src_install_dir}
tar -xzf %{SOURCE0} --strip-components=1 -C %{buildroot}%{src_install_dir}
%fdupes %{buildroot}%{src_install_dir}
%files source
%license LICENSE
%doc README.md
%{src_install_dir}
%changelog
* Mon Mar 17 2025 Acccll <mail1521@163.com> - 57c99395e15720e287471d79178d36a85b64d6f6-1
- package init

4
rules_boost.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: nelhage/rules_boost
tag_prefix: ^v
separator: .