diff --git a/README.md b/README.md index d9cb563..4afe181 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # protobuf +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. + diff --git a/protobuf.spec b/protobuf.spec new file mode 100644 index 0000000..e467aa4 --- /dev/null +++ b/protobuf.spec @@ -0,0 +1,82 @@ +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 +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 2.5.0-1mamba +- automatic version update by autodist + +* Wed Jul 11 2012 Automatic Build System 2.4.1-1mamba +- automatic version update by autodist + +* Thu Nov 11 2010 Silvan Calarco 2.3.0-2mamba +- specfile fixes + +* Fri Jan 29 2010 Ercole 'ercolinux' Carpanetto 2.3.0-1mamba +- package created by autospec