All of lore.kernel.org
 help / color / mirror / Atom feed
* ceph.spec for Centos 5
@ 2010-05-27 11:44 Thomas Mueller
  2010-05-27 21:26 ` Sage Weil
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Mueller @ 2010-05-27 11:44 UTC (permalink / raw)
  To: ceph-devel

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ceph.spec for Centos 5
  2010-05-27 11:44 ceph.spec for Centos 5 Thomas Mueller
@ 2010-05-27 21:26 ` Sage Weil
  2010-05-28  8:13   ` Thomas Mueller
  2010-05-28  8:33   ` Thomas Mueller
  0 siblings, 2 replies; 5+ messages in thread
From: Sage Weil @ 2010-05-27 21:26 UTC (permalink / raw)
  To: Thomas Mueller; +Cc: ceph-devel

Hi Thomas,

On Thu, 27 May 2010, Thomas Mueller wrote:
> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ceph.spec for Centos 5
  2010-05-27 21:26 ` Sage Weil
@ 2010-05-28  8:13   ` Thomas Mueller
  2010-05-28  8:33   ` Thomas Mueller
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Mueller @ 2010-05-28  8:13 UTC (permalink / raw)
  To: ceph-devel

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

> Hi Thomas,
> 
> On Thu, 27 May 2010, Thomas Mueller wrote:
>> 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.

these new files needed to be included as well:

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ceph.spec for Centos 5
  2010-05-27 21:26 ` Sage Weil
  2010-05-28  8:13   ` Thomas Mueller
@ 2010-05-28  8:33   ` Thomas Mueller
  2010-05-28 20:56     ` Sage Weil
  1 sibling, 1 reply; 5+ messages in thread
From: Thomas Mueller @ 2010-05-28  8:33 UTC (permalink / raw)
  To: ceph-devel

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

> Hi Thomas,
> 
> On Thu, 27 May 2010, Thomas Mueller wrote:
>> 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. 

... 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: ceph.spec for Centos 5
  2010-05-28  8:33   ` Thomas Mueller
@ 2010-05-28 20:56     ` Sage Weil
  0 siblings, 0 replies; 5+ messages in thread
From: Sage Weil @ 2010-05-28 20:56 UTC (permalink / raw)
  To: Thomas Mueller; +Cc: ceph-devel

On Fri, 28 May 2010, Thomas Mueller wrote:
> Am Thu, 27 May 2010 14:26:38 -0700 schrieb Sage Weil:
> > 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-28 20:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-27 11:44 ceph.spec for Centos 5 Thomas Mueller
2010-05-27 21:26 ` Sage Weil
2010-05-28  8:13   ` Thomas Mueller
2010-05-28  8:33   ` Thomas Mueller
2010-05-28 20:56     ` Sage Weil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.