golem-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. #
  2. # this spec file is based on Momonga Project
  3. # see http://www.momonga-linux.org/
  4. #
  5. Summary: golem - an X11 Window Manager
  6. Name: golem
  7. Version: 0.0.5
  8. Release: 0vl1
  9. License: BSD
  10. Group: User Interface/Desktops
  11. Source0: http://telia.dl.sourceforge.net/golem/%{name}-%{version}.tar.gz
  12. Source1: session.golem
  13. Source2: http://www.rit.edu/~ads4260/golem004-taskbar-plugin.tar.gz
  14. Source3: golem-tasklist.tar.gz
  15. #Source4: http://poincare.ikezoe.net/sources/golem-0.0.5-tasklist-plugin.tar.gz
  16. Source100:startgolem
  17. Source101:xinitrc
  18. Source102:golemrc
  19. Source103:golemkeyrc
  20. Source104:simple_menus.rc
  21. #
  22. Patch0: %{name}-0.0.5-plugin.patch
  23. Patch1: %{name}-0.0.4-util.patch
  24. Patch2: %{name}-0.0.4-taskbar-ja.patch
  25. Patch3: %{name}-0.0.5-tasklist-ja.patch
  26. Patch4: %{name}-0.0.5-golem.install.in.patch
  27. Patch5: %{name}-0.0.5-simple_menus.patch
  28. Patch6: %{name}-0.0.5-screenshot_icons-0.02.patch
  29. Patch7: %{name}-0.0.5-pier.patch
  30. Patch100: %{name}-0.0.5-sample.golem-themes.patch
  31. Patch101: %{name}-0.0.5-pierrc.patch
  32. URL: http://golem.sourceforge.net/
  33. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  34. Requires: ImageMagick
  35. PreReq: /sbin/install-info
  36. %description
  37. Golem is an X11 Window Manager. Design goals are that it be fast
  38. and lightweight, as well as customizable in any way that will not
  39. prevent the first goal from being realized.
  40. %prep
  41. %setup -q
  42. %patch0 -p1 -b .plugin
  43. %patch1 -p1 -b .util
  44. tar zxf %{SOURCE2} -C plugins
  45. tar zxf %{SOURCE3} -C plugins
  46. #tar zxf %{SOURCE4} -C plugins
  47. %patch2 -p1 -b .taskbar-ja
  48. %patch3 -p1 -b .tasklist
  49. %patch4 -p1 -b .golem.install.in
  50. %patch5 -p1 -b .simple_menus
  51. %patch6 -p1 -b .screenshot_icons-0.02
  52. %patch7 -p1 -b .pier
  53. %patch100 -p1 -b .sample.golem-themes
  54. %patch101 -p1 -b .pierrc
  55. %build
  56. %configure --enable-i18n --enable-sound
  57. make host_type=%{_target_platform}
  58. %install
  59. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  60. mkdir -p $RPM_BUILD_ROOT/usr/share
  61. mkdir -p $RPM_BUILD_ROOT/usr/lib
  62. #make install prefix=$RPM_BUILD_ROOT datadir=$RPM_BUILD_ROOT/usr/share
  63. make install \
  64. prefix=$RPM_BUILD_ROOT \
  65. bindir=$RPM_BUILD_ROOT/usr/bin \
  66. libdir=$RPM_BUILD_ROOT/usr/lib \
  67. datadir=$RPM_BUILD_ROOT/usr/share \
  68. mandir=$RPM_BUILD_ROOT/usr/share/man \
  69. host_type=%{_target_platform}
  70. #mkdir -p $RPM_BUILD_ROOT/etc/X11/xinit/session.d
  71. #install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/X11/xinit/session.d/golem
  72. install -m 755 util/menu-ssh-hosts $RPM_BUILD_ROOT%{_datadir}/golem/
  73. install -m 755 %{SOURCE100} $RPM_BUILD_ROOT/usr/bin
  74. install -m 755 %{SOURCE101} $RPM_BUILD_ROOT%{_datadir}/golem
  75. install -m 644 %{SOURCE102} $RPM_BUILD_ROOT%{_datadir}/golem
  76. install -m 644 %{SOURCE103} $RPM_BUILD_ROOT%{_datadir}/golem
  77. install -m 644 %{SOURCE104} $RPM_BUILD_ROOT%{_datadir}/golem/plugins/simple_menus/rc
  78. %clean
  79. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  80. %files
  81. %defattr(-, root, root)
  82. %doc LICENSE PLUGINS README THEMES TODO
  83. /usr/bin/*
  84. /usr/lib/golem
  85. /usr/share/golem
  86. /usr/share/man/man1/*.gz
  87. %changelog
  88. * Sun Mar 21 2004 HAYASHI Kentarou <linjian@gigo-ice.org> 0.0.5-0vl1
  89. - customized rc files.
  90. - added screenshot_icons patch([golem-devel 2004/03/03] by Florian Forster)
  91. - added pier patch (support ad-hoc PNG format)
  92. * Sat Dec 27 2003 mutecat <mutecat@momonga-linux.org>
  93. - (0.0.5-3m)
  94. - tasklist mojibake kaishou
  95. * Mon May 27 2002 Junichiro Kita <kita@kitaj.no-ip.com>
  96. - (0.0.5-2k)
  97. - pakuri
  98. * Thu May 23 2002 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  99. - (0.0.5-0.1zoe)
  100. - up to 0.0.5
  101. - remove shade plugin
  102. * Sat Mar 23 2002 Junichiro Kita <kita@kitaj.no-ip.com>
  103. - (0.0.4-4k)
  104. - files: add menu-ssh-hosts
  105. - golem.install installs menu-ssh-hosts and doesn't create .xsession/.xinitrc.
  106. * Thu Mar 21 2002 Yasuhiro Takabayashi <kourin@kondara.org>
  107. - (0.0.4-2k)
  108. - kondaraization
  109. * Sat Feb 2 2002 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  110. - (0.0.4-14zoe)
  111. - added workspace and desktop change in tasklit plugin.
  112. * Tue Jan 29 2002 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  113. - (0.0.4-13zoe)
  114. - changed release tag. k->zoe.
  115. - added shade plugin.
  116. * Mon Jan 28 2002 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  117. - (0.0.4-12k)
  118. - fixed silly bug in tasklist plugin
  119. * Sun Jan 27 2002 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  120. - (0.0.4-11k)
  121. - added tasklist plugin
  122. * Sun Jan 20 2002 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  123. - (0.0.4-10k)
  124. - applied nomask patch
  125. * Wed Jan 16 2002 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  126. - (0.0.4-9k)
  127. - added japanized taskbar
  128. * Tue Jan 15 2002 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  129. - (0.0.4-8k)
  130. - fixed eBlueSteel theme for middle-click event
  131. * Sun Jan 13 2002 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  132. - (0.0.4-7k)
  133. - added middle-click event and shaded window feature
  134. * Sat Jan 12 2002 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  135. - (0.0.4-6k)
  136. - removed taskbar plugin.
  137. - rearranged japanese patch
  138. * Fri Dec 28 2001 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  139. - (0.0.4-5k)
  140. - added taskbar plugin.
  141. * Fri Dec 28 2001 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  142. - (0.0.4-4k)
  143. - japanized and some bug fix.
  144. * Wed Dec 12 2001 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  145. - fixed restart blackbox problem
  146. * Tue Dec 11 2001 Hiroyuki Ikezoe <zoe@kasumi.sakura.ne.jp>
  147. - version 0.0.4
  148. - kondarized.
  149. - fixed golem.install path problem
  150. * Thu Nov 01 2001 HamHam <blend@manabi.gr.jp>
  151. - apply a patch against the unprotected string on restarting window managers.
  152. * Wed Oct 31 2001 HamHam <blend@manabi.gr.jp>
  153. - version 0.0.3