Compare commits
21 Commits
3.12.0-1ma
...
21.8-1mamb
Author | SHA1 | Date | |
---|---|---|---|
1b02d0b91b | |||
3c2e85a5a2 | |||
12dd519dad | |||
3e3508d1d0 | |||
b5af356e0d | |||
1a8ef2dd99 | |||
1967ae71c0 | |||
f9e3381e22 | |||
af6236959d | |||
6ec5dbbbd7 | |||
52bacd420f | |||
133b81e59b | |||
a4129f2afb | |||
0711832d78 | |||
62c802163d | |||
6403cfc9b0 | |||
e70a9c4023 | |||
89c6fc0ded | |||
b750ab6d66 | |||
b7d84eea44 | |||
414e064ebe |
143
protobuf.spec
143
protobuf.spec
@ -1,19 +1,18 @@
|
||||
Name: protobuf
|
||||
Version: 3.12.0
|
||||
Version: 21.8
|
||||
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/
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/protocolbuffers/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: libpython3-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
@ -34,19 +33,28 @@ This package contains shared libraries for %{name}.
|
||||
Summary: Devel package for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Provides: protobuf-devel
|
||||
Obsoletes: protobuf-devel
|
||||
Obsoletes: protobuf-devel < 3.17.0
|
||||
|
||||
%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 \
|
||||
@ -54,10 +62,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 "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
@ -79,14 +100,116 @@ LDFLAGS="-latomic"
|
||||
%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
|
||||
|
||||
%files -n python-%{name} -f python/%{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
%dir %{python3_sitearch}/protobuf-*-py*.egg-info
|
||||
%{python3_sitearch}/protobuf-*-py*.egg-info/*
|
||||
|
||||
%changelog
|
||||
* Thu Oct 20 2022 Automatic Build System <autodist@mambasoft.it> 21.8-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Sep 30 2022 Automatic Build System <autodist@mambasoft.it> 21.7-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Sep 17 2022 Automatic Build System <autodist@mambasoft.it> 21.6-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Aug 10 2022 Automatic Build System <autodist@mambasoft.it> 21.5-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jul 26 2022 Automatic Build System <autodist@mambasoft.it> 21.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* 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
|
||||
|
||||
* Sat Apr 23 2022 Automatic Build System <autodist@mambasoft.it> 3.20.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Jan 29 2022 Automatic Build System <autodist@mambasoft.it> 3.19.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jan 13 2022 Automatic Build System <autodist@mambasoft.it> 3.19.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* 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
|
||||
|
||||
* Wed Jun 09 2021 Automatic Build System <autodist@mambasoft.it> 3.17.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jun 03 2021 Automatic Build System <autodist@mambasoft.it> 3.17.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue May 25 2021 Automatic Build System <autodist@mambasoft.it> 3.17.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* 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
|
||||
|
||||
* Sun May 09 2021 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Apr 09 2021 Automatic Build System <autodist@mambasoft.it> 3.15.8-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* 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
|
||||
|
||||
|
Reference in New Issue
Block a user