199 --with-working-dir=%{l_prefix}/var/bacula \ |
199 --with-working-dir=%{l_prefix}/var/bacula \ |
200 --with-pid-dir=%{l_prefix}/var/bacula/run \ |
200 --with-pid-dir=%{l_prefix}/var/bacula/run \ |
201 --with-subsys-dir=%{l_prefix}/var/bacula/run/subsys \ |
201 --with-subsys-dir=%{l_prefix}/var/bacula/run/subsys \ |
202 --with-archivedir=/tmp \ |
202 --with-archivedir=/tmp \ |
203 --with-sbin-perm=0755 \ |
203 --with-sbin-perm=0755 \ |
204 --disable-shared \ |
204 --disable-libtool \ |
205 --disable-nls |
205 --disable-nls |
206 |
206 |
207 # build |
207 # build |
208 %{l_make} %{l_mflags -O} |
208 %{l_make} %{l_mflags -O} |
209 |
209 |
233 ( cd $RPM_BUILD_ROOT%{l_prefix}/libexec/bacula && |
233 ( cd $RPM_BUILD_ROOT%{l_prefix}/libexec/bacula && |
234 for unwanted in bconsole startmysql stopmysql; do |
234 for unwanted in bconsole startmysql stopmysql; do |
235 rm -f $unwanted |
235 rm -f $unwanted |
236 done |
236 done |
237 ) || exit $? |
237 ) || exit $? |
|
238 ( cd $RPM_BUILD_ROOT%{l_prefix}/man/man1 |
|
239 rm -f bacula-bwxconsole.1 bacula-tray-monitor.1 bat.1 |
|
240 ) || exit $? |
238 |
241 |
239 # install additional files |
242 # install additional files |
240 %{l_shtool} install -c -m 754 %{l_value -s -a} \ |
243 %{l_shtool} install -c -m 754 %{l_value -s -a} \ |
241 %{SOURCE bexec.sh} $RPM_BUILD_ROOT%{l_prefix}/libexec/bacula/bexec |
244 %{SOURCE bexec.sh} $RPM_BUILD_ROOT%{l_prefix}/libexec/bacula/bexec |
242 |
245 |