Skip to content

Commit

Permalink
ceph.spec: don't package gceph
Browse files Browse the repository at this point in the history
Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
Sage Weil committed May 18, 2012
1 parent f943f34 commit a586bdf
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions ceph.spec.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
%define with_gtk2 %{?_with_gtk2: 1} %{!?_with_gtk2: 0}

%bcond_with ocf
# it seems there is no usable tcmalloc rpm for x86_64; parts of
# google-perftools don't compile on x86_64, and apparently the
Expand Down Expand Up @@ -118,18 +116,6 @@ obsync is a tool to synchronize objects between cloud object
storage providers, such as Amazon S3 (or compatible services), a
Ceph RADOS cluster, or a local directory.

%if %{with_gtk2}
%package gcephtool
Summary: Ceph graphical monitoring tool
Group: System Environment/Base
License: LGPLv2
Requires: gtk2 gtkmm24
BuildRequires: gtk2-devel gtkmm24-devel
%description gcephtool
gcephtool is a graphical monitor for the clusters running the Ceph distributed
file system.
%endif

%if %{with ocf}
%package resource-agents
Summary: OCF-compliant resource agents for Ceph daemons
Expand Down Expand Up @@ -200,12 +186,6 @@ MY_CONF_OPT=""

MY_CONF_OPT="$MY_CONF_OPT --with-radosgw"

%if %{with_gtk2}
MY_CONF_OPT="$MY_CONF_OPT --with-gtk2"
%else
MY_CONF_OPT="$MY_CONF_OPT --without-gtk2"
%endif

export RPM_OPT_FLAGS=`echo $RPM_OPT_FLAGS | sed -e 's/i386/i486/'`

# be explicit about --with/without-tcmalloc because the
Expand Down Expand Up @@ -403,14 +383,6 @@ fi
%insserv_cleanup
%endif

#################################################################################
%if %{with_gtk2}
%files gcephtool
%defattr(-,root,root,-)
%{_bindir}/gceph
%{_datadir}/ceph_tool/gui_resources/*
%endif

#################################################################################
%if %{with ocf}
%files resource-agents
Expand Down

0 comments on commit a586bdf

Please sign in to comment.