Line 24... |
Line 24... |
24 |
- change to the directory ~/pmbuild/SPEC and run the RPM build process excluding 'ssl' : "rpmbuild -bb coova-chilli.spec" (or rpmbuild -ba to create also the SRPMS)
|
24 |
- change to the directory ~/pmbuild/SPEC and run the RPM build process excluding 'ssl' : "rpmbuild -bb coova-chilli.spec" (or rpmbuild -ba to create also the SRPMS)
|
25 |
|
25 |
|
26 |
INFO : .spec modifications since Redhat RPM :
|
26 |
INFO : .spec modifications since Redhat RPM :
|
27 |
- add this 1st line : "%define _disable_ld_no_undefined 1" to avoid errors for unused variables
|
27 |
- add this 1st line : "%define _disable_ld_no_undefined 1" to avoid errors for unused variables
|
28 |
- for 64b version, add 2 lines with "lib64" directory on the section removing statics binaries (rm -rf $RPM_BUILD_ROOT/usr/lib/*.la)
|
28 |
- for 64b version, add 2 lines with "lib64" directory on the section removing statics binaries (rm -rf $RPM_BUILD_ROOT/usr/lib/*.la)
|
29 |
- remove from the archive the unused files for ALCASAR (wpad.dat, wwwdir, etc. via la directive '%exclude')
|
29 |
- remove from the archive the unuused files for ALCASAR (wpad.dat, wwwdir, etc. via la directive '%exclude')
|
- |
|
30 |
- change %make (deprecated) with %make_build and change %makeinstall (deprecated) with %make_install
|
30 |
|
31 |
|
31 |
**** For HAVP ****
|
32 |
**** For HAVP ****
|
32 |
- install the RPM of clamav-devel
|
33 |
- install the RPM of clamav-devel
|
33 |
- download, uncompress, and test the compilation of the last version of havp (./configure + make)
|
34 |
- download, uncompress, and test the compilation of the last version of havp (./configure + make)
|
34 |
- copy the tarball in ~/rpmbuild/SOURCES/. copy the patch file ("havp-init.diff") in ~/rpmbuil/SOURCE. Copy and adapt the .spec in ~/rpmbuid/SPEC
|
35 |
- copy the tarball in ~/rpmbuild/SOURCES/. copy the patch file ("havp-init.diff") in ~/rpmbuil/SOURCE. Copy and adapt the .spec in ~/rpmbuid/SPEC
|