blackbox-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. Summary: Blackbox - an X11 Window manager
  2. Summary(ja): Blackbox - X11 ウィンドウ・マネージャ
  3. Name: blackbox
  4. Version: 0.61.1
  5. Release: 0vl2
  6. Group: User Interface/Desktops
  7. Copyright: GPL
  8. Requires: wmconfig, xscreensaver
  9. Buildroot: %{_tmppath}/%{name}-root
  10. Source: ftp://portal.alug.org/pub/blackbox/0.6x.x/blackbox-%{version}.tar.bz2
  11. # sources/patches for vine.
  12. Source101: blackbox-menu-vine.in
  13. Source102: blackbox-menu-vine.ja.in
  14. Source103: blackbox-CleanVine_theme
  15. Patch100: blackbox-0.61.1-ja_nls.patch
  16. Patch101: blackbox-0.60.3-snap_to_edges.patch
  17. Patch102: blackbox-0.60.3-menu_extend-1.1.patch
  18. Patch103: blackbox-0.60.3-large_font.patch
  19. # XXX: This patch is too stupud patch for kinput2.
  20. Patch104: blackbox-0.60.3-kinput2.patch
  21. # patch for gcc-2.95.x
  22. Patch110: blackbox-0.60.3-gcc295.patch
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: Yasuyuki Furukawa <furukawa@vinelinux.org>
  26. %description
  27. Blackbox is yet another addition of the list of window managers
  28. for the Open Group's X Window System, Version 11 Release 6 and above.
  29. Blackbox is built with C++, sharing no common code with any other
  30. window manager (even though the graphics implementation is similar
  31. to that of Window Maker).
  32. This package's default menu is customized for Vine Linux.
  33. %description -l ja
  34. Blackboxは、Open Group の X ウィンドウシステム, X11R6以降用の
  35. ウィンドウ・マネージャの一つです。Blackboxは、他のウィンドウ・
  36. マネージャとの共通のコードを使用せずに、C++でスクラッチから書
  37. かれています。(Window Makerのグラフィックの実装を参考にしていま
  38. すが)
  39. また、このパッケージでは、デフォルトのメニューをVine Linux用に
  40. カスタマイズしています。
  41. %prep
  42. %setup -q
  43. %patch100 -p1 -b .ja_nls
  44. %patch101 -p1 -b .snap_to_edges
  45. %patch102 -p1 -b .menu_extend
  46. %patch103 -p1
  47. %patch104 -p1 -b .kinput2
  48. %patch110 -p1
  49. rm -f data/styles/*~ data/styles/*.orig
  50. cp %{SOURCE101} data/menu.in
  51. cp %{SOURCE102} data/menu.ja_JP.in
  52. touch aclocal.m4 Makefile.in */Makefile.in config.h.in
  53. rm -rf %{buildroot}
  54. %build
  55. ./configure --prefix=%{_prefix}
  56. CFLAGS="$RPM_OPT_FLAGS"
  57. make
  58. %install
  59. make prefix=%{buildroot}%{_prefix} install
  60. strip %{buildroot}%{_bindir}/* || :
  61. # recreate symbolic directories.
  62. # (use relative path instead of full path that is included "/var/tmp/..." )
  63. for lang in POSIX US_ASCII en en_US; do
  64. rm -f %{buildroot}%{_datadir}/Blackbox/nls/${lang}
  65. ln -s C %{buildroot}%{_datadir}/Blackbox/nls/${lang}
  66. done
  67. rm -f %{buildroot}%{_datadir}/Blackbox/nls/es
  68. ln -s es_ES %{buildroot}%{_datadir}/Blackbox/nls/es
  69. rm -f %{buildroot}%{_datadir}/Blackbox/nls/ja
  70. ln -s ja_JP %{buildroot}%{_datadir}/Blackbox/nls/ja
  71. # install my poor theme :)
  72. cp %{SOURCE103} %{buildroot}%{_datadir}/Blackbox/styles/CleanVine
  73. %clean
  74. rm -rf %{buildroot}
  75. %files
  76. %defattr(-,root,root)
  77. %doc AUTHORS ChangeLog*
  78. %doc INSTALL LICENSE README README.bbtools TODO
  79. %doc data/README data/README.menu data/README.style
  80. %{_datadir}/Blackbox/*
  81. %{_bindir}/*
  82. %changelog
  83. * Fri Mar 15 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.61.1-0vl2
  84. - rebuilt with glibc > 2.2
  85. * Sat Jul 28 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp>
  86. - updated to 0.61.1
  87. - modified ja_nls patch
  88. * Fri Aug 25 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  89. - modified poor kinput2 patch for mozilla
  90. * Fri Aug 18 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  91. - updated to 0.61.0
  92. - remove style_fix patch
  93. - added my poor CleanVine theme :)
  94. * Wed Jul 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  95. - 0.60.3-0vl2
  96. - added a small patch to work with gcc-2.95.x
  97. * Thu Jul 4 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  98. - first release for 0.60.3
  99. - replace menu files for vine.
  100. - added ja_nls patch for Japanese catalog and menu files.
  101. - added snap_to_edge and menu_extend patch from old 0.53.x
  102. - FIXME!! added very stupid kinput2 patch.
  103. - FIXME!! added temporary style_fix patch to prevend blackbox 0.60.3 style bug.