Subversion Repositories ALCASAR

Compare Revisions

Ignore whitespace Rev 2969 → Rev 2987

/rpms/rpm-build-howto
9,6 → 9,7
 
This howto explains how to build RPM of these programs in order to keep the distribution clean
The compilation options are set in /etc/rpm/macro.d/*
The .spec & RPM can be test check with the tool "rpmlint"
 
**** Prepare the RPM creation structure ***
- upadate your system : urpmi --auto-update
30,7 → 31,7
- add this 1st line : "%define _disable_ld_no_undefined 1" to avoid errors for unused references (ld)
- add the line "automake --add-missing" before "make"
- for 64b version, add 2 lines with "lib64" directory on the section removing statics binaries (rm -rf $RPM_BUILD_ROOT/usr/lib/*.la)
- remove from the archive the unuused files for ALCASAR (wpad.dat, wwwdir, etc. via la directive '%exclude')
- remove from the archive the unused files for ALCASAR (wpad.dat, wwwdir, etc. via la directive '%exclude')
- change %make (deprecated) with %make_build and change %makeinstall (deprecated) with %make_install
 
**** For HAVP ****