xybin-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. Summary: A graphical program to install bootloader for NewWorld machines
  2. Summary(ja): X ベースのブートローダインストーラ (NewWorld 機用)
  3. Name: xybin
  4. Version: 1.56
  5. Release: 0vl1
  6. Copyright: distributable
  7. Group: X11/Utilities
  8. Source0: %{name}-%{version}.tar.bz2
  9. Source10: pdisk.20000516.src.tar
  10. Patch10: pdisk.20000516.jp.patch
  11. Patch11: list_all_disks.patch
  12. Requires: usermode, pam >= 0.72
  13. Requires: ruby, gtk+, ruby-gtk, ruby-libglade
  14. Requires: yaboot >= 1.3.6-0vl2
  15. Conflicts: vine-xinstaller < 4.1-0vl12
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  20. %description
  21. xybin is a graphical wrapper program to install yaboot bootloader onto
  22. small bootstrap partition for NewWorld PowerMac/PowerBooks.
  23. %description -l ja
  24. xybin は,NewWorld PowerMac/PowerBook 用ラッパープログラムで
  25. ブートストラップパーティションに yaboot をインストールします.
  26. %prep
  27. [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
  28. %setup -q -n %{name}-%{version} -a 10
  29. pushd pdisk
  30. %patch10 -p0
  31. %patch11 -p1
  32. popd
  33. %build
  34. pushd pdisk
  35. make list_all_disks
  36. popd
  37. %install
  38. mkdir -p ${RPM_BUILD_ROOT}/etc/pam.d
  39. mkdir -p ${RPM_BUILD_ROOT}/etc/security/console.apps
  40. mkdir -p ${RPM_BUILD_ROOT}/usr/bin
  41. mkdir -p ${RPM_BUILD_ROOT}/usr/sbin
  42. mkdir -p ${RPM_BUILD_ROOT}/usr/share/applications
  43. mkdir -p ${RPM_BUILD_ROOT}/usr/share/xybin
  44. mkdir -p ${RPM_BUILD_ROOT}/usr/share/pixmaps/xybin
  45. install -m 755 pdisk/list_all_disks \
  46. ${RPM_BUILD_ROOT}/usr/sbin/
  47. install -m 755 xybin.rb \
  48. ${RPM_BUILD_ROOT}/usr/sbin/xybin
  49. install -m 644 xybin.pam \
  50. ${RPM_BUILD_ROOT}/etc/pam.d/xybin
  51. install -m 644 xybin.consolehelper \
  52. ${RPM_BUILD_ROOT}/etc/security/console.apps/xybin
  53. ln -sf consolehelper \
  54. ${RPM_BUILD_ROOT}/usr/bin/xybin
  55. install -m 755 *.glade *.xybin \
  56. ${RPM_BUILD_ROOT}/usr/share/xybin/
  57. install -m 644 xybin.png \
  58. ${RPM_BUILD_ROOT}/usr/share/pixmaps/
  59. install -m 644 pixmaps/*.xpm \
  60. ${RPM_BUILD_ROOT}/usr/share/pixmaps/xybin/
  61. install -m 644 xybin.desktop \
  62. ${RPM_BUILD_ROOT}/usr/share/applications/
  63. %clean
  64. [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT}
  65. %files
  66. %defattr(-,root,root)
  67. %doc ChangeLog
  68. %dir /usr/share/xybin
  69. %dir /usr/share/pixmaps/xybin
  70. %config /etc/security/console.apps/xybin
  71. %config /etc/pam.d/xybin
  72. /usr/bin/xybin
  73. /usr/sbin/xybin
  74. /usr/sbin/list_all_disks
  75. /usr/share/xybin/*
  76. /usr/share/pixmaps/xybin.png
  77. /usr/share/pixmaps/xybin/*
  78. /usr/share/applications/*
  79. %changelog
  80. * Wed Sep 29 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.56-0vl1
  81. - replaced xybin.desktop file for gnome2
  82. * Wed Sep 29 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.55-0vl2
  83. - minor fixes
  84. * Sat Aug 28 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.55-0vl1
  85. - added Options
  86. - xybin.conf is not used anymore
  87. * Sun Sep 08 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.54-0vl1
  88. - fixed a bug to incorrectly designate "brokenosx"
  89. * Wed Mar 20 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.53-0vl1
  90. - check and set default linux entry if nothing is selected
  91. * Wed Mar 13 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.52-0vl1
  92. - Doh! One important line mistakenly removed. Restored.
  93. * Fri Mar 13 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.51-0vl1
  94. - added dialog box while scanning disks
  95. * Fri Mar 08 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.50-0vl1
  96. - first release for Vine Linux/ppc