This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

error log

By: a guest on Jun 10th, 2010  |  syntax: None  |  size: 5.16 KB  |  views: 57  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #!/bin/sh
  2.  
  3.   RPM_SOURCE_DIR="/home/roved/src/rpm/SOURCES"
  4.   RPM_BUILD_DIR="/home/roved/src/rpm/BUILD"
  5.   RPM_OPT_FLAGS="-O2  -pipe -Wp,-D_FORTIFY_SOURCE=2 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables"
  6.   RPM_ARCH="i386"
  7.   RPM_OS="linux"
  8.   export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
  9.   RPM_DOC_DIR="/usr/share/doc"
  10.   export RPM_DOC_DIR
  11.   RPM_PACKAGE_NAME="system-config-printer"
  12.   RPM_PACKAGE_VERSION="1.2.0"
  13.   RPM_PACKAGE_RELEASE="1pclos2010"
  14.   export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
  15.   RPM_BUILD_ROOT="/home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot"
  16.   export RPM_BUILD_ROOT
  17.  
  18.   unset PERL_MM_OPT
  19.   LANG=C
  20.   export LANG
  21.   unset DISPLAY
  22.  
  23.   set -x
  24.   umask 022
  25.   cd /home/roved/src/rpm/BUILD
  26. cd system-config-printer-1.2.0
  27. [           1      -eq 1 ] || exit 0
  28.  
  29.  
  30. desktop-file-install \
  31.  --vendor="" \
  32.  --add-category="X-MandrivaLinux-MoreApplications-Printing" \
  33.  --dir /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/share/applications \
  34. /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/share/applications/system-config-printer.desktop
  35. rm -rf /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot
  36. make DESTDIR=/home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot install
  37.  
  38. mkdir -p /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot%{_mozillaextpath}
  39. mkdir -p /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/lib/python2.5/site-packages
  40. mkdir -p /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/bin
  41. cp -f hp-makeuri-mdv /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/bin
  42. # Make sure pyc files are generated, otherwise we can get
  43. # difficult to debug problems
  44. pushd /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/share/system-config-printer
  45. python -m compileall .
  46. popd
  47. mkdir -p /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/lib/python2.5/site-packages
  48. cp -fv /home/roved/src/rpm/SOURCES/mdv_printer_custom.py /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/lib/python2.5/site-packages
  49. pushd /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/lib/python2.5/site-packages
  50. python -m compileall .
  51. popd
  52.  
  53. /bin/mkdir -p /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/var/lib/run/udev-configure-printer
  54. touch /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/var/lib/run/udev-configure-printer/usb-uris
  55. /bin/mkdir -p /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/lib/cups/backend
  56. cp -f /home/roved/src/rpm/SOURCES/mdv_backend /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/lib/cups/backend
  57.  
  58. # Install udev rules for letting backends access the printer devices.  Once
  59. # CUPS runs backends as group 'lp', instead of 'sys, we may remove this.
  60. mkdir -p /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/etc/udev/rules.d
  61. install -m 644 /home/roved/src/rpm/SOURCES/69-printers_lp_user_fix.rules /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/etc/udev/rules.d/
  62.  
  63.  
  64.  
  65. mkdir -p /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/bin
  66. mkdir -p /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/sbin
  67. mkdir -p /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/etc/pam.d
  68. mkdir -p /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/etc/security/console.apps
  69. install -p -m0644 /home/roved/src/rpm/SOURCES/system-config-printer.pam /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/etc/pam.d/system-config-printer
  70. install -p -m0644 /home/roved/src/rpm/SOURCES/system-config-printer.console /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/etc/security/console.apps/system-config-printer
  71. mv /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/bin/system-config-printer /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/sbin/system-config-printer
  72. ln -s consolehelper /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot/usr/bin/system-config-printer
  73.  
  74.  
  75. /usr/lib/rpm/mandriva/find-lang.sh /home/roved/src/rpm/tmp/system-config-printer-1.2.0-buildroot system-config-printer
  76.  
  77.  
  78.    
  79.    
  80.    
  81.    
  82.         [ -n "$DONT_CLEANUP" ]       || /usr/share/spec-helper/clean_files
  83.            [ -n "$DONT_COMPRESS" ]      || /usr/share/spec-helper/compress_files .bz2
  84.              [ -n "$DONT_RELINK" ]        || /usr/share/spec-helper/relink_symlinks
  85.        [ -n "$DONT_CLEAN_PERL" ]    || /usr/share/spec-helper/clean_perl
  86.       [ -n "$DONT_SYMLINK_LIBS" ]  || /usr/share/spec-helper/lib_symlinks
  87.           [ -n "$DONT_GPRINTIFY" ]     || /usr/share/spec-helper/gprintify
  88.              [ -n "$DONT_FIX_MO" ]        || /usr/share/spec-helper/fix_mo
  89.      [ -n "$DONT_TRANSLATE_MENU" ] || /usr/share/spec-helper/translate_menu
  90.            [ -n "$DONT_FIX_PAMD_CONFIGS" ] || /usr/share/spec-helper/fix_pamd
  91.      [ -n "$DONT_REMOVE_INFO_DIR" ] || /usr/share/spec-helper/remove_info_dir
  92.              [ -n "$DONT_FIX_EOL" ]        || /usr/share/spec-helper/fix_eol
  93.     DONT_STRIP="$DONT_STRIP" /usr/share/spec-helper/strip_and_check_elf_files
clone this paste RAW Paste Data