Subversion Repositories ALCASAR

Rev

Rev 2987 | Rev 3079 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2987 Rev 2990
Line 7... Line 7...
7
  - wkhtmltopdf (html to pdf renderer)
7
  - wkhtmltopdf (html to pdf renderer)
8
  - nfdump (collector & processor for netflow data)
8
  - nfdump (collector & processor for netflow data)
9
 
9
 
10
This howto explains how to build RPM of these programs in order to keep the distribution clean
10
This howto explains how to build RPM of these programs in order to keep the distribution clean
11
The compilation options are set in /etc/rpm/macro.d/*
11
The compilation options are set in /etc/rpm/macro.d/*
12
The .spec & RPM can be test check with the tool "rpmlint"
12
The .spec & RPM can be test with the tool "rpmlint"
13
 
13
 
14
****  Prepare the RPM creation structure ***
14
****  Prepare the RPM creation structure ***
15
- upadate your system : urpmi --auto-update
15
- upadate your system : urpmi --auto-update
16
- install the following RPMs : urpmi kernel-userspace-headers rpm-build gengetopt libtool
16
- install the following RPMs : urpmi kernel-userspace-headers rpm-build gengetopt libtool
17
- create directories structure in your home : mkdir -p ~/rpmbuild/{SRPMS,SOURCES,SPECS,tmp}
17
- create directories structure in your home : mkdir -p ~/rpmbuild/{SRPMS,SOURCES,SPECS,tmp}