remove leveldb from master branch

Since we now build against system leveldb and no longer
against a git submodule, drop the submodule from git master.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit 8162215d7e3f682dae1ff9d82ffc56cf1a124e8b)
add src/leveldb to .gitignore

Add src/leveldb to .gitignore in master, since the directory
may get checked out by older branches. Ignore it since it's not
needed in master.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit 83dbaf656bd3dc473c72efda0ad075ec7036051d)

Conflicts:
	src/.gitignore
configure.ac: check for libsnappy

Since libsnappy is needed by leveldb, check if the lib is installed
before check for leveldb.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit 37d148ba914876336b35823d3ba08daec81f8124)
ceph.spec.in: fix leveldb handling

There is no need to add leveldb as 'Requires:'. The RPM build system
will find this dependency by itself.

Add leveldb-devel to BuildRequires: since this is what the package
really needs to build ceph correctly with libleveldb1.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit f811f727958b5bec6c8609b6f162a49ccc7fda01)
README: add leveldb-dev to package list needed for build

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit 2becb35aef9984c3e5e9e5395d0c98ed51a4a6a0)
debian/control: add libleveldb-dev to Build-Depends:

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit 43161532d680caa7a92d5f036beba8544c5803c1)
debian/control: fix Depends

Remove request for libleveldb1 version > 1.2. Every libleveldb1 package
should work, otherwise the SO name/version of the library should change.

Fixes: #3945

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit f42a63ba1b1ad7a0948b180bef0bb4a947633e98)
debian: let dpkg calculate the shlibs dep for leveldb (if any)

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit d9d075e976961799b1a641dd4d4cb0d328dfd971)