代码拉取完成,页面将自动刷新
Name: protobuf-c
Version: 1.5.2
Release: 1
Summary: This is protobuf-c, a C implementation of the Google Protocol Buffers data serialization format
License: BSD-2-Clause
URL: https://github.com/protobuf-c/protobuf-c
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
BuildRequires: autoconf automake libtool gcc-c++ pkgconfig(protobuf)
Provides: %{name}-compiler = %{version}-%{release}
Obsoletes: %{name}-compiler < %{version}-%{release}
%description
This is protobuf-c, a C implementation of the Google Protocol Buffers data serialization format.
%package devel
Summary: Development files for protobuf-c library
Requires: %{name} = %{version}-%{release} %{name}-compiler = %{version}-%{release}
%description devel
Protobuf-c-devel contains development files for protobuf-c.
%prep
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -ifv
%configure --disable-static
%make_build
%check
make check
%install
%make_install
%delete_la
%ldconfig_scriptlets
%files
%doc TODO LICENSE
%{_libdir}/libprotobuf-c.so.*
%{_bindir}/{protoc-c,protoc-gen-c}
%files devel
%dir %{_includedir}/google
%{_includedir}/{google/protobuf-c/,protobuf-c/}
%{_libdir}/{libprotobuf-c.so,pkgconfig/libprotobuf-c.pc}
%changelog
* Tue Sep 23 2025 kkz <zhaoshuang@uniontech.com> - 1.5.2-1
- upgrade to 1.5.2-1
* Tue Feb 27 2024 liuchao <liuchao173.huawei.com> - 1.4.1-1
- downgrade to 1.4.1 to match the 24.03 LTS's minimum set of core packages
* Wed Jan 24 2024 liuchao <liuchao173.huawei.com> - 1.5.0-1
- upgrade to 1.5.0:
- Makefile.am: change link order
- GitHub actions fail on Windows due to missing unzip command
- Export and install CMake targets
- Use CMAKE_CURRENT_BINARY_DIR instead of CMAKE_BINARY_DIR
- remove deprecated functionality
- Avoid "unused variable" compiler warning
- Update autotools
- Support for new Google protobuf 22.x, 23.x releases
- Miscellaneous fixes
- Remove protobuf 2.x support
- Silence some compiler diagnostics
- Fixing MSVC build for Msbuild and Makefile generators
* Thu Feb 2 2023 zhoujie<zhoujie133@huawei.com> - 1.4.1-1
- Type:upgrade
- CVE:NA
- SUG:NA
- DESC:upgrade to 1.4.1-1
* Sat Jan 7 2023 mengwenhua<mengwenhua@xfusion.com> - 1.4.0-4
- Type:bugfix
- CVE:NA
- SUG:NA
- DESC:fix unsigned integer overflow
* Mon Jul 4 2022 dengyuyu <yuyu.deng@epro.com.cn> - 1.4.0-3
- fix CVE-2022-33070
* Tue May 10 2022 Ge Wang <wangge20@h-partner.com> - 1.4.0-2
- License compliance rectification
* Thu Dec 02 2021 wujing <wujing50@huawei.com> - 1.4.0-1
- Type:upgrade
- ID:NA
- SUG:NA
- DESC: upgrade to 1.4.0-1
* Fri Feb 14 2020 Senlin Xia <xiasenlin1@huawei.com> - 1.3.2-2
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。