X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=kvstore%2Fkvstore.spec;fp=kvstore%2Fkvstore.spec;h=18bae9494ef7e97a533a6a8da520e4716fe9666f;hb=3c2cbef21a11c4d86952922f4da7b830a91423f9;hp=0000000000000000000000000000000000000000;hpb=db0d4c10ea7abfa2546f73e96784ebf554342977;p=bluesky.git diff --git a/kvstore/kvstore.spec b/kvstore/kvstore.spec new file mode 100644 index 0000000..18bae94 --- /dev/null +++ b/kvstore/kvstore.spec @@ -0,0 +1,33 @@ +Name: kvstore +Version: 0.1 +Release: 1 +Summary: A Simple kv store application +License: BSD +Group:System Environment/Base +Source0: http://salud.ucsd.edu/~jcm/scaling/kvstore-0.1.tar.gz +BuildRoot: %{_tmppath}/%{name}%{version}%{release}root%(%{__id_u} jcm) +BuildArch: x86_64 +Requires: boost protobuf db4 +BuildRequires: boost-devel gtest-devel protobuf-devel db4-devel + +%description + +Key Value Store with simple backend and google protocol buffer rpc. + +%prep +%setup -q + +%build +scons %{?_smp_mflags} + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{_bindir} +scons --prefix=%{buildroot} install + +%clean +scons -c + +%files +%defattr(-,root,root,-) +%{_bindir}/kvstore