Compare commits

...

11 Commits

Author SHA1 Message Date
e70a9c4023 automatic version update by autodist [release 3.15.7-1mamba;Sat Apr 03 2021] 2024-01-06 10:33:06 +01:00
89c6fc0ded automatic version update by autodist [release 3.15.6-1mamba;Fri Mar 12 2021] 2024-01-06 10:33:06 +01:00
b750ab6d66 added python subpackage [release 3.12.4-2mamba;Sun Jan 31 2021] 2024-01-06 10:33:06 +01:00
b7d84eea44 automatic version update by autodist [release 3.12.4-1mamba;Thu Aug 06 2020] 2024-01-06 10:33:06 +01:00
414e064ebe automatic version update by autodist [release 3.12.3-1mamba;Wed Jul 01 2020] 2024-01-06 10:33:06 +01:00
f6a300ff03 automatic version update by autodist [release 3.12.0-1mamba;Wed Jun 03 2020] 2024-01-06 10:33:06 +01:00
eef2da202b rebuilt with debug package [release 3.11.4-2mamba;Tue Mar 03 2020] 2024-01-06 10:33:06 +01:00
6aa49e3860 automatic version update by autodist [release 3.11.4-1mamba;Wed Feb 19 2020] 2024-01-06 10:33:06 +01:00
b05f0fe911 automatic version update by autodist [release 3.11.3-1mamba;Thu Feb 06 2020] 2024-01-06 10:33:06 +01:00
bc57444132 automatic version update by autodist [release 3.11.2-1mamba;Wed Jan 15 2020] 2024-01-06 10:33:06 +01:00
c1b7976ad6 automatic version update by autodist [release 3.11.1-1mamba;Sat Dec 28 2019] 2024-01-06 10:33:06 +01:00

View File

@ -1,21 +1,20 @@
Name: protobuf
Version: 3.10.1
Version: 3.15.7
Release: 1mamba
Summary: A way of encoding structured data in an efficient yet extensible format
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://code.google.com/p/protobuf/
URL: https://code.google.com/p/protobuf/
Source: https://github.com/google/protobuf.git/v%{version}/protobuf-%{version}.tar.bz2
#Source: http://protobuf.googlecode.com/files/protobuf-%{version}.tar.bz2
License: BSD
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
BuildRequires: python3
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
@ -38,13 +37,23 @@ Provides: protobuf-devel
Obsoletes: protobuf-devel
%description -n lib%{name}-devel
This package contains static libraries and header files need for development of Protocol Buffer
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.
%debug_package
%prep
%setup -q
./autogen.sh
%build
./autogen.sh
%configure
%make \
@ -52,10 +61,23 @@ This package contains static libraries and header files need for development of
LDFLAGS="-latomic"
%endif
cd python
CFLAGS="%{optflags}" %{__python3} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
cd python
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python3_inc} \
--install-lib=%{python3_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -84,7 +106,58 @@ LDFLAGS="-latomic"
%{_libdir}/libprotoc.so
%{_libdir}/pkgconfig/protobuf*.pc
%files -n python-%{name} -f python/%{name}.filelist
%defattr(-,root,root)
%changelog
* Sat Apr 03 2021 Automatic Build System <autodist@mambasoft.it> 3.15.7-1mamba
- automatic version update by autodist
* 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
* Sun Jan 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12.4-2mamba
- added python subpackage
* Thu Aug 06 2020 Automatic Build System <autodist@mambasoft.it> 3.12.4-1mamba
- automatic version update by autodist
* Wed Jul 01 2020 Automatic Build System <autodist@mambasoft.it> 3.12.3-1mamba
- automatic version update by autodist
* Wed Jun 03 2020 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist
* Tue Mar 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.11.4-2mamba
- rebuilt with debug package
* Wed Feb 19 2020 Automatic Build System <autodist@mambasoft.it> 3.11.4-1mamba
- automatic version update by autodist
* Thu Feb 06 2020 Automatic Build System <autodist@mambasoft.it> 3.11.3-1mamba
- automatic version update by autodist
* Wed Jan 15 2020 Automatic Build System <autodist@mambasoft.it> 3.11.2-1mamba
- automatic version update by autodist
* Sat Dec 28 2019 Automatic Build System <autodist@mambasoft.it> 3.11.1-1mamba
- automatic version update by autodist
* Thu Nov 14 2019 Automatic Build System <autodist@mambasoft.it> 3.10.1-1mamba
- automatic version update by autodist