Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: e0c1cc34aa
Fetching contributors…

Cannot retrieve contributors at this time

56 lines (43 sloc) 1.5 kb
# BuildArch should be determined automatically. Use of setarch on x86-64
# platform will allow one to build ix86 only
# _revision, _release, and _version should be defined on the rpmbuild command
# line like so:
# --define "_version" --define "_release 7" \
# --define "_revision 0.9.1-19-abcdef"
Name: bitcask
Version: %{_version}
Release: %{_release}%{?dist}
License: GPLv2
Group: Development/Libraries
Vendor: Basho Technologies
Packager: Basho Support <>
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Summary: Because you need another a key/value storage engine
Because you need another a key/value storage engine
%define __prelink_undo_cmd /bin/cat prelink library
%setup -n %{name}-%{_revision}
mkdir %{name}
ERL_FLAGS="-smp enable" make
mkdir -p %{buildroot}%{_libdir}%{name}
#Copy all necessary lib files etc.
cp -r $RPM_BUILD_DIR/%{name}-%{_revision}/ebin %{buildroot}%{_libdir}%{name}
cp -r $RPM_BUILD_DIR/%{name}-%{_revision}/priv %{buildroot}%{_libdir}%{name}
# I don't see how the source is useful at the moment
#cp -r $RPM_BUILD_DIR/%{name}-%{_revision}/src %{buildroot}%{_libdir}%{name}
%dir %{_libdir}%{name}
rm -rf %{buildroot}
* Wed May 26 2010 Ryan Tilder <> 0.1-1
- Initial packaging
Jump to Line
Something went wrong with that request. Please try again.