83 lines
2.4 KiB
RPMSpec
83 lines
2.4 KiB
RPMSpec
|
Name: protobuf
|
||
|
Version: 2.5.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
|
||
|
License: BSD
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: libz-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
|
||
|
%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
|
||
|
Summary: Devel package for %{name}
|
||
|
Group: Development/Libraries
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description devel
|
||
|
This package contains static libraries and header files need for development of Protocol Buffer
|
||
|
|
||
|
%prep
|
||
|
%setup -q
|
||
|
|
||
|
%build
|
||
|
%configure
|
||
|
%make
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%makeinstall
|
||
|
|
||
|
%clean
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
|
||
|
%post -p /sbin/ldconfig
|
||
|
%postun -p /sbin/ldconfig
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
%{_bindir}/protoc
|
||
|
%{_libdir}/*.so.*
|
||
|
%doc README.txt
|
||
|
|
||
|
%files devel
|
||
|
%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
|
||
|
|
||
|
%changelog
|
||
|
* 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
|