package init
This commit is contained in:
parent
b9a2809ac0
commit
996c3d53b3
BIN
455cfdb8ae60a1763e6d924e36851c6897a781bb.tar.gz
Normal file
BIN
455cfdb8ae60a1763e6d924e36851c6897a781bb.tar.gz
Normal file
Binary file not shown.
51
upb.spec
Normal file
51
upb.spec
Normal file
@ -0,0 +1,51 @@
|
||||
%define debug_package %{nil}
|
||||
%define src_install_dir /usr/src/%{name}
|
||||
|
||||
Name: upb
|
||||
Version: 455cfdb8ae60a1763e6d924e36851c6897a781bb
|
||||
Release: 1
|
||||
Summary: A small protobuf implementation in C
|
||||
License: BSD-3-Clause
|
||||
URL: https://github.com/protocolbuffers/%{name}
|
||||
Source0: https://github.com/protocolbuffers/%{name}/archive/%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gtest
|
||||
|
||||
%description
|
||||
μpb (often written 'upb') is a small protobuf implementation written in C.
|
||||
|
||||
upb generates a C API for creating, parsing, and serializing messages as
|
||||
declared in .proto files. upb is heavily arena-based: all messages always live
|
||||
in an arena (note: the arena can live in stack or static memory if desired).
|
||||
|
||||
%package source
|
||||
Summary: Source code of upb
|
||||
|
||||
%description source
|
||||
μpb (often written 'upb') is a small protobuf implementation written in C.
|
||||
|
||||
upb generates a C API for creating, parsing, and serializing messages as
|
||||
declared in .proto files. upb is heavily arena-based: all messages always live
|
||||
in an arena (note: the arena can live in stack or static memory if desired).
|
||||
|
||||
This package provides source code of upb.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{src_install_dir}
|
||||
cp -r * %{buildroot}%{src_install_dir}
|
||||
%fdupes %{buildroot}%{src_install_dir}
|
||||
|
||||
%files source
|
||||
%{src_install_dir}
|
||||
|
||||
%changelog
|
||||
* Mon Apr 7 2025 fuanan <fuanan3@h-partners.com> - 455cfdb8ae60a1763e6d924e36851c6897a781bb-1
|
||||
- package init
|
||||
Loading…
x
Reference in New Issue
Block a user