mirror of
https://github.com/ceph/ceph
synced 2024-12-27 14:03:25 +00:00
beb2fb9588
No packages for radosgw or libcrush/ceph/rados, though.
84 lines
2.2 KiB
RPMSpec
84 lines
2.2 KiB
RPMSpec
%define pkg_version @VERSION@
|
|
# Build against the running kernel - this can be changed to whatever kernel version you want to build against.
|
|
%define kernel %(uname -r)
|
|
# Get the kernel version that is running, but chop off the architecture part (e.g. 2.6.25.10-86.fc9.x86_64 goes to 2.6.25.10-86.fc9)
|
|
%define mybuildroot %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
%define optflags "-O2"
|
|
|
|
Name: ceph
|
|
Version: %{pkg_version}
|
|
Release: 1%{?dist}
|
|
Packager: Brock Erwin <brock.erwin@pnl.gov>
|
|
Summary: ceph mon, mds, osd, fuse-client, and kernel-client
|
|
License: LGPL
|
|
Group: Utilities/System
|
|
URL: http://ceph.newdream.net/
|
|
Source: %{name}-%{pkg_version}.tar.gz
|
|
BuildRequires: fuse-devel, gcc-c++, libtool, libtool-ltdl-devel, boost-devel, libedit-devel, fuse-devel, git, perl, perl-devel, gdbm
|
|
BuildRoot: %{mybuildroot}
|
|
|
|
%description
|
|
Ceph is a distributed network file system designed to provide excellent
|
|
performance, reliability, and scalability.
|
|
|
|
%package fuse
|
|
Summary: ceph fuse-based client
|
|
Group: Utilities/System
|
|
Requires: libstdc++, glibc-devel, glibc, libgcc, fuse-devel
|
|
%description fuse-client
|
|
fuse-based client
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{pkg_version}
|
|
|
|
%build
|
|
./autogen.sh
|
|
%{configure}
|
|
make %{_smp_mflags}
|
|
|
|
%install
|
|
%{makeinstall}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/ceph
|
|
mkdir -p $RPM_BUILD_ROOT/etc/ceph
|
|
mkdir -l $RPM_BUILD_ROOT%{_libdir}/ceph
|
|
install README $RPM_BUILD_ROOT/usr/share/ceph
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
/usr/share/ceph/README
|
|
%{_bindir}/ceph
|
|
%{_bindir}/cconf
|
|
%{_bindir}/crushtool
|
|
%{_bindir}/monmaptool
|
|
%{_bindir}/osdmaptool
|
|
%{_bindir}/csyn
|
|
%{_bindir}/crun
|
|
%{_bindir}/cmon
|
|
%{_bindir}/cmds
|
|
%{_bindir}/cosd
|
|
%{_bindir}/mkmonfs
|
|
%{_sbindir}/mount.ceph
|
|
%{_sbindir}/mkcephfs
|
|
%{_libdir}/ceph/ceph_common.sh
|
|
/etc/ceph/sample.ceph.conf
|
|
%{_mandir}/man8/cmon.8
|
|
%{_mandir}/man8/cmds.8
|
|
%{_mandir}/man8/cosd.8
|
|
%{_mandir}/man8/mkcephfs.8
|
|
%{_mandir}/man8/mkmonfs.8
|
|
%{_mandir}/man8/crun.8
|
|
%{_mandir}/man8/csyn.8
|
|
%{_mandir}/man8/crushtool.8
|
|
%{_mandir}/man8/osdmaptool.8
|
|
%{_mandir}/man8/monmaptool.8
|
|
%{_mandir}/man8/cconf.8
|
|
%{_mandir}/man8/ceph.8
|
|
%{_mandir}/man8/mount.ceph.8
|
|
|
|
%files fuse
|
|
%{_bindir}/cfuse
|
|
%{_mandir}/man8/cfuse.8
|