Skip to contentSkip to conversation

ceph.spec for Centos 5

DISCUSSION Thomas Mueller 2 participants 5 messages May 27, 2010 – May 28, 2010

lore
Share & tools
lore
#0 lore raw

hi

i've took the ceph.spec from the 0.20.1 tar.gz and modified it to work with Centos 5.

i've sucessfully built/installed/uninstalled the package (but not tried to use it yet)

get the .spec file here:
http://pastebin.com/JBSBWUbB

- Thomas

#1 lore raw

Hi Thomas,

Quoted 10 lines · Thomas Mueller

hi

i've took the ceph.spec from the 0.20.1 tar.gz and modified it to work with Centos 5.

i've sucessfully built/installed/uninstalled the package (but not tried to use it yet)

get the .spec file here:
http://pastebin.com/JBSBWUbB

Thanks.

It looks like your changes are all RHEL <= 5, Fedora <= 9 specific, with the exception of the build-requires changes, which I've updated in git. If I'm missing something, let me know--I don't use the rpms myself. (The ceph.spec in git is what's being used for Fedora 13.)

sage

#2 lore raw

Am Thu, 27 May 2010 14:26:38 -0700 schrieb Sage Weil:

Quoted 11 lines

Hi Thomas,

Quoted 8 lines · Thomas Mueller

hi

i've took the ceph.spec from the 0.20.1 tar.gz and modified it to work with Centos 5.

i've sucessfully built/installed/uninstalled the package (but not tried to use it yet)

Quoted 7 lines
Quoted 2 lines

get the .spec file here:
http://pastebin.com/JBSBWUbB

Thanks.

It looks like your changes are all RHEL <= 5, Fedora <= 9 specific, with the exception of the build-requires changes, which I've updated in git.

these new files needed to be included as well:

%{_bindir}/dumpjournal
%{_bindir}/dupstore
%{_bindir}/radosacl
%{_bindir}/streamtest
%{_bindir}/test*

#3 lore raw
In reply to Sage Weil

Am Thu, 27 May 2010 14:26:38 -0700 schrieb Sage Weil:

Quoted 11 lines

Hi Thomas,

Quoted 8 lines · Thomas Mueller

hi

i've took the ceph.spec from the 0.20.1 tar.gz and modified it to work with Centos 5.

i've sucessfully built/installed/uninstalled the package (but not tried to use it yet)

Quoted 8 lines
Quoted 2 lines

get the .spec file here:
http://pastebin.com/JBSBWUbB

Thanks.

It looks like your changes are all RHEL <= 5, Fedora <= 9 specific, with the exception of the build-requires changes, which I've updated in git. If I'm missing something, let me know--I don't use the rpms myself.

... and it needs a "%configure" instead of "./autogen.sh" (IMHO ./ autogen.sh seems does not to call "./configure" as make tells me that the Makefile is not found - so maybe "%configure" is needed after autogen.sh for git versions)

- Thomas

#4 lore raw
Quoted 11 lines · Thomas Mueller

Am Thu, 27 May 2010 14:26:38 -0700 schrieb Sage Weil:

Quoted 5 lines

Thanks.

It looks like your changes are all RHEL <= 5, Fedora <= 9 specific, with the exception of the build-requires changes, which I've updated in git. If I'm missing something, let me know--I don't use the rpms myself.

... and it needs a "%configure" instead of "./autogen.sh" (IMHO ./ autogen.sh seems does not to call "./configure" as make tells me that the Makefile is not found - so maybe "%configure" is needed after autogen.sh for git versions)

Yeah, the version in git does both. ./autogen.sh is needed to generate the configure script from configure.ac before ./configure is run.

%build
./autogen.sh
%{configure} --without-hadoop --without-debug
make CFLAGS="$RPM_OPT_FLAGS"

sage