update to 3.1.0 [release 3.1.0-1mamba;Mon Oct 17 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 10:33:06 +01:00
parent 276fcce59e
commit af16c033a0

View File

@ -1,13 +1,14 @@
Name: protobuf
Version: 2.5.0
Release: 2mamba
Version: 3.1.0
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/
Source: http://protobuf.googlecode.com/files/protobuf-%{version}.tar.bz2
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,22 +17,34 @@ BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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.
%package devel
%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
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: protobuf-devel
Obsoletes: protobuf-devel
%description devel
%description -n lib%{name}-devel
This package contains static libraries and header files need for development of Protocol Buffer
%prep
%setup -q
%build
./autogen.sh
%configure
%make
@ -42,33 +55,35 @@ This package contains static libraries and header files need for development of
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/protoc
%{_libdir}/*.so.*
%doc README.txt
%files devel
%files -n lib%{name}
%defattr(-,root,root)
%dir %{_includedir}/google
%{_includedir}/google/protobuf/compiler/cpp/*.h
%{_includedir}/google/protobuf/*.proto
%{_includedir}/google/protobuf/compiler/*.h
%{_includedir}/google/protobuf/compiler/java/*.h
%{_includedir}/google/protobuf/compiler/*.proto
%{_includedir}/google/protobuf/compiler/python/*.h
%{_includedir}/google/protobuf/*.h
%{_includedir}/google/protobuf/io/*.h
%{_includedir}/google/protobuf/stubs/*.h
%{_libdir}/*.a
%{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_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
%changelog
* Mon Oct 17 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-1mamba
- update to 3.1.0
* Wed Dec 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-2mamba
- rebuilt with gcc 5.3.0