Laca:
Thanks for the suggestions. I believe I implemented them as
you suggest. Here's the updated SUNWlibcanberra.spec file for
review.
Brian
> On Wed, 2008-09-03 at 16:08 -0500, Brian Cameron wrote:
>> glib-gettextize -f
>> libtoolize --copy --force
>> aclocal $ACLOCAL_FLAGS
>> autoheader
>> automake -a -c -f
>> autoconf
>
> Please set CFLAGS and LDFLAGS here to set the optimisation
> flags.
>
>> ./configure --prefix=%{_prefix} --mandir=%{_mandir} \
>> --libdir=%{_libdir} \
>> --libexecdir=%{_libexecdir} \
>> --sysconfdir=%{_sysconfdir}
>>
>> make -j$CPUS
>>
>> %install
>> rm -rf $RPM_BUILD_ROOT
>> make install DESTDIR=$RPM_BUILD_ROOT
>> rm $RPM_BUILD_ROOT%{_libdir}/*.a
>> rm $RPM_BUILD_ROOT%{_libdir}/*.la
>> rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.a
>> rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.la
>> rm $RPM_BUILD_ROOT%{_libdir}/libcanberra/*.a
>> rm $RPM_BUILD_ROOT%{_libdir}/libcanberra/*.la
>
> In most modules, you can use --disable-static to disable
> building the static libs. It saves a little build time.
>
> Laca
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SUNWlibcanberra.spec
URL:
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20080904/0ba01895/attachment.ksh>