Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding code to create protobuf 2.4.1 RPM for 64bit centos

  • Loading branch information...
commit d48d1d0de4cd0c26ceda041b87fe2c763daad61d 1 parent 8e2241e
@jseidman authored
View
BIN  rpm/src/centos5.5/x86_64/protobuf2.4.1/SOURCES/protobuf-2.4.1.tar.gz
Binary file not shown
View
33 rpm/src/centos5.5/x86_64/protobuf2.4.1/SPECS/protobuf24.spec
@@ -0,0 +1,33 @@
+%define _topdir /home/jseidman/protobuf
+%define name protobuf
+%define release 1
+%define version 2.4.1
+%define buildroot %{_topdir}/%{name}-%{version}-root
+
+BuildRoot: %{buildroot}
+Summary: Google Protocol Buffers
+License: GPL
+Name: %{name}
+Version: %{version}
+Release: %{release}
+Source: %{name}-%{version}.tar.gz
+Prefix: /usr/local
+Group: Development/Tools
+
+%description
+
+%prep
+%setup -q
+
+%build
+./configure
+make
+
+%install
+make install prefix=$RPM_BUILD_ROOT/usr/local
+
+%files
+%defattr(-,root,root)
+/usr/local/lib
+/usr/local/include/google/protobuf/
+/usr/local/bin
View
3  rpm/src/centos5.5/x86_64/protobuf2.4.1/rpmbuild_protobuf.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+rpmbuild -v -bb --clean SPECS/protobuf24.spec
Please sign in to comment.
Something went wrong with that request. Please try again.