2024-01-06 10:33:06 +01:00
|
|
|
Name: protobuf
|
2024-01-06 10:33:07 +01:00
|
|
|
Version: 21.5
|
2024-01-06 10:33:06 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 10:33:06 +01:00
|
|
|
Summary: A way of encoding structured data in an efficient yet extensible format
|
|
|
|
Group: Development/Tools
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 10:33:06 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:33:06 +01:00
|
|
|
URL: https://github.com/protocolbuffers/protobuf
|
2024-01-06 10:33:06 +01:00
|
|
|
Source: https://github.com/google/protobuf.git/v%{version}/protobuf-%{version}.tar.bz2
|
2024-01-06 10:33:06 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
2024-01-06 10:33:06 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 10:33:06 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:33:06 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 10:33:06 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats.
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
Protocol Buffers are a way of encoding structured data in an efficient yet extensible format. Google uses Protocol Buffers for almost all of its internal RPC protocols and file formats.
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
2024-01-06 10:33:06 +01:00
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
2024-01-06 10:33:06 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 10:33:06 +01:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 10:33:06 +01:00
|
|
|
Provides: protobuf-devel
|
2024-01-06 10:33:06 +01:00
|
|
|
Obsoletes: protobuf-devel < 3.17.0
|
2024-01-06 10:33:06 +01:00
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
%description -n lib%{name}-devel
|
2024-01-06 10:33:06 +01:00
|
|
|
This package contains static libraries and header files needed for development of Protocol Buffer
|
|
|
|
|
|
|
|
%package -n python-%{name}
|
|
|
|
Summary: Python bindings for %{name}
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n python-%{name}
|
|
|
|
This package contains the python bindings to %{protobuf} library.
|
2024-01-06 10:33:06 +01:00
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 10:33:06 +01:00
|
|
|
./autogen.sh
|
2024-01-06 10:33:06 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2024-01-06 10:33:06 +01:00
|
|
|
|
|
|
|
%make \
|
|
|
|
%ifarch arm
|
|
|
|
LDFLAGS="-latomic"
|
|
|
|
%endif
|
2024-01-06 10:33:06 +01:00
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
cd python
|
|
|
|
CFLAGS="%{optflags}" %{__python3} setup.py build
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
cd python
|
|
|
|
%{__python3} setup.py install \
|
|
|
|
-O1 --skip-build \
|
|
|
|
--root="%{buildroot}" \
|
|
|
|
--install-headers=%{python3_inc} \
|
|
|
|
--install-lib=%{python3_sitearch} \
|
|
|
|
--record=%{name}.filelist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 10:33:06 +01:00
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
2024-01-06 10:33:06 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/protoc
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
%files -n lib%{name}
|
2024-01-06 10:33:06 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:33:06 +01:00
|
|
|
%{_libdir}/libprotobuf*.so.*
|
|
|
|
%{_libdir}/libprotoc.so.*
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/google/protobuf
|
|
|
|
%{_includedir}/google/protobuf/*
|
|
|
|
%{_libdir}/libprotobuf*.a
|
|
|
|
%{_libdir}/libprotobuf*.la
|
|
|
|
%{_libdir}/libprotobuf*.so
|
|
|
|
%{_libdir}/libprotoc.a
|
|
|
|
%{_libdir}/libprotoc.la
|
|
|
|
%{_libdir}/libprotoc.so
|
|
|
|
%{_libdir}/pkgconfig/protobuf*.pc
|
2024-01-06 10:33:06 +01:00
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
%files -n python-%{name} -f python/%{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:33:07 +01:00
|
|
|
%dir %{python3_sitearch}/protobuf-*-py*.egg-info
|
|
|
|
%{python3_sitearch}/protobuf-*-py*.egg-info/*
|
2024-01-06 10:33:06 +01:00
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
%changelog
|
2024-01-06 10:33:07 +01:00
|
|
|
* Wed Aug 10 2022 Automatic Build System <autodist@mambasoft.it> 21.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:07 +01:00
|
|
|
* Tue Jul 26 2022 Automatic Build System <autodist@mambasoft.it> 21.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:07 +01:00
|
|
|
* Thu Jul 21 2022 Automatic Build System <autodist@mambasoft.it> 21.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 28 2022 Automatic Build System <autodist@mambasoft.it> 21.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun May 29 2022 Automatic Build System <autodist@mambasoft.it> 21.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:07 +01:00
|
|
|
* Sat Apr 23 2022 Automatic Build System <autodist@mambasoft.it> 3.20.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:07 +01:00
|
|
|
* Sat Jan 29 2022 Automatic Build System <autodist@mambasoft.it> 3.19.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:07 +01:00
|
|
|
* Thu Jan 13 2022 Automatic Build System <autodist@mambasoft.it> 3.19.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Thu Jan 06 2022 Automatic Build System <autodist@mambasoft.it> 3.19.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Oct 29 2021 Automatic Build System <autodist@mambasoft.it> 3.19.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Oct 21 2021 Automatic Build System <autodist@mambasoft.it> 3.19.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Oct 09 2021 Automatic Build System <autodist@mambasoft.it> 3.18.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 16 2021 Automatic Build System <autodist@mambasoft.it> 3.18.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Wed Jun 09 2021 Automatic Build System <autodist@mambasoft.it> 3.17.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Thu Jun 03 2021 Automatic Build System <autodist@mambasoft.it> 3.17.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Tue May 25 2021 Automatic Build System <autodist@mambasoft.it> 3.17.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Sat May 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.17.0-2mamba
|
|
|
|
- libprotobuf-devel: require protobuf; python-protobuf: use distdeps; fixed url
|
|
|
|
|
|
|
|
* Fri May 14 2021 Automatic Build System <autodist@mambasoft.it> 3.17.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Sun May 09 2021 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Fri Apr 09 2021 Automatic Build System <autodist@mambasoft.it> 3.15.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Sat Apr 03 2021 Automatic Build System <autodist@mambasoft.it> 3.15.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Fri Mar 12 2021 Automatic Build System <autodist@mambasoft.it> 3.15.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Mar 06 2021 Automatic Build System <autodist@mambasoft.it> 3.15.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Mar 05 2021 Automatic Build System <autodist@mambasoft.it> 3.15.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Feb 26 2021 Automatic Build System <autodist@mambasoft.it> 3.15.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Feb 25 2021 Automatic Build System <autodist@mambasoft.it> 3.15.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 3.15.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Sun Jan 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.4-2mamba
|
|
|
|
- added python subpackage
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Thu Aug 06 2020 Automatic Build System <autodist@mambasoft.it> 3.12.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Wed Jul 01 2020 Automatic Build System <autodist@mambasoft.it> 3.12.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Wed Jun 03 2020 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Tue Mar 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.11.4-2mamba
|
|
|
|
- rebuilt with debug package
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Wed Feb 19 2020 Automatic Build System <autodist@mambasoft.it> 3.11.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Thu Feb 06 2020 Automatic Build System <autodist@mambasoft.it> 3.11.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Wed Jan 15 2020 Automatic Build System <autodist@mambasoft.it> 3.11.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Sat Dec 28 2019 Automatic Build System <autodist@mambasoft.it> 3.11.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Mon Oct 28 2019 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Wed Mar 13 2019 Automatic Build System <autodist@mambasoft.it> 3.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Sat Jan 05 2019 Automatic Build System <autodist@mambasoft.it> 3.6.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Tue Sep 04 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.6.1-1mamba
|
|
|
|
- update to 3.6.1
|
|
|
|
|
|
|
|
* Mon Aug 06 2018 Automatic Build System <autodist@mambasoft.it> 3.6.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Mar 25 2018 Automatic Build System <autodist@mambasoft.it> 3.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Jan 07 2018 Automatic Build System <autodist@mambasoft.it> 3.5.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Jan 02 2018 Automatic Build System <autodist@mambasoft.it> 3.5.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Fri Oct 27 2017 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 08 2017 Automatic Build System <autodist@mambasoft.it> 3.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Apr 14 2017 Automatic Build System <autodist@mambasoft.it> 3.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sun Feb 12 2017 Automatic Build System <autodist@mambasoft.it> 3.2.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Mon Oct 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-1mamba
|
|
|
|
- update to 3.1.0
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Wed Dec 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-2mamba
|
|
|
|
- rebuilt with gcc 5.3.0
|
|
|
|
|
2024-01-06 10:33:06 +01:00
|
|
|
* Mon Apr 01 2013 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Jul 11 2012 Automatic Build System <autodist@mambasoft.it> 2.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0-2mamba
|
|
|
|
- specfile fixes
|
|
|
|
|
|
|
|
* Fri Jan 29 2010 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2.3.0-1mamba
|
|
|
|
- package created by autospec
|