2024-01-06 10:33:06 +01:00
|
|
|
Name: protobuf
|
2024-01-06 10:33:06 +01:00
|
|
|
Version: 3.1.0
|
|
|
|
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
|
|
|
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
|
|
|
URL: http://code.google.com/p/protobuf/
|
2024-01-06 10:33:06 +01:00
|
|
|
Source: https://github.com/google/protobuf.git/v%{version}/protobuf-%{version}.tar.bz2
|
|
|
|
#Source: http://protobuf.googlecode.com/files/protobuf-%{version}.tar.bz2
|
2024-01-06 10:33:06 +01:00
|
|
|
License: BSD
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
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}
|
|
|
|
Provides: protobuf-devel
|
|
|
|
Obsoletes: protobuf-devel
|
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 need for development of Protocol Buffer
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2024-01-06 10:33:06 +01:00
|
|
|
./autogen.sh
|
2024-01-06 10:33:06 +01:00
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
%changelog
|
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
|