Compare commits
15 Commits
3.1.0-1mam
...
3.12.4-2ma
Author | SHA1 | Date | |
---|---|---|---|
b750ab6d66 | |||
b7d84eea44 | |||
414e064ebe | |||
f6a300ff03 | |||
eef2da202b | |||
6aa49e3860 | |||
b05f0fe911 | |||
bc57444132 | |||
c1b7976ad6 | |||
0d8baebf04 | |||
0bc202262f | |||
9458182eb6 | |||
ac8942abc3 | |||
ced0de493f | |||
a007596335 |
108
protobuf.spec
108
protobuf.spec
@ -1,6 +1,6 @@
|
||||
Name: protobuf
|
||||
Version: 3.1.0
|
||||
Release: 1mamba
|
||||
Version: 3.12.4
|
||||
Release: 2mamba
|
||||
Summary: A way of encoding structured data in an efficient yet extensible format
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
@ -8,7 +8,6 @@ Distribution: openmamba
|
||||
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
||||
URL: http://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
|
||||
@ -16,6 +15,7 @@ BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: python3
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
@ -38,20 +38,47 @@ 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
|
||||
|
||||
%make \
|
||||
%ifarch arm
|
||||
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}"
|
||||
|
||||
@ -80,7 +107,76 @@ This package contains static libraries and header files need for development of
|
||||
%{_libdir}/libprotoc.so
|
||||
%{_libdir}/pkgconfig/protobuf*.pc
|
||||
|
||||
%files -n python-%{name} -f python/%{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Mon Oct 28 2019 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Mar 13 2019 Automatic Build System <autodist@mambasoft.it> 3.7.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Jan 05 2019 Automatic Build System <autodist@mambasoft.it> 3.6.1.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* 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
|
||||
|
||||
* 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
|
||||
|
||||
* Mon Oct 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-1mamba
|
||||
- update to 3.1.0
|
||||
|
||||
|
Reference in New Issue
Block a user