2024-01-06 10:33:25 +01:00
|
|
|
Name: protobuf-c
|
2024-01-06 10:33:25 +01:00
|
|
|
Version: 1.5.0
|
2024-09-18 15:38:00 +02:00
|
|
|
Release: 2mamba
|
2024-01-06 10:33:25 +01:00
|
|
|
Summary: A C implementation of the Google Protocol Buffers data serialization format
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/protobuf-c
|
|
|
|
Source: https://github.com/protobuf-c/protobuf-c.git/v%{version}/protobuf-c-%{version}.tar.bz2
|
2024-09-18 15:38:00 +02:00
|
|
|
Patch0: protobuf-c-1.5.0-protobuf-26.patch
|
2024-01-06 10:33:25 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-09-18 15:38:00 +02:00
|
|
|
BuildRequires: libabseil-cpp-devel
|
2024-01-06 10:33:25 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libprotobuf-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-09-18 15:38:00 +02:00
|
|
|
BuildRequires: libprotobuf-devel >= 28.1
|
2024-01-06 10:33:25 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Protobuf-c is a C implementation of the Google Protocol Buffers data serialization format. It includes libprotobuf-c, a pure C library that implements protobuf encoding and decoding, and protoc-c, a code generator that converts Protocol Buffer .proto files to C descriptor code, based on the original protoc. protobuf-c formerly included an RPC implementation; that code has been split out into the protobuf-c-rpc project.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: A C implementation of the Google Protocol Buffers data serialization format
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
Protobuf-c is a C implementation of the Google Protocol Buffers data serialization format. It includes libprotobuf-c, a pure C library that implements protobuf encoding and decoding, and protoc-c, a code generator that converts Protocol Buffer .proto files to C descriptor code, based on the original protoc. protobuf-c formerly included an RPC implementation; that code has been split out into the protobuf-c-rpc project.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-09-18 15:38:00 +02:00
|
|
|
%patch 0 -p1 -b .protobuf-26
|
|
|
|
|
2024-01-06 10:33:25 +01:00
|
|
|
./autogen.sh
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libprotobuf-c.so.*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/protoc-c
|
|
|
|
%{_bindir}/protoc-gen-c
|
|
|
|
%dir %{_includedir}/google/protobuf-c
|
|
|
|
%{_includedir}/google/protobuf-c/protobuf-c.h
|
|
|
|
%dir %{_includedir}/protobuf-c
|
|
|
|
%{_includedir}/protobuf-c/protobuf-c.h
|
|
|
|
%{_includedir}/protobuf-c/protobuf-c.proto
|
|
|
|
%{_libdir}/libprotobuf-c.a
|
|
|
|
%{_libdir}/libprotobuf-c.so
|
|
|
|
%{_libdir}/pkgconfig/libprotobuf-c.pc
|
2024-01-06 10:33:25 +01:00
|
|
|
%doc CHANGELOG.md README.md TODO
|
2024-01-06 10:33:25 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-09-18 15:38:00 +02:00
|
|
|
* Wed Sep 18 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-2mamba
|
|
|
|
- rebuilt with protobuf 28.1
|
|
|
|
|
2024-01-06 10:33:25 +01:00
|
|
|
* Fri Dec 01 2023 Automatic Build System <autodist@mambasoft.it> 1.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:25 +01:00
|
|
|
* Tue Jul 12 2022 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:25 +01:00
|
|
|
* Thu Jun 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- package created using the webbuild interface
|